Search:

Type: Posts; User: huluganfantasy

Search: Search took 0.03 seconds.

  1. You can test it with any fatal error, Karl. For...

    You can test it with any fatal error, Karl. For example, if I add the line:

    <?php doesnt_exist();?>

    anywhere in any page, the page will render partially up to this line, then write the...
  2. This is the code that works in the development...

    This is the code that works in the development environment:


    <?php
    // Error handling
    function errorHandler($num, $str, $file, $line) {

    $text = "error...
  3. OK, I got an absolute path using "echo __DIR__"...

    OK, I got an absolute path using "echo __DIR__" And the shutdown_function logs the errors correctly now, but there is another problem :) :
    The user will see a blank page. I would like to redirect...
  4. I don't know if you changed anything, but...

    I don't know if you changed anything, but "error_reporting(0);" is working correctly for me now. I have written an error handler function as well as a register_shut_down function to catch fatal...
  5. In case I wasn't clear Karl. I want to see...

    In case I wasn't clear Karl. I want to see errors. Can you please tell me how I can do that WITHOUT also showing sensitive information to the general public.

    EDIT

    I just tested:
    ...
  6. Please read my post again Karl. I am not "hiding"...

    Please read my post again Karl. I am not "hiding" any problems. I want errors recorded in a log. I can easily check the log and fix any errors. I do not want errors displayed because it puts a map of...
  7. I need help preventing PHP errors from displaying in the browser

    How do I stop PHP errors from displaying to users?

    I've tried this code at the top of my PHP script:



    ini_set ('error_reporting', E_ALL ^ E_DEPRECATED);
    ini_set...
Results 1 to 7 of 7

SEO by vBSEO