error-reporting

PHP E_NOTICE does not warn about unassigned values

I have E_NOTICE activated in php.ini. It still does not warn me about unassigned values like $foo++; Tried to set the error_reporting as well. Does not work. error_reporting() is set to 6143, which means that E_NOTICE is activated. This code snippet also warns me with a notice: $foo = bar; Any ideas? ...

Magento & vertnav extension

Hi all, I'm working on a magento project (v1.3.2.3) and i've installed the vertnav extension. Contents vertnav.xml: <?xml version="1.0"?> <layout version="0.1.0"> <default> <reference name="left"> <block type="vertnav/navigation" name="catalog.vertnav" template="vertnav/left.phtml" before="-" /> </refer...

Retrieving ADO errors using Delphi

I'm using Delphi 2007 with ADO to access a MS SQL 2008 database. A stored procedure on the database prevalidates the input and if the validation fails it returns an error result set (containing custom error info). Uisng the SQL Server Management Studio, when I run the stored proc I get the custom error result set in one tab and the nat...

PHP's white screen of death

Now that I'm starting to get back into PHP, I'm starting to remember why I gave it up in the first place. The most annoying thing on my plate at the moment is what I've come to term "PHP's white screen of death". When PHP gets a fatal error due to syntax or whatever, it seems like it will always die without actually sending anything to t...

Count Number of PHP Warnings/Notices

Hello all, Is there a way I can count the number of errors/notices/warnings that a script has come across whilst executing? I wish to do something like this: Warnings: 125 Notices: 234 ..etc Thanks ...

Is it considered standard practice to turn off notices in the error log for PHP development

I coming from a J2EE background and it seems that it is very common for PHP developers to turn off and ignore notices with the statement: error_reporting(E_ALL & ~E_NOTICE); The application that I'm working is full of messages about unset variables? This seems very odd to me. ...

How to build Debug AND Release and still get appropriate error messages?

I'm using Visual Studio 2008 Team System 2008 Team Edition. I want to be able to build my project and actually be told about all errors in the build. So far I have not found a way, so it must be pretty well hidden. The normal "Rebuild" command for a project, as well as the "Rebuild solution" command for a solution, rebuilds only the a...

How to use external variables (e.g. POST/GET) in PHP with error level E_NOTICE

...

Php not reporting any errors on IIS7

Hi, I am developing a PHP application using our XAMPP setup as a test server. Once the app is ready to deploy, I have to upload it to the client's server, The problem is the client's server is running IIS 7, and every time there is a PHP error it just displays a blank page... Now, my app has error_reporting(E_ALL) already set, and I d...

PHP error display removing all other content

On a development server here, a setting has been changed which makes any PHP error (of any level) only output the error message and nothing else. To demonstrate what I mean, here's a script to reproduce the error: <?php $array = array('a'); echo "Hello world"; echo $array[1]; echo $array[2]; echo "Goodbye world"; ?> What I'd expect fr...

Why is the result of E_ALL | E_STRICT the same as only E_ALL?

In PHP error reporting, E_ALL equals 8191 (1111111111111) E_STRICT equals 2048 (100000000000) Using bitwise OR to combine them: 1111111111111 100000000000 we still get: 1111111111111 Why is the result of E_ALL | E_STRICT the same as E_ALL? How does error_reporting() function distinguish between E_ALL | E_STRICT and E_ALL? ...

What are differences between error_reporting(E_ALL) and error_reporting(E_ALL & ~E_NOTICE)

I am using PHP. Could anyone explain differences between error_reporting(E_ALL) and error_reporting(E_ALL & ~E_NOTICE)? I noticed that when I change from E_ALL to E_ALL & ~E_NOTICE, an error which I was hacking, disappears. Regards. ...

Why is exception handling bad?

I've heard this on the Internet. For instance, Google's Go language has no exceptions as a design choice, and Linus of Linux fame has called exceptions crap. I am just wondering why? ...

php error reporting level per IP

I understand that it is possible to alter the PHP error reporting level site-wide, but can I report a different error level to a particular client (IP address)? ...

errors are not displaying in PHP script.

Hi, I have tried with these code: error_reporting(E_ALL^E_NOTICE); ini_set("display_startup_errors","on"); ini_set("track_errors","on"); ini_set("error_reporting","E_ALL^E_NOTICE"); But still errors are not appearing on my script.It just displaying only blank white screen when any error occur.Please guide me. ...

Winqual for Mac OSX

Hello, is there a way to see applications crashes of our mac-application like we can using error reports using Microsoft's WinQual for windows applications? Thank you! Regards Uwe ...

Best way for a .Net Windows service to report an error to the user

I am writing a windows service that will be doing a lot of network communication, and I need a way to notify a user (if logged on) of any exceptions/errors. I know it is bad practice to allow a service to interact with the desktop, so is there an alternative way to notify a user that an error has occurred? I am aware of event logging, bu...

Error-reporting framework for .net

Hello, is there an error-reporting-framework you would suggest for use in .net. I need possibilities like e-mail-reporting with fileappending to e-mail. The user should have the possibility to add information to the report and also should have the possibility to remove report-files, i.e. if they contains privacy-critical data. There als...

Does PHP Error_reporting(0) have any effect on logging information?

Should error_reporting(0) have any effect on error logging (to file) or does it just suppress on screen error displays? Thanks. ...

Save output error messages to file in MATLAB

Is there a way to save MATLAB error messages to a file? This may be a simple issue, but Google couldn't give me an answer. I've compiled a GUI executable for use without a MATLAB license, and occasionally it freezes. For aesthetic purposes, I suppressed the command window normally accompanying such an executable, so I can't get an erro...