where are my errors?

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default where are my errors?

    Hi, all --

    My partner and I have done something that gets rid of our error messages,
    and we're not quite sure what. The identical code base (I copied it over
    myself; I'm sure) worked "fine" on another supposedly-identical RH Linux
    machine.

    The basic stub for our code looks like

    $ENGINE_VER="dev" ;
    require "include/config.php" ;
    require "$ENGINE_PATH/file-to-include.php" ;

    where 'file-to-include' is whatever we really want (in this case it is
    'survey').

    If I put a simple typo like

    printt "oops" ;

    into the ENGINE_PATH copy I nonetheless do not get any error message.
    Now, if I put that into the stub even as the last line I *do* get an
    error message, so they are not *entirely* gone.

    If I do not require 'include/config.php' and instead manually define
    the ENGINE_PATH then I see the error no matter where it is placed.

    What kind of call would suppress error messages from a require()d file?
    I don't know his codebase, and he's never seen anything like this before,


    TIA & HAND

    :-D
    --
    David T-G * There is too much animal courage in
    (play) [email]davidtg@justpickone.org[/email] * society and not sufficient moral courage.
    (work) [email]davidtgwork@justpickone.org[/email] -- Mary Baker Eddy, "Science and Health"
    [url]http://justpickone.org/davidtg/[/url] Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.7 (FreeBSD)

    iD8DBQE/M64sGb7uCXufRwARAhYYAJ9moDfKnDKAL4FYCds50e1ErGG3Wg CgjrWz
    pZlr+z7Hh8b+ro0qTt4MYRE=
    =VDSQ
    -----END PGP SIGNATURE-----

    David T-G Guest

  2. Similar Questions and Discussions

    1. CF4.5 Errors in logs and Unix 111 errors!
      :confused; Hi All, I have been getting a lot of Unix 111 errors and there are various errors in my coldfusion logs. I can't find any resources...
    2. ASP errors
      Since upgrading to Windows 2003 Server from Windows 2000 Enterprise Server we have had alot of ASP problems. The problems are centered around asp...
    3. supress errors at the page level? Undefined index errors.
      I'm creating a simple reply form, and if a form item isn't answered I get an error: "Notice: Undefined index: rb_amntspent in...
    4. [PHP] where are my errors?
      Hi, all -- I'll try this again now that I've gotten one question answered... My partner and I have done something that gets rid of our error...
    5. Pop-up window errors:"translators not loaded due to errors"
      I keep getting pop-up windows when using DWMX....any suggestions as to how to fix this type of error? The pop-up says: at line 16...
  3. #2

    Default Re: [PHP] where are my errors?

    David T-G wrote:
    > Hi, all --
    >
    > My partner and I have done something that gets rid of our error messages,
    > and we're not quite sure what. The identical code base (I copied it over
    > myself; I'm sure) worked "fine" on another supposedly-identical RH Linux
    > machine.
    is display_errors ON for one machine and OFF for the other?

    --
    ---John Holmes...

    Amazon Wishlist: [url]www.amazon.com/o/registry/3BEXC84AB3A5E/[/url]

    PHP|Architect: A magazine for PHP Professionals – [url]www.phparch.com[/url]




    John W. Holmes Guest

  4. #3

    Default Re: [PHP] where are my errors?

    John --

    ...and then John W. Holmes said...
    %
    % David T-G wrote:
    %
    % >My partner and I have done something that gets rid of our error messages,
    % >and we're not quite sure what. The identical code base (I copied it over
    % >myself; I'm sure) worked "fine" on another supposedly-identical RH Linux
    % >machine.
    %
    % is display_errors ON for one machine and OFF for the other?

    Not sure how to tell; remember that I get errors when I don't include his
    config.

    Does that show up in phpinfo() output?


    Thanks & TIA & HAND

    :-D
    --
    David T-G * There is too much animal courage in
    (play) [email]davidtg@justpickone.org[/email] * society and not sufficient moral courage.
    (work) [email]davidtgwork@justpickone.org[/email] -- Mary Baker Eddy, "Science and Health"
    [url]http://justpickone.org/davidtg/[/url] Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.7 (FreeBSD)

    iD8DBQE/M80QGb7uCXufRwARAslKAKCBJIrOzoyX58jxmKyQat0IQi6rRA Cgi1E0
    DQLZT5/NRKzTxTXBijyWbeo=
    =eSi6
    -----END PGP SIGNATURE-----

    David T-G Guest

  5. #4

    Default Re: [PHP] where are my errors?

    John, et al --

    ...and then David T-G said...
    %
    ...
    % Does that show up in phpinfo() output?

    Well, apparently so, and apparently it is. I specifically called phpinfo()
    from the require()d file to make sure I'd pick up the value at the time
    rather than just what's in php.ini and it seems that's not what we've
    tanked.


    TIA & HAND

    :-D
    --
    David T-G * There is too much animal courage in
    (play) [email]davidtg@justpickone.org[/email] * society and not sufficient moral courage.
    (work) [email]davidtgwork@justpickone.org[/email] -- Mary Baker Eddy, "Science and Health"
    [url]http://justpickone.org/davidtg/[/url] Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.7 (FreeBSD)

    iD8DBQE/M84dGb7uCXufRwARAt/hAJ9v8d6FXOnnOwGww6hDS6mUxjO7GwCcDRE6
    ORuYbtjxSpXMhjGwIR5vT6Y=
    =HYHm
    -----END PGP SIGNATURE-----

    David T-G Guest

  6. #5

    Default Re: [PHP] where are my errors?

    * Thus wrote David T-G (davidtg-php@justpickone.org):
    > John --
    >
    > ...and then John W. Holmes said...
    > %
    > % David T-G wrote:
    > %
    > % >My partner and I have done something that gets rid of our error messages,
    > % >and we're not quite sure what. The identical code base (I copied it over
    > % >myself; I'm sure) worked "fine" on another supposedly-identical RH Linux
    > % >machine.
    > %
    > % is display_errors ON for one machine and OFF for the other?
    >
    > Not sure how to tell; remember that I get errors when I don't include his
    > config.
    >
    > Does that show up in phpinfo() output?
    yeah you can get it from phpinfo() or use ini_get('display_errors')


    HTH,

    Curt
    --
    "I used to think I was indecisive, but now I'm not so sure."
    Curt Zirzow Guest

  7. #6

    Default Re: [PHP] where are my errors?

    Hi, all --

    ...and then John W. Holmes said...
    %
    % David T-G wrote:
    %
    % >My partner and I have done something that gets rid of our error messages,
    ...
    %
    % is display_errors ON for one machine and OFF for the other?

    Now that I've confirmed that display_errors is on (1), are there any
    other ideas?


    TIA & HAND

    :-D
    --
    David T-G * There is too much animal courage in
    (play) [email]davidtg@justpickone.org[/email] * society and not sufficient moral courage.
    (work) [email]davidtgwork@justpickone.org[/email] -- Mary Baker Eddy, "Science and Health"
    [url]http://justpickone.org/davidtg/[/url] Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.0.7 (FreeBSD)

    iD8DBQE/M+qlGb7uCXufRwARAl3KAJ4qHSoHKPURguGX0YyjSrdLOT+cYg CgyqDG
    G3tOwUgPqrHXYjRWiySxRcw=
    =eZKi
    -----END PGP SIGNATURE-----

    David T-G Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139