Simple Machines Community Forum

General Community => Scripting Help => Topic started by: RoarinRow on April 11, 2006, 05:36:24 PM

Title: 500 Internal Server Error and PHP Script Errors
Post by: RoarinRow on April 11, 2006, 05:36:24 PM
Hi.  I am getting this very annoying '500 Internal Server Error' that comes at random, but enough to drive me crazy.

Error:
500 Internal Server Error
The server has encountered an internal error or misconfiguration and was unable to complete your request.

Modifications on my RC2-1 forum:
1. TinyPortal 0.86                         [ Uninstall ] [ List Files ] [ Delete ] 
2. SMF Arcade 1.2.4b                    [ Uninstall ] [ List Files ] [ Delete ] 
3. SigsAndStats1.2.4b 1.1              [ Uninstall ] [ List Files ] [ Delete ] 
4. vMulticolor-Stars Mod 0.96          [ Uninstall ] [ List Files ] [ Delete ] 
5. SMF 1.0.7 / 1.1 RC2 Update 1.0   [ Uninstall ] [ List Files ] [ Delete ] 

Latest entries in Error Script Log from server:
[10-Apr-2006 19:25:42] PHP Warning:  Unexpected character in input:  '' (ASCII=28) state=1 in /forum/index.php on line 148

[10-Apr-2006 19:25:42] PHP Warning:  Unexpected character in input:  '' (ASCII=15) state=1 in /forum/index.php on line 148

[10-Apr-2006 19:25:42] PHP Warning:  Unexpected character in input:  '' (ASCII=26) state=1 in /forum/index.php on line 148

[10-Apr-2006 19:25:42] PHP Parse error:  parse error, unexpected T_STRING in /forum/index.php on line 148
___

My line 148 is an empty line

Any suggestions?  Thanks!
Title: Re: 500 Internal Server Error and PHP Script Errors
Post by: Elmacik on April 11, 2006, 05:39:51 PM
Chmod your main http folder to 755 rather than 777.
(This is usually public_html or htdocs or similar..)
Title: Re: 500 Internal Server Error and PHP Script Errors
Post by: RoarinRow on April 11, 2006, 06:08:50 PM
Quote from: Elmacik on April 11, 2006, 05:39:51 PM
Chmod your main http folder to 755 rather than 777.
(This is usually public_html or htdocs or similar..)

I don't have permission to change my main folder, but I changed this Chmod on my 'forum' folder.