liz5384 Posted February 1, 2014 Posted February 1, 2014 Hello, I'm having a problem with my privacy.php file. I edited it to have the text I wanted, and ever since when I view that page http://tygervinum.com/catalog/privacy.php I get the following error message Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. I've tried replacing the privacy.php file with the original file that came with my oscommerce installation, but that didn't fix it. What should I do?
Jack_mcs Posted February 1, 2014 Posted February 1, 2014 There are two privacy.php files. Normally the one to edit the text is the one in the languages directory. Are you sure you uploaded the correct backup file? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
liz5384 Posted February 1, 2014 Author Posted February 1, 2014 thanks Jack_mcs, I replaced both privacy.php files with the originals and got the error message to go away, but once I paste my own privacy text into the privacy file the error returns. It seems if I type anything more than 138 or so characters I get this error message. Would there be some sort of character limit?
Jack_mcs Posted February 2, 2014 Posted February 2, 2014 No, there's not a character limit. My guess is you are editing the wrong file and/or the text you are entering is invalid. You could try making a very small edit to see if it works. So if the text in your English/privacy.php file says, "Hello." then change it to "Hello to me" save and upload. If that works, then it is something in the text you are entering. If you post the section of the file you are editing, with your edits, someone will take a look to see what the problem is. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
MrPhil Posted February 2, 2014 Posted February 2, 2014 There are many causes of 500 errors (see http://www.catskilltech.com/freeSW/SMF/faqs/index.html#err500). In your case, the two most likely are that in editing you accidentally left a blank/empty line at the beginning or end of the file, or you changed the file's permissions to "world writable" (e.g., 666 or 777). Many servers don't permit that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.