Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 4 of 4

This is a discussion on PHP5 error reporting in the Shared & Semi-Dedicated forum
Hi, I'm using PHP5 on my shared host by using a htaccess file in my root. I havent noticed much difference from PHP4, except that ...

  1. #1
    JPC Member
    Join Date
    Apr 2006
    Posts
    48

    PHP5 error reporting

    Hi,

    I'm using PHP5 on my shared host by using a htaccess file in my root. I havent noticed much difference from PHP4, except that now error reporting is turned off. Any parse error just leaves the php page blank. I've used "error_reporting(E_ALL)" on the first line of code in my php page but that isnt making any difference, the page is still showing blank. Its frustrating not knowing where the error is on the page. Anybody know a remedy to this?

    Thanks.

  2. #2
    Community Leader jason's Avatar
    Join Date
    Sep 2001
    Location
    Rochester, NY
    Posts
    6,003
    Try also setting display_errors to 1.

    In your script use Ini_set('display_errors', 1); or set the directive in a local php.ini file.

    --Jason
    Jason Pitoniak
    Interbrite Communications
    www.interbrite.com www.kodiakskorner.com

  3. #3
    JPC Member
    Join Date
    Apr 2006
    Posts
    48
    It didnt work :/

    Thanks for your help though.

  4. #4
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,307
    I also seem to be having difficulty getting error reporting to work as expected. I *must* be missing something...
    Good luck

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •