04132005 1338 GMT-6 When your page is put together, all the lines are added to one file. So if you have multiple require/include files, your final doc is pretty long.
Post the line that it says is the problem. Wade Riquez wrote: > On 21 May 2004, at 18:45, Riquez wrote: > > --- "Parse error: parse error in /script.php on line 29" --- > > Line 29 is never the 'right' line as i think php skips comments & line > > breaks etc > > Is there some way to make these errors report the right line? > > Can you help? > I wrote in with this request for help some time back, but I'm still > having problems. > > I use Apache + PHP 5 on Mac OS X > > Today I noticed a parse error quoted as line 118. > The 'actual' error was on line 24. > > It seems that PHP is counting the lines of require() files too. > > At work we use a Win 2003 server + PHP 5, it always accurately reports > the line number. > > Any ideas why I get wildly out-of-sync parse error line numbers? > What can I do to fix it? > > Thanks, > Riquez > > > > Community email addresses: > Post message: [email protected] > Subscribe: [EMAIL PROTECTED] > Unsubscribe: [EMAIL PROTECTED] > List owner: [EMAIL PROTECTED] > > Shortcut URL to this page: > http://groups.yahoo.com/group/php-list > > > ------------------------------------------------------------------------ > *Yahoo! Groups Links* > > * To visit your group on the web, go to: > http://groups.yahoo.com/group/php-list/ > > * To unsubscribe from this group, send an email to: > [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Anti-Virus. >Version: 7.0.308 / Virus Database: 266.9.8 - Release Date: 4/13/2005 > > [Non-text portions of this message have been removed] Community email addresses: Post message: [email protected] Subscribe: [EMAIL PROTECTED] Unsubscribe: [EMAIL PROTECTED] List owner: [EMAIL PROTECTED] Shortcut URL to this page: http://groups.yahoo.com/group/php-list Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-list/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
