RE: [PHP] To many connections error message



Hi Pinter:
Look at your php.ini file for the sentence
error_reporting = E_ALL
this mean that your server shut to your browser any error or warning that it
found in your php code. You must go to your php.ini and change that sentence
for any that disables all warnings.
You can use for example a combination of next:
E_ERROR - fatal run-time errors
E_WARNING - run-time warnings (non-fatal errors)
E_PARSE - compile-time parse errors
E_NOTICE - run-time notices (these are warnings which often result
from a bug in your code, but it's possible that it was
intentional (e.g., using an uninitialized variable and
relying on the fact it's automatically initialized to an
empty string)
E_STRICT - run-time notices, enable to have PHP suggest changes
to your code which will ensure the best
interoperability
and forward compatability of your code
E_CORE_ERROR - fatal errors that occur during PHP's initial startup
E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
initial startup
E_COMPILE_ERROR - fatal compile-time errors
E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
E_USER_ERROR - user-generated error message
E_USER_WARNING - user-generated warning message
E_USER_NOTICE - user-generated notice message

An example:
error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
this shows only all error types.

Sl2,
Richard
______________________________________
Eduardo Ricardo Hernández Osorio
Esp. "C" en Ciencias Informáticas
Grupo Informática, U.T.B Serv. Aeronáuticos
Aeropuerto Internacional "Frank País García"
Tel. (53)(24)(47 4569)
email: ricardo@xxxxxxxxxxxxxxxxxxxx

Airport´s Telephones: (53) (24) 462512, 474525, 474583 Ext: 4569


-----Mensaje original-----
De: Pintér Tibor [mailto:tibyke@xxxxxxxxx]
Enviado el: Tuesday, January 23, 2007 7:56 PM
Para: Chris
CC: php
Asunto: Re: [PHP] To many connections error message

Chris írta:
Pintér Tibor wrote:
@, or ask your hoster to disable display_errors

That can be done in the script ;)

ini_set('display_errors', false);

Sure it can, but its a lame host that enables displaying of errors by
default, thats why I advised to ask them to disable it globally :)

btw: Although display_errors may be set at runtime (with *ini_set()*
<http://hu.php.net/manual/hu/function.ini-set.php>), it won't have any
affect if the script has fatal errors. This is because the desired
runtime action does not get executed.

t

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
.



Relevant Pages

  • Re: Questions About Upgrading to dependency based boot
    ... script behind, package dovecot-common removed but not purged, package ... overrides, insserv: warning: script 'K01nxsensor' missing LSB tags ...
    (Debian-User)
  • "Malicious script" upon opening Help & Support center
    ... MaliciousScript detected ... Your computer is halted and needs to do something about this script ... As long as I don't press the OK button on the Norton warning, ... calling an HTA file to do its tasks. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: "Malicious script" upon opening Help & Support center
    ... > to use help, do I choose "authorize this script" (which I interpret to mean, ... there appears a warning from Norton: ... >>> MaliciousScript detected ... >>> calling an HTA file to do its tasks. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Required Fields and Warning Boxes
    ... warning box to appear asking the user "are you sure you want to make ... field and shows the confirmation box but the information in the form ... Second Script: When I create a separate function with "are you sure ... Note that onSubmit wants a true or false value from the returning ...
    (comp.lang.javascript)
  • Re: [PHP] Hide Warnings
    ... warnings in the php script code? ... When you have an error in your script it shows potential bad ... sql statement please tamper with it). ... Maybe if you don't know how to fix the warning you received you ...
    (php.general)