Premature end of script headers in modules.php !

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Premature end of script headers in modules.php !
fuzioneer
CZ Newbie
 Codezwiz Site Donator
Status: Offline
Joined: Oct 31, 2003
0.00 posts per day
Posts: 8
Points: 3,384
   
I have suddenly started to get this when i am adding code and there is a syntax error

Basically instead of getting the standard php syntax error when i am missing a ; at the end of an echo line such as:-

Parse error: parse error, unexpected T_IF, expecting ',' or ';' in /home/admin/public_html/modules/testmod/index.php on line 418

I now get an internal server error 500, and when i dive into the error log i simply get the Premature end of script headers in modules.php error

Its driving me through the wall and making it very hard to debug any code issues now and in the future.

btw if i refer to the file in another way instead of [ Register or login to view links on this board. ]

and instead cut straight to the file by referring like this:- [ Register or login to view links on this board. ] the syntax checking error pops up ok !!

I tried overwriting modules.php but to no avail


HELPpppppppppppppppp



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,475
   
Whats the link to the site? Have you tried turning on error_reporting via htaccess to see if it shows any errors?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum