rbender Posted May 4, 2013 Posted May 4, 2013 Hi, after a (must) move to a new server, I get error 500 if I want to edit the extra Info pages. Everything, really everything else works. The extra pages are also displayed on the website, well. With the move to the new server I had to change the charset to utf8. So, I had the DB in suspicion. But even if both tables (pages, pages description) are empty, I get the same error. Also, changing file rights to 777 does not fit the error. After hours, I do not know where else to look .... :-( Anyone here who can help. In use is version 2.3.2 with german patches. Ralf
Guest Posted May 4, 2013 Posted May 4, 2013 @@rbender Some editors require the path to be entered into a config.php file within the editors directory Chris
MrPhil Posted May 4, 2013 Posted May 4, 2013 Also, changing file rights to 777 does not fit the error. If your host is running suPHP or other security software that forbids access to "world writable" directories or files, you will get a 500 error. Never simply go and change directories to 777 -- start at 755 (typical for most servers) and if osC (PHP) can't write to it, try 775. Only as a last resort use 777. Now, how are you editing your files? Might your editor be leaving a blank line at the very beginning or end of a file? Being on 2.3.2, presumably you're not using osC 2.2's File Manager or Define Languages. They are a security hazard and should be gotten rid of immediately. Are you using a real editor and not Dreamweaver/Expression Web or Word? I thought the 2.3 series were already UTF-8. I'm confused when you say you had to change to UTF-8 because of the server -- MySQL's default encoding is Latin-1. UTF-8 will probably be better for you in the long run, so if you've changed over, no problem.
rbender Posted May 5, 2013 Author Posted May 5, 2013 @@Chris What did you mean with 'some editors'? The editor of osC? @@MrPhil I'm editing with notepad++ I think you both misunderstand me. Sorry for my unclear description. I'm getting the error in the osC Admin while I'm clicking at the 'Extra info Pages Manager'. Only there. All other working fine.
♥joli1811 Posted May 5, 2013 Posted May 5, 2013 Hi Ralf, Seem to remember I had a few problems as well . I would suggest you try replacing your admin/extra_info_pages.php with a different version http://addons.oscommerce.com/info/2021 There have been several bug fixes and updates to this file easy change maybe helps. Regards Joli To improve is to change; to be perfect is to change often.
rbender Posted May 5, 2013 Author Posted May 5, 2013 Hi Joli, can't believe it. Only change the file admin/extra_info_pages.php and IT WORKS. THX!!!!!! :) You made my day. But I don't understand what happend. Because I made a backup of the old server and restore it to the new one....
♥joli1811 Posted May 5, 2013 Posted May 5, 2013 Great :thumbsup: remember one file was badly coded guess your new server just picked up on that. Now you can get busy writing again haha. Regards Joli To improve is to change; to be perfect is to change often.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.