Advertisement:

Author Topic: 500 Internal Server Error and PHP Script Errors  (Read 3635 times)

Offline RoarinRow

  • Full Member
  • ***
  • Posts: 662
  • Gender: Male
  • Ride my AV!
    • Avalanche Style
500 Internal Server Error and PHP Script Errors
« 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!
« Last Edit: April 11, 2006, 05:47:17 PM by RoarinRow »

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3

Offline Elmacik

  • SMF Friend
  • SMF Hero
  • *
  • Posts: 8,247
  • Gender: Male
  • = Human Draft =
    • IT Store
Re: 500 Internal Server Error and PHP Script Errors
« Reply #1 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..)
Home of Elmacik

Offline RoarinRow

  • Full Member
  • ***
  • Posts: 662
  • Gender: Male
  • Ride my AV!
    • Avalanche Style
Re: 500 Internal Server Error and PHP Script Errors
« Reply #2 on: April 11, 2006, 06:08:50 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. 

SMF 2.0
TP 1.0 RC1.1
Wordpress 3.1.3