Ask a Question related to PHP Development, Design and Development.
-
David T-G #1
[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 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. I've
checked phpinfo() and 'display_errors' is On.
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/NAOmGb7uCXufRwARAohIAKC9jYFZzs+sFEex00hM+yT2xRGyXQ CeMhU6
0OwYTPsCk6adWitTAhPqb74=
=0jMN
-----END PGP SIGNATURE-----
David T-G Guest
-
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... -
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... -
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... -
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... -
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...



Reply With Quote

