error-reporting

How to view error messages from ruby CGI app on remote server?

I have written a Ruby (not Rails) app which generates web pages. The script is installed on a linux web server and is called up by apache using CGI in response to HTTP requests. Pretty standard stuff. When I am running it on my own computer I look at the apache error log to see the ruby error messages. However, on the host that I use ...

PHP difference between error_reporting() and ini_set('error_reporting')?

When using error_reporting() or ini_set('error_reporting') in my scripts, are there any functionality differences between the two? Is one method preferred over the other? For what it's worth, I see many frameworks using error_reporting(), but both options appear to be set during runtime only, then reset back to their default in php.ini ...

isset() and empty() make code ugly

I have several older applications that throw a lot of "xyz is undefined" and "undefined offset" messages when running on the E_NOTICE error level, because the existence of variables is not explicitly checked using isset() and consorts. I am considering working through them to make them E_NOTICE compatible, as notices about missing varia...

How do i display error messages when i have many input fields by using Adobe Flex ?

Hi, I am a beginner to Flex development (so keep it in mind when answering) and i have a Adobe Flex form in which it has many input Field. I use VBox, HBox as container to layout the page. So the question is: How do i display error messages when i have many input fields by using Adobe Flex ? And what should i do to show error message ...

Eclipse, remove override error

Hi, I have overriden a controller class in a java projects in order to add an interceptor, I would like to know if there is anyway I can remove the "error" showing up in Eclipse: The type CRUD is already defined I don't think the code will help much but there you go: package controllers; public abstract class CRUD extends Con...

How to throttle Django error emails.

I use django error reporting via email. It is normally a very helpful feature, except that now we have 5 minutes of database downtime and I got 2000 emails. Is there any middleware that will help me throttle the number of emails django can send out per minute? ...

What Coldfusion Error LogFile Analysis tools are available?

As part of my attempt to role my own coldfusion framework for my company, I want to see what kind of tools that can summarize top user/server errors based on the log files... We have given up on trying to have a server monitor, and i have tried several debugging templates, but right now, seems we want a solution that helps us identify k...

What Is a Good Layout for a Standard Error Log File?

I am trying to design the error and warning log file for my desktop program. As my program reads the user's input file, it may find syntax errors or invalid data of some sort. Once everything is read and the program is processing the data, more problems may be found. I want to write messages about these into a simple text file. I may...

Rails Plugin|Gem that emails error reports?

can you recommend me a Rails Plugin/Gem that emails error reports? ...

How do I stop PHP output buffering from eating error messages?

Well, now that I've gotten a bit further into it, I realize that this is a stupid question, and wrong. Turns out that the author of the legacy code I maintain was hi-jacking the error log to a different file with a php_init statement. The hi-jacking occurred at the same time as the output buffering was turned on, making it appear as thou...

Intellij IDEA 9: How can I disable the highlighting of errors in HTML files?

So the title says all. :D How can I disable the highlighting of errors in HTML files in Intellij IDEA 9? ...

PHP FPM returns HTTP 500 for all PHP errors

I am running nginx with PHP-FPM. My nginx configuration for handling php files looks like this: location ~ \.php$ { set $php_root /home/me/www; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $php_root$fastcgi_script_name; include /etc/...

Best way to handle and report memory allocation errors due to integer overflow in Objective-C?

To begin with, let me say that I understand how and why the problem I'm describing can happen. I was a Computer Science major, and I understand overflow/underflow and signed/unsigned arithmetic. (For those unfamiliar with the topic, Apple's Secure Coding Guide discusses integer overflow briefly.) My question is about reporting and recov...

How Do I Enter Multiple PHP Values in .htaccess?

Hi, I'm editing the .htaccess file in order to make some overwrites to my php.ini file (I don't have access to it). So far, I've added: php_value max_execution_time 600 php_value error_reporting E_WARNING php_value log_errors Off The application I'm editing for (vTiger CRM) recommends that "error_reporting" is set to "E_WARNING & ~E_...

Possible to turn off E_STRICT for library code but not my code?

Is it possible to change the error reporting level (turn off E_STRICT) for files that my PHP application includes with include or require_once? I'd like to be able to see strict notices that occur in my code, but I'm using PEAR MDB2, and I get pages of warnings from that code when I turn on E_STRICT. I know that it's possible to change...

PHP does not return errors at all

I am running PHP and nginx and I use a production version of php.ini. So the variable display_error is set to Off and there is a good reason I want it this way. But for certain files I need to enable error reporting. I used ini_set to turn on error reporting. But a simple code snippet like: <?php error_reporting(E_ALL); ini_set("display...

How do I retrieve an automated report and save it to a database?

I've got a web server that will take scripts in Python, PHP or Perl. I don't know much about any of those languages, but of the three, Python seems the least scary. It has a MySql database set up, and I know enough SQL to manage it and write queries for it. I also have a program that I want to add automated error reporting to. Someth...

Win32: How to crash?

i'm trying to figure out where Windows Error Reports are saved; i hit Send on some earlier today, but i forgot that i want to "view the details" so i can examine the memory minidumps. But i cannot find where they are stored (and google doesn't know). So i want to write a dummy application that will crash, show the WER dialog, let me cl...

When software problems reported are not really software problems

Hi Apologies if this has already been covered or you think it really belongs on wiki. I am a software developer at a company that manufactures microarray printing machines for the biosciences industry. I am primarily involved in interfacing with various bits of hardware (pneumatics, hydraulics, stepper motors, sensors etc) via GUI dev...

How can I programmatically launch visual studio and send it to a specific file / line?

I have a nice tidy way of capturing unhandled exceptions which I display to my users and (optionally) get emailed to myself. They generally look something like this: Uncaught exception encountered in MyApp (Version 1.1.0)! Exception: Object reference not set to an instance of an object. Exception type: System.NullReferenceExcepti...