Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-10-2004, 10:34 AM   #1
Mr. Mike
Confirmed User
 
Join Date: Aug 2004
Posts: 913
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.
__________________
Sig for sale. ICQ: 163-545-054
Mr. Mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2004, 11:02 AM   #2
Doc911
Confirmed User
 
Join Date: Feb 2004
Location: If i was up your ass you'd know
Posts: 3,695
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
__________________


For PHP/MySQL scripts ICQ 161480555 or email [email protected]
Doc911 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2004, 12:30 PM   #3
Mr. Mike
Confirmed User
 
Join Date: Aug 2004
Posts: 913
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.
__________________
Sig for sale. ICQ: 163-545-054
Mr. Mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2004, 12:36 PM   #4
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
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
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2004, 12:39 PM   #5
Mr. Mike
Confirmed User
 
Join Date: Aug 2004
Posts: 913
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
__________________
Sig for sale. ICQ: 163-545-054
Mr. Mike is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-10-2004, 12:43 PM   #6
natkejs
Confirmed User
 
Industry Role:
Join Date: Jan 2003
Location: Nomad Land
Posts: 1,629
try putting this in the beginning of your file...



error_reporting(E_ALL);
__________________
natkejs is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.