note 85096 added to function.error-reporting
| From: | info at hephoz dot de | Date: | Thu, 14 Aug 2008 13:34:33 +0000 |
| Subject: | note 85096 added to function.error-reporting | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143494@lists.php.net to get a copy of this message | ||
If you just see a blank page instead of an error reporting and you have no server access so you
can't edit php configuration files like php.ini try this:
- create a new file in which you include the faulty script:
<?php
error_reporting(E_ALL);
ini_set("display_errors", 1);
include("file_with_errors.php");
?>
- execute this file instead of the faulty script file
now errors of your faulty script should be reported.
this works fine with me. hope it solves your problem as well!
----
Server IP: 212.124.37.9
Probable Submitter: 139.13.156.14
----
Manual Page -- http://www.php.net/manual/en/function.error-reporting.php
Edit -- https://master.php.net/note/edit/85096
Del: integrated -- https://master.php.net/note/delete/85096/integrated
Del: useless -- https://master.php.net/note/delete/85096/useless
Del: bad code -- https://master.php.net/note/delete/85096/bad+code
Del: spam -- https://master.php.net/note/delete/85096/spam
Del: non-english -- https://master.php.net/note/delete/85096/non-english
Del: in docs -- https://master.php.net/note/delete/85096/in+docs
Del: other reasons-- https://master.php.net/note/delete/85096
Reject -- https://master.php.net/note/reject/85096
Search -- https://master.php.net/manage/user-notes.php