Error 500: Script Execution Failure

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
lanzelot
Posts: 4
Joined: Sat Dec 20, 2008 4:27 am

Error 500: Script Execution Failure

Post 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.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
lanzelot
Posts: 4
Joined: Sat Dec 20, 2008 4:27 am

Post 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!!!
lanzelot
Posts: 4
Joined: Sat Dec 20, 2008 4:27 am

Post by lanzelot »

the files are automatically created with a 644 permission....

Those are the ones giving the 500 error!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
lanzelot
Posts: 4
Joined: Sat Dec 20, 2008 4:27 am

Post by lanzelot »

2 Euros always helps for a beer!

Thank you!
Locked