error

How to trigger script.onerror in Internet Explorer?

The onerror page on MSDN states that the onerror handler can be attached to a script element and that it "Fires when an error occurs during object loading.". For the purpose of unit tests, I am trying to get this onerror handler to fire, but could not find a suitable example. The following code triggers an error in Firefox, but no aler...

VS2008 IDE Error List not populating until build or debug

My Error List is not populating if I code something that should be a compiler error. When I go to run the program I finally see the build errors in the Error List. If I fix the code, the errors do not disappear from the Error List until I run again. I can't find the option driving this behaviour. It only does this when I'm working in ...

Compiler Error CS1061

I have the following class... public class MyCustomLogger { public static int DEFAULT_INFO = 0; public static int DEFAULT_LOGIN = 1; //etc public static void Log( ... ) { doStuff(...); } public static void Log( ... , ... ) { doStuff(...); } private static void doStuff(...) { //doLots of Stuff } So when I call MyCustomLogger.Log(....

HttpOnly cookies in SharePoint break creation of workflows in browser

This is not a question but a solution that I just discovered. The issue was this: When I tried to create an Approval workflow on a document library through the browser in a a MOSS Enterprise installation, I got and "Unexpected Error" message. Outputting the error to the browser, I got Value cannot be null. Parameter name: g at System....

Show a nice error view in ASP.NET MVC and still cause ELMAH to send a message

I'm using the filter from MvcContrib which causes nice error pages, my own views, to be shown when an error occurs. The problem is that when that happens, ELMAH doesn't send me an email about the problem and I still would like to know that something went wrong. It seems the key is in ExceptionContext's exceptionHandled. When set to true...

Why am I getting this error? Error #1006: draw is not a function.

I have 2 classes with a draw function in them, my Background class and VideoDisplay class. I'm not done with the VideoDisplay class, but I put simple traces in it to test. I call both the Background and VideoDisplay the same way in my document class, but when I try to call the draw function of the VideoDisplay class I get this error: Er...

PHP session echo not working?

I have a page that generates a $_SESSION['variable'] that is dynamic, so when you refresh the page the session has a different value everytime ( just a value of 0-10 ). But when I refresh the page in firefox, nothing shows up, but in IE it works fine. I also tried in Opera but it doesn't show up there either. Anyone know why it's not ech...

Error Configuring Zend Server

Hi everyone, I am trying to configure Zend Server CE based on the instructions in the book "Pro Zend Framework Techniques - Build a Full CMS Project". The book has me do the following: Alter httpd.conf from: DocumentRoot "C:\Program Files\Zend\Apache2/htdocs" <Directory /> Options FollowSymLinks AllowOverride None Order...

class.upload.php getting error

Hi i am using this class.upload.php for my project and i must say it is very helpful. However i am stuck with this error No correct uploaded source file. Can't carry on a process can anyone guide me how to solve the issue.Thanks here is the code where i think error lies..thanks <?php require_once('class.upload.php'); if((isset(...

VC++ Library Clashing Problem

I am working on a C++ project that uses Qt (gui lib), VTK (graphics lib) and another library which is so obscure I won't mention its name and will instead call it LIB_X. The project uses Qt for the gui components and VTK (more precisely the QVTKWidget extension provided by VTK that supports Qt) for rendering geometry.. and it uses LIB_X...

Get the message of exception when calling a wcf service from jquery

Im calling a WCF service from jquery ajax. Sometimes the service throw some custom errors and when it does I need to get the message of that error. In the error function of my ajax call I have the following code: error: function(data) { alert("responseText: " + data.responseText); } And the respon...

pointers to functions: cant compile

#include <stdio.h> #include <string.h> #define MAXLINES 5000 char *lineptr[MAXLINES]; int readlines(char *lineptr[], int nlines); void writelines(char *lineptr[], int nlines); void qsort(void *lineptr[], int left, int right, int (*comp)(void *, void *)); int numcmp(char *, char *); int main(int argc, char *argv[]) { int nlines; ...

How to debug iPhone app errors that occur before the first line

I have a fairly simple app. It compiles fine. Unfortunately, when I Build and Go, it fails before even the first line of code, thus making it impossible for me to even debug it. Where do I start? I do have the stack track though. ...

FBConnect iPhone: Unknown Error Occurred

I'm uploading photos to Facebook from my iPhone application. I've got it working, except that sometimes, it returns "Unknown Error Occurred". I'm not sure what the problem is. This happens about 75% of the time. Has anyone else encountered this? ...

Using the Stanford postagger in java, getting java.lang.IncompatibleClassChangeError

I am trying to initialize the Stanford NLP Part of Speech tagger and I keep getting a java.lang.IncompatibleClassChangeError. When I print the cause of the error, I get null, when I print the message I get Implementing Class. This is my code: try { MaxentTagger tagger = new MaxentTagger(path+"left3words-wsj-0-18.tagger"); ...

SQL Server 2008 - Database diagramm support objects cannot be installed ... Error

Hi! I tried to create a database diagramm with SQL Server 2008, but an error occurs: Database diagram support objects cannot be installed because this database does not have a valid owner. To continue, first use the Files page of the Database Properties dialog box or the ALTER AUTHORIZATION statement to set the database ...

Javascript: Flash callback method produces error UNLESS alert() first?

Ok I have a flex app and I am adding a callback method like this: private function init():void { ExternalInterface.addCallback( "playVideo", playVideo ); } private function playVideo(videoSource:String):Boolean { videoDisplay.source = videoSource; return true; } I am calling it with javascript like this: function show...

NetBeans and Python

When I run some python code in NetBeans, which raises an error, the output in NetBeans just gives an error message and no further information, such as line number. Is there any way to fix that? ...

Error while trying to install wordpress

I downloaded wordpress, created a database, entered my information in wp-config-sample.php and renamed it to wp-config.php. When I uploaded it to my website, it didn't work. It says "Page Not Found". Am I missing something? ...

sifr throwing 'G.brokenFlashIE' is null or not an object error

We are getting this error occurring randomly throughout the site, but only on one computer that we've noticed so far. We have not gone live with our site (it's in the QA phase) and only one person testing this site seems to be having this issue come up. Here is the error message: User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows N...