Troubleshooting
If you have got a problem in your script and your attempts at debugging have failed, you are probably at your wits end, ready to tear your hair out. This section of the book is designed to help you solve errors that you just have not been able to track down using normal debugging techniques.
Next chapter: Error types >>
Previous chapter: Options for Tidy
Jump to: Writing PHP The design process Analysing the requirements Designing the solution Developing the code Implementing the application Maintenance and support Which IDEs are good Line numbering Syntax highlighting Online help Code insight Interactive debugging Profiling Popular IDEs Laying out your files Directory structuring Group development How to develop code Version control Documenting your project Testing Distributing your code Charging for your work PHP Encoders Cross-platform code 1: Loading extensions Cross-platform code 2: Using extensions Cross-platform code 3: Path and line separators Cross-platform code 4: Coping with php.ini differences Cross-platform code 5 Debugging What is a bug? The most basic debugging technique Making assertions Triggering your own errors Source highlighting Handling MySQL errors Exception handling Backtracing your code Debuggers Custom error handlers Custom exception handlers Using @ to disable errors phpinfo() Debugging practice Coding style Comments and whitespace Variable naming Functions Distinguishing code blocks Output style Options for Tidy Troubleshooting Error types Choosing what types of errors you see Common errors Getting Help The documentation Mailing lists Websites IRC Conferences User groups Submitting a bug Contacting the author Getting qualified Summary Exercises Further reading Next chapter
Home: Table of Contents
Follow us on Identi.ca or Twitter