ryair Posted September 16, 2009 Posted September 16, 2009 Hi! I am a real OSC newby, and new to php as well! Its a steep learning curve! I'm getting an internal server error when viewing the shopping cart following an edit. I've looked up the server error log, and it states: Premature end of script headers: /home/f15tarn/public_html/store/shopping_cart.php SoftException in Application.cpp:252: File "/home/f15tarn/public_html/store/shopping_cart.php" is writeable by group I have uploaded the original unedited shopping_cart.php file, to no avail. Please help! The location of the store is www.tarnockgarage.co.uk/store/ if you need to view the actual file.
FIMBLE Posted September 16, 2009 Posted September 16, 2009 Make sure the permissions are set to 644 for this file, any higher will produce this error Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
ryair Posted September 16, 2009 Author Posted September 16, 2009 Thanks for your reply. Forgive my ignorance, but how do I set the permission?
FIMBLE Posted September 16, 2009 Posted September 16, 2009 Via FTP, conntect to your site, navigate to the file shopping_cart.php select it and right click on it find permissions or CHMOD in the menu that should drop down, then set to 0644 Via control panel (web host) Log in >> file manager >> navigate to file >> click it >> from the menu select permissions >> set to 0644 Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
ryair Posted September 16, 2009 Author Posted September 16, 2009 Thanks Nic. Worked a treat! Any ideas what I did wrong, to stop this happening again? Thanks again! :D
FIMBLE Posted September 16, 2009 Posted September 16, 2009 it happens now and then, just remember the cure to it in case it happens again Nic Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.