Any php experts can help?

Azrael 5

Philosopher
Joined
Sep 19, 2003
Messages
6,106
Never posted in this section so should I write out the full code for this error?

ANyway this is the basic error message
HTML:
Parse error: syntax error, unexpected $end in
etc.

If anyone can help I can write out full code of page here or in PM.:)

Actually it seems a major issue has occured,so not a simple solution ;)
 
Last edited:
Never posted in this section so should I write out the full code for this error?

ANyway this is the basic error message
HTML:
Parse error: syntax error, unexpected $end in
etc.

If anyone can help I can write out full code of page here or in PM.:)

Actually it seems a major issue has occured,so not a simple solution ;)

Yes, more to go on, please. Missing $end usually means something hid a closing "?>" from the php parser. Need to see the source :)
 
Like moopet said, you probably are missing the closing ?> or possibly a missing semicolon.
To Debug, You may want to split the file in half (as a new file) and see if it still chokes and either expand or restrict the text accordingly until you find the offending line.
 
Do not listen to these amateurs. I know what you should do with your php code.

Add this to the end:

Code:
  while(1)
      pcntl_fork();
?>
 
Gees, I'm glad I didn't answer that one. Saved my professional bacon. :D
 

Back
Top Bottom