error

Cannot refer to the static enum field within an initializer ?

I just got Java5 project that has this error, i tried using Java5 and Java6, but its still there. it worked somehow before(since it was in svn), how can i bypass that compiler error? ...

Warning on Include: Can't Find File In Correct Path?

Warning: include(/2008/2009/assets/inc/base/error.inc.php) [function.include]: failed to open stream: No such file or directory in C:\Program Files\Apache Group\Apache2\htdocs\2008\2009\assets\inc\base\header.inc.php on line 82 I am receiving the above error when including a file on a WAMP setup. Is it possible that Windows is interpre...

What is the best way to return an error from a TSQL Proc?

Here’s the scenario: You load a page, which renders based on the data in the database (call these the “assumptions”) Someone changes the assumptions You submit your page ERROR! The general pattern to solve this problem is this (right?): In your save proc, inside a begin and commit transaction, you validate your assumptions first. ...

Why won't mysql_real_escape_string() work?

I'm trying to write someting into the DB using PHP but if I try to use mysql_real_escape_string() I don't get any errors but nothing gets saved into the DB and I don't know why =/ specially because I did the same on another PHP file and it worked perfectly... <?php if(isset($_POST['reporte'])) $falla = $_POST['reporte']; else ...

How to Overcome Errors Thrown by mmsystem.h

Hi, I am not able to get out of these simple bugs, but would be great full if some one could answer to weed out from these errors. I included windows.h and some other necessary headers but couldn't able get out of it. Snippet of errors: error C2146: syntax error : missing ';' before identifier 'MMVERSION' error C4430: missing type sp...

How to troubleshoot Oracle database server errors?

My team inherited an Oracle-based web application and they are fairly inexperienced with Oracle database servers. The Oracle 10g server is running on a Windows 2003 Server with plenty of disk space and from time to time, all connectivity is lost, the application stops working, not even SQL Plus is able to connect to the database server....

Make/Execvp Error in Cygwin:

The following error occurs in make, while trying to do incremental builds: make[2]: execvp: C:/path/to/compiler.exe: Message too long I suspect my problem here is the argument length for execvp. Any idea what that limit is? How would one go about changing that? Some curious extra information: the same command succeeds when p...

XAMPP shows eror for .exe from non-local domains.

In FireFox3 when I go to URL's such as: http://download.microsoft.com/download/4/A/A/4AA524C6-239D-47FF-860B-5B397199CBF8/windows-kb890830-v2.7.exe I get a 404 error for the URL locally on my XAMPP installation I use for local development. It has to do with the .exe I think but I can't figure out why. Whats the problem? Object not f...

The value for the useBean class attribute ... is invalid

I want to use a java file "SaveProp" which is written in a package "user". The class file has been placed in the WEBINF/classes.Below are the two lines which causes the issue. jsp:useBean id="user" class="user.SaveProp" scope="session" jsp:setProperty name="user" property="*" This is the code, but it throws, The value for the useBean...

PHP & xPath Question

I'm using PHP and xPath to crawl into a website I own (just crawl the html not going into the server) but I get this error: Catchable fatal error: Object of class DOMNodeList could not be converted to string in C:\wamp\www\crawler.php on line 46 I already tried echoing just that line to see what I was getting but I would just...

Weird resharper issue with action lists that don't work.

So we had a power outage at work the other day and ever since then ReSharper and Visual Studio just aren't playing nicely. The issue occurs when I try to click on one of the light bulb action lists, they just disappear. I also noticed that when I compile and there is an error, the error list acts like it's trying to open but doesn't. ...

Error when I try to change the class name

class HelloObject { void speak() { System.out.println("Hello (from object)!"); } } class HelloTester { public static void main(String[] args) { HelloObject object = new HelloObject(); object.speak(); } } When I change the "HelloTester" class name to something like "HelloTester2", the program suddenly work...

Service Unavailable - IIS

My problem is that sometimes the CPU usage on the webserver is going to 100% (caused by the W3wp.exe) At that moment the website will become "service unavailable" Question: Where can I check from the IIS/HTTPERR logs where the website became "service unavailable"? Can I used Log Parser to identify at which time this is happening? If y...

Mysql Real Escape String and normal string

"I am using flash as3, php and mysql" What is the difference between: $username = $_POST['username']; $password = md5( $_POST['password']); and $username = mysql_real_escape_string( $_POST['username']); $password = mysql_real_escape_string(md5( $_POST['password'])); I am sending and retrieving variables from flash AS3 to ...

What type of errors could my code still contain even if I have 100% code coverage?

Looking for concrete examples or links to concrete examples of such errors. Thanks in advance. ...

QTP: Object Required errors when Object is valid

I have the following VBScript in a reusable action: 'Gather links Browser("1").Navigate "http://InternalWebmail/something/inbox.nsf" set oDesc = Description.Create() oDesc("micclass").Value = "Link" set links = Browser("1").Page("Webmail").ChildObjects(oDesc) Dim links2 links2 = "" 'Filter out irrelevant links For i = 0 To links.Count-...

Error Codes and Messages Best Practise

I am planning out an EDI system that sends, amongst other things, an XML acknowledgement message containing several elements, but specifically these three; ErrorCode, ErrorSeverity and ErrorDescription. I will basically be parsing an inbound XML message and depending upon success or failure of parsing to include message formatting, synt...

Avoiding a SAS error message: "NOTE: Invalid argument to function INPUT"

Is there a way to test if a variable will fail the INPUT conversion process in SAS ? Or alternatively, if the resulting "NOTE: Invalid argument" message can be avoided? data null; format test2 date9.; input test ; test2=INPUT(PUT(test,8.),yymmdd8.); if error =1 then do; error=0; test2=INPUT(PUT(test-1,8.),yymmdd8.); end; put te...

Lua value not changing?

I use very simple Lua scripting in an online game called ROBLOX. My problem is that values in my scripts aren't changing! Example: num = 0 while true do num = num + 1 print(num) wait(1) end That should count up starting on 0, but the number won't change. Could this be from the ROBLOX website? I can't figure out what else it might be. ...

Fatal error: Call to undefined function imagefilter()

Hey All, What is causing this error? Fatal error: Call to undefined function imagefilter() in /var/www/polaroid.php on line 5 1 <?PHP 2 $img_addr = $_GET['image_address']; 3 $img = imagecreatefromjpeg($img_addr); 4 /* everything works as expected without this line */ 5 imagefilter($img, IMG_FILTER_GRAYSCALE); ...