error

Ejabberd gives 404 error randomly

I am working on a social network that uses EJabberd via http-bind (via Apache Proxy). The server is running fine, and i have disabled some additional modules i dont need (such as IRC) to preserve memory. Although we have ample RAM and disk space for this server. The problem is i keep getting 404 errors every once in a while after a clie...

Strange jQueryUI dialog error

I have dialog created like this $('#add_error').click(function(e) { $('<div>') .load('/someaction/format/html/') .dialog({ title: 'Some title', modal: true, width: 385, close: function() { $(this).remove(); ...

IE6 dropdown Navigation not working

My dropdown menu is not working in IE6. Here is the css code a:focus { outline:none;} .menu { width:1000px; height:32px; position:relative; z-index:100; font-family:arial, sans-serif; } /* hack to correct IE5.5 faulty box model */ * html .menu { width:1000px; } /* remove all the bullets, borders and padding from the default lis...

When I include only the jQuery 1.4 Library, I get an exception, why?

I keep getting this error all over the place where I only have jquery 1.3 or 1.4 included. "setting a property that has only a getter" and a long list of warnings in the Firefox Error Console. What's going on? I can't find any information on this issue =/ <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/...

Opening HTML source code in Cocoa

I'm trying to display HTML source code in my NSDocument based application. However, it renders the page as Safari would show it. Here's the code that I use to open HTML: NSData*data; NSMutableDictionary *dict = [NSDictionary dictionaryWithObject:NSHTMLTextDocumentType ...

Apache: multiple ../ in query string = internal server error (error 500)

here's the problem: when requesting url like - http://server/path/to/file.html?param=../../something/something i get response: 500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ... Additionally, a 404 Not Found error was encountered while trying to use an Erro...

How to get the exact Oracle Error message on a select without the text and store in variable

my ($ret) = $l_dbh->selectrow_array("select dummy from " . $l_dbh->quote_identifier($dblink, 'SYSIBM', "SYSDUMMY1") ); $ret; }; ...

Incompatible magic value 1008813135

I am writing a Java applet and embedding it in a web page. It used to run Mac and Windows in different browsers without problem. I was using NetBeans on the Mac to build the .jar file the applet used. For some reason or another I decided to load the project on the Windows' NetBeans - I started getting the following error on the Windows ...

SSPI Negotiate not found

Hi! I'm using Windows XP Pro SP3. I want to use SSPI functions in my code. I compiled my code, no error. I set the security package to be used to Negotiate, which is recommended. When I start my program, Negotiate cannot be used because it can't be found. So, I tried "Kerberos" instead, and same error: the security package cannot be f...

Javascript: object expected on line 1 char 2

http://pastie.org/856698 Anyone have any idea why the script is causing this error? ...

Javascript/AJAX/jQuery - Object Expected Line 1 only in IE

http://pastie.org/856698 Anyone have any idea why the script is causing this error? It doesn't throw an error in Firefox, only IE. Any ideas? A link to the final script can be found at http://www.proskimboarding.com/codingtest/Public/registration.php ...

Special PHP Errors

How can PHP cause memory leaks, buffer overflows, stack overflows and any other errors of such kind? Can PHP even cause such errors? ...

Django form error

class JobForm(forms.ModelForm): class Meta: model = models.Job That was my form, now trying to save it will raise an exception, and trying to validate it just fails with no errors.... job = get_object_or_404(models.Job, pk=1) form = forms.JobForm(instance = job) try: form.save() except: print sys.exc_info() #=>(<t...

c# asp.net file not found error : weird

Hi All, I get a file not found error when I want to display an image. The error is right, the file is not there in my development environment (its an image uploaded by a user). But It should not raise this error because what Im doing is just appending some img tags in a stringbuilder with a reference to the particular images. So im just...

misaligned_stack_error after moving some code into external framework (Cocoa)

I just moved a bunch of code into a separate framework. Nothing has changed in the code since the move and it compiles fine. However, on runtime, It crashes with "misaligned_stack_error". I've been looking around and some people are saying -mstackrealign fixes it, however I have added it to the C flags for both projects in Xcode and it s...

Compile errors when trying to use list in C++

I'm trying to use list in c++, but I get the following error: 1>error C2143: syntax error : missing ';' before '<' 1>error C4430: missing type specifier int assumed. Note: C++ does not support default-int 1>error C2238: unexpected token(s) preceding ';' With the following code: #pragma once #include "Includes.h" class ...

Parse error on explode('-','foo-bar')[0] (for instance)

Why doesn't php support this syntax: $s = explode('-', 'foo-bar')[0]; ? ...

How do I check if a RSS feed is working?

For example, if there is an RSS feed and for some reason it is down or cannot be grabbed I want to display a simple message saying "feed cannot be grabbed". Right now PHP spits out a really ugly warning message. note:I do not need to know whether it is valid. I just need to know if the feed actually works. I do not want to turn off war...

IE7 Gets "Red X" when using jQuery Hover

Hi Guys, I am using a preview script via http://cssglobe.com/lab/tooltip/03/ The problem is that when I use SRC tag in this script - I get a big fat red X - in IE7 BEFORE the image is rendered. Once the image appears - all looks ok. Is there anyway to "hide" this before its loaded or something ? Love an help anyone can provide. ...

TCP: Address already in use exception - possible causes for client port? NO PORT EXHAUSTION

Hello, stupid problem. I get those from a client connecting to a server. Sadly, the setup is complicated making debugging complex - and we run out of options. The environment: *Client/Server system, both running on the same machine. The client is actually a service doing some database manipulation at specific times. * The cnonection co...