[FX.php List] Suggestions on finding parse errors in long PHP pages

Leo R. Lundgren leo at finalresort.org
Wed Nov 28 11:37:27 MST 2007


Perhaps there is a way, but as it doesn't happen too often I tend to  
just do some basic error_log('yada') or similar (depends on the  
situation what you can do), and see how far down I can go before the  
*real* error cuts in before my dummy error in the logs.

-|


28 nov 2007 kl. 19.21 skrev Bob Patin:

> I have a form that has embedded PHP all the way down, on approx. 40  
> survey questions; now that I managed to get to the bottom of the  
> form and test it, I'm getting a parse error.
>
> The problem is that the error msg. lists a line that isn't relevant  
> to the actual lines of the code; do you guys have a way to take the  
> parse error line # and interpolate it so that it shows the actual  
> error line?
>
> Thanks,
>
> Bob Patin
> Longterm Solutions
> bob at longtermsolutions.com
> 615-333-6858
> http://www.longtermsolutions.com
> Member of FileMaker Business Alliance and FileMaker TechNet
>
>   CONTACT US VIA INSTANT MESSAGING:
>      AIM or iChat: longterm1954
>      Yahoo: longterm_solutions
>      MSN: tech at longtermsolutions.com
>      ICQ: 159333060
>
> --------------------------
> Contact us for FileMaker hosting for all versions of FileMaker
> PHP • CDML • Full email services • Free DNS hosting • Colocation •  
> Consulting
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list



More information about the FX.php_List mailing list