Ask a Question related to PHP Development, Design and Development.
-
David T-G #1
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
-
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... -
[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... -
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... -
John W. Holmes #2
Re: [PHP] where are my errors?
David T-G wrote:
is display_errors ON for one machine and OFF for the other?> 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.
--
---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
-
David T-G #3
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
-
David T-G #4
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
-
Curt Zirzow #5
Re: [PHP] where are my errors?
* Thus wrote David T-G (davidtg-php@justpickone.org):
yeah you can get it from phpinfo() or use ini_get('display_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?
HTH,
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
Curt Zirzow Guest
-
David T-G #6
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



Reply With Quote

