Miscellaneous

  Home arrow Miscellaneous arrow Page 3 - PHP Debugging Tutorial
MISCELLANEOUS

PHP Debugging Tutorial
By: Codewalkers
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2002-07-26

    Table of Contents:
  • PHP Debugging Tutorial
  • Coding Style Primer
  • Common Errors
  • Your Arsenal
  • In closing

  •  
     

    SEARCH CODEWALKERS

    TOOLS YOU CAN USE

    advertisement

    PHP Debugging Tutorial - Common Errors


    (Page 3 of 5 )

    Parse error: parse error, unexpected ?????? in ???????????? on line ???

    If that error does not look familiar, you obviously haven't been coding much. Or you've always been really meticulous about your semicolons. I have found the major cause of this error popping up to be semicolons. Other common cause - forgetting the . when concatcenating strings ($str = "sh# "$str;).

    Fatal error: Call to undefined function: ??????() in ?????????????? on line ???

    This is a simple one, sometimes it's simply a misspelling on your part (remember those naming conventions?) or more commonly that you simply haven't included the file that contains the function

    Parse error: parse error, unexpected ? in ?????????? on line 265

    How can this be when the file is only 264 lines long? You've forgotten to close a brace '}' somewhere in your code. Get yourself a editor that can show you where the brace/bracket starts/ends when your cursor is on it. Also, with proper auto-indenting, this should never be an issue.

    I know, there are not many common errors here at the moment, but I'll update as I remember more.

    More Miscellaneous Articles
    More By Codewalkers

    blog comments powered by Disqus

    MISCELLANEOUS ARTICLES

    - Oracle Database XE: Indexes and Sequences
    - Modifying Tables in Oracle Database XE
    - Oracle Database XE: Tables and Constraints
    - More on Oracle Databases and Datatypes
    - Oracle Database XE Datatypes: Datetime and L...
    - Oracle Database XE Datatypes: Character and ...
    - From Databases to Datatypes
    - Firefox 3.6.6 Released with Improved Plug-in...
    - Attention Bloggers: WordPress 3.0 Now Releas...
    - Reflection in PHP 5
    - Inheritance and Other Advanced OOP Features
    - Advanced OOP Features
    - Linux from Scratch V.6.6 Review
    - Linux Gaining in Strength
    - Install Slackware on Your Old PC


    © 2003-2012 by Developer Shed. All rights reserved. DS Cluster 7 - Follow our Sitemap