LinuxUK
   Home About us Design services Get in Touch Testimonails Create and account / Log in
Categories
 Templates

 Security checks

 Support Club

 Tips and Tricks

 How to guides osC

 My Contributions

 osCommerce versions

 Base64 Decoder

 Link to us!

Error Reporting
Product stats Product Stats
Products name Product Name: Error Reporting
Products info Product description

Ever been working on your store, installing a contribution, amending files only to go to the page and be presented with a blank page??

This means that your host has suppressed error reporting, so there is an error but you can’t see it not very helpful to debugging is it!
You have two ways to see the error
  • Use your server error logs; they will be available from within you Web hosts control panel.
  • The code way.
Some hosts do not allow you access to the error logs especially if you are on a shared server; in this case you are stuffed! or are you
You can go the code way, there are many different codes you can use, but normally all you need is to place the following in the <?php tags at the top of the file you are having a problem with,
 
ini_set('display_errors',1);
error_reporting(E_ALL);
 
this code will print to your screen the error causing the page to be blank, its also easier than delving through error logs!

Reviews

Error Reporting - TITLE_DEL_ICIO_US Error Reporting - TITLE_DIGG Error Reporting - TITLE_YAHOO_MYWEB Error Reporting - TITLE_SPURL Error Reporting - TITLE_FURL Error Reporting - TITLE_ASK Error Reporting - TITLE_SQIDOO Error Reporting - TITLE_SIMPY Error Reporting - TITLE_REDDIT Error Reporting - TITLE_MA_GNOLIA Error Reporting - TITLE_FACEBOOK_BOOKMARK Error Reporting - TITLE_GOOGLE_BOOKMARK