![]() |
![]() |
![]() |
||||
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. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Aug 2004
Posts: 913
|
Quote:
__________________
Sig for sale. ICQ: 163-545-054 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
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 ![]()
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
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 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
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);
__________________
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |