GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   php error display help please (https://gfy.com/showthread.php?t=369821)

Mr. Mike 10-10-2004 10:34 AM

php error display help please
 
What line do I need to type to display the specific error on the page? I know Im just missing a quote or comma somewhere but I cant find it.

Thanks for any help.

Doc911 10-10-2004 11:02 AM

when you run the script the server will display the error and the line the error occurs on. simply go to that line in your file and fix the problem.

remember to look before the line as the mistake could be above the actual line number

Mr. Mike 10-10-2004 12:30 PM

Quote:

Originally posted by Doc911
when you run the script the server will display the error and the line the error occurs on. simply go to that line in your file and fix the problem.

remember to look before the line as the mistake could be above the actual line number

Yes, but there is a code you can enter that will tell you exactly what you're missing and where. The standard error just tells you the type and line its at.

natkejs 10-10-2004 12:36 PM

I've never heard of such a code.

Read the PHP manual about error messages and you'll be fine.
Since it gives you the line # it's really not that hard to figure out... good practising :)

Mr. Mike 10-10-2004 12:39 PM

ugh, its a little more complicated than just looking at the line, too long to explain..

anyone know this or what? Its like echo lineError or some shit

natkejs 10-10-2004 12:43 PM

try putting this in the beginning of your file...



error_reporting(E_ALL);


All times are GMT -7. The time now is 10:25 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123