Page 1 of 1

Error 500: Script Execution Failure

Posted: Sat Dec 20, 2008 4:44 am
by lanzelot
Script URL: http://gravity.speekco.com/login/mboard
Version of script:1.3
Hosting company:awardspace.com
What terms did you try when SEARCHING for a solution: 500

Write your message below:

This is the error I'm getting when I'm trying to read an posted message:

[gravity.speekco.com] [Sat Dec 20 04:23:42 2008] [error] [client 71.195.23.209] Premature end of script headers: 3.html, referer: http://gravity.speekco.com/login/mboard/mboard.php
Error 500: Script Execution Failure


All the permissions are set right for count, threat, and msg folder. I read somewhere in google that award space takes up to 755 permisions but I'm not sure if that is right...

No idea where else to go with 2.html and 3.html

thanks.

Posted: Sat Dec 20, 2008 11:54 am
by Klemen
Funny that http://gravity.speekco.com/login/mboard/msg/6.html works. Not sure what the problem is but it's definitely a server side setting problem. Try to FTP to your server inside the msg folder and see why 6.html differs from other files; do other files exist in the msg folder? Does it have a different permissions set? Is there some extra code added inside other files?

Posted: Sat Dec 20, 2008 3:43 pm
by lanzelot
Klemen, sorry I made some modifications to the site after posting my message.

the file 6.html I manually changed the permission to 755, that is the only way I can make them work, but ideally that should be an automatic processs...

awardspace does not take 777 permission. the highest they take is 755, so my folder msg is 755. they say it should be the same...

My idea is that every time somebody creates a new post the new #.html file should have the permissions of the folder that it should be 755 or similar...

Not really sure if explaining myself right, but what I know for sure is that I cannot change every #.html file manually...

Is there something on the script that every #.html gets save with 755 permission automatically? or at least with the same permission as the msg folder?

thanks for your fast response!!!

Posted: Sat Dec 20, 2008 3:53 pm
by lanzelot
the files are automatically created with a 644 permission....

Those are the ones giving the 500 error!

Posted: Sat Dec 20, 2008 4:48 pm
by Klemen
644 is a normal setting for HTML files, no idea why your host would have problems with that.

Try adding this

Code: Select all

chmod($newfile,0755);
above

Code: Select all

unset($content);
in mboard.php and see if it helps on new posts.

Posted: Sat Dec 20, 2008 5:18 pm
by lanzelot
2 Euros always helps for a beer!

Thank you!