PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old November 13th, 2002, 01:54 PM
littleblackdog littleblackdog is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Anchorage
Posts: 118 littleblackdog User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Errors in PHP...

I realize most of the errors are my doing, but I just can't get around them. Is there any place that explains all the errors, like the different types fo parse errors, syntax errors, etc.? I predict that ane error could mean many different things, but to know what an error means in general would be helpful to trouble shoot the code.

I've read some great tutorials, like the one here on trouble shooting, but they didn't list common errors.

Thanks to all.
__________________
bow wow!

Reply With Quote
  #2  
Old November 13th, 2002, 05:33 PM
JayeshJain JayeshJain is offline
Contributing User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2002
Location: Auckland,New Zealand
Posts: 31 JayeshJain User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Sorry Mate,

You have to learn those error by trial and error
at least I coudnt find any document which lists
the standard error

but one common mistake i know is if you dont
terminate the statement with ; ( semicolon)
php considers all the following statement as one
statement till it encounters a ;
and hence it reports a wrong error than what it should,
but most of the time the error message is self
explaining

Hope this help

Cheers
Jayesh Jain
__________________
Cheers

Jayesh Jain

Reply With Quote
  #3  
Old November 13th, 2002, 10:32 PM
Ben Rowe
Guest
Dev Articles Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
Also anther tip is....


if it says the errors on line 200 and 200 looks fine, look at the line of code before that. That catches alot of people out.

Reply With Quote
  #4  
Old November 14th, 2002, 12:47 AM
wAr-AnGeL wAr-AnGeL is offline
Forum Security
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: Behind You
Posts: 479 wAr-AnGeL User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m 50 sec
Reputation Power: 7
Send a message via ICQ to wAr-AnGeL Send a message via AIM to wAr-AnGeL
remember to close your curly braces { } and properly format & indent them to easily see where you're missing one
__________________




"Only Linux users see the end of crashes."
- Pl4t0

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > Errors in PHP...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT