Re: Re: PARSE ERROR: line number listed is n+1?!?
| From: | DjNA) | Date: | Fri, 14 Sep 2001 10:28:24 +0000 |
| Subject: | Re: Re: PARSE ERROR: line number listed is n+1?!? | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9354@lists.php.net to get a copy of this message | ||
If it is a problem with the paser, then why not try a really basic PHP file (just "<?php phpinfo() ?>") and see what happens. Then maybe start to recreate the file bit by bit. If it falls over on <?php phpinfo() ?> then you know that's cause the problem and you may have to go and check the php.ini
At 16:09 13/09/2001 -0700, leo g. divinagracia iii wrote:
yeah... that's what i thought too. so i went and checked stuff. even doubled made sure that the closing "?>" was retyped. wouldnt the PHP.EXE catch that and report diff error, if it were a bracket or something? well i'll over the thing again. guess i'll print it instead of staring at a screen, scrolling up... down... for an hour or so... ;-( Hugh Bothwell wrote: "Leo G. Divinagracia III" <ldivinag@csuhayward.edu> wrote in message news:3BA11997.F1AF8EAA@csuhayward.edu.../*** * Jonathan Wright * DjNAuk * mail@djna.fsnet.co.uk * ICQ 21961373 ***/so i write this script. all syntax errors are taken care of. but now i get a PARSE ERROR wit the line number given as one more than the total number of lines. for example, there's a total of 100 lines in the script. and the error message is PARSE ERROR: 101 line. i check to make sure there are no "phantom" lines after the last one. nothing. anyone else run into this before?The interpreter is surprised that the file has ended, it still expects something - maybe you left out a closing bracket somewhere. -- Leo G. Divinagracia III ldivinag@csuhayward.edu -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net