b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Developer Reference
  3. Debugging
  4. Viewing PHP errors

Viewing PHP errors

PHP writes all its errors into a log file which depends on your particular setup. It will typically be called error.log. It may be a good idea to ask your web host where you can check the contents of this file.

Besides this, it may be easier to have PHP just print out its errors on the screen (web page). This is disabled by default on many systems.

You can enable it in your php.ini file.

You may also enable it in your .htaccess File like this:

php_flag display_errors On
php_value error_reporting E_ALL

Finally, check your _advanced.php configuration file for the following:


/**
 * Do we want to display errors, even when not in debug mode?
 *
 * You are welcome to change/override this if you know what you're doing.
 * This is turned out by default so that newbies can quote meaningful error messages in the forums.
 */
$display_errors_on_production = true;

If in doubt, make sure this value is true and not overridden in _local.php.

Created by fplanque • Last edit by fplanque on 2020-06-09 00:25 • •

No feedback yet

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
    • Website Skins/Themes
    • Email Skins/Themes
    • b2evolution Files
    • Website Integration
    • Plugins
    • Debugging
      • Using Multiple Domains
      • Crumbs (nonces)
      • Setting up a multidomain test environment
      • Ajax Debug Log
      • Debugging
      • Viewing PHP errors
      • Dev Menu
    • Technical Reference
    • Hacks
    • Credits
    • Development
    • How to... (Customize)
    • Scheduled Tasks Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Photo gallery software

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque