Debugging & problem solving

Introduction

Your code should not produce any PHP warnings or notices during normal usage. This primarily implies that all variables must be defined before being used. It also implies that a corrupted installation may produce errors, although as far as practicable the code should accommodate this.

By default, all PHP errors, warnings and notices are suppressed and not visible to the public. You can use debugging to show them.

A blank page or a page that has not been fully loaded, usually indicates a PHP fatal error. Server logs (such as Apache Error Logs) often also provide useful information.

Browser addon

Example: yourwebsite.com/news.php?[debug=basic!]

Debug modes

As of e107 v2.3.1 - the + sign has been changed to an exclamation mark !. For example: [debug=basic!] instead of [debug=basic+]

Last updated