error

iPhone static library linking problem

Hello, I having trouble with app that uses my static libs. Here is my setup: I have 3 libs, Utilities, Share and Misc. Share and Misc depend on Utilities. They are compiling just fine when I compile them separately. Every lib is in its own XCode project. I want to build an app that uses features from Utilities and Share, so I added the...

jQuery error "missing ; (semicolon) before statement <script type="text/javascript">\n " after Ajax request. Any idea?

Hello there, I am stuck with my Rails application where I use JQuery to post/get ajax requests and I have this following error (found by using Firebug). missing ; before statement <script type="text/javascript">\n I am using the JQuery ajax method to post like this: function day_on_change() { jQuery.post( "/times/add"+ "?...

Uninitialised constant during DB migration on ruby rails mysql & os x

This is a strange one, I have created the following migration which fails to run. class CreateCategories < ActiveRecord::Migration def self.up create_table :categories do |t| t.column :name, :string t.timestamps end news_category = Category.create(:name => 'Site News') change_column :articles, :category_i...

javascript error in ie7

I am getting a javascript error on a page with this code.The error is "parentNode is null or not and object" The error is in this line: theParent.parentNode.removeChild(theParent); Is there some other code I can use to replace this or jquery that will work instead? var path = location.pathname; if( path == "/SearchResults.asp" ||...

Rails: Expected helper to define helper error?

When accessing my Rails app locally, I get the following error when loading any page: /!\ FAILSAFE /!\ Tue Jul 06 15:08:17 -0500 2010 Status: 500 Internal Server Error Expected /my_rails_app/app/helpers/admin/article_categories_helper.rb to define Admin::ArticleCategoriesHelper If I follow the full trace, I'm brought to this line in ...

Flex/Zend channel connect failed error...

Hi guys. I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application. The pop-up error message is send failed channel.connect.failed.error Netconnection.call.Badversion: url: http://mydomail/...

"Sorry, no quotes are available for this order at this time" in Magento

hi, i have a Magento site in which the checkout process worked fine until yesterday when i got this error message. does anyone know why this is happening? the products are set to non-zero weights and i have enough in inventory too. i'm using the Fontis Australia extension. any help? thanks ...

nginx error: (99: Cannot assign requested address)

I am running Ubuntu Hardy 8.04 and nginx 0.7.65, and when I try starting my nginx server: $ sudo /etc/init.d/nginx start I get the following error: Starting nginx: [emerg]: bind() to IP failed (99: Cannot assign requested address) where "IP" is a placeholder for my IP address. Does anybody know why that error might be happening? ...

Why won't my NSUserDefaults load?

So I have an iphone app that presents a modal view when it starts if the user has not registered. Once they register, it saves a user ID into NSUserDefaults. When the app starts at a later time, it needs to load this user id in the appdelegate file. //Registration.m NSUserDefaults *savedUID = [NSUserDefaults standardUserDefaults]; [save...

Error: null dereference

This code: int main(char[][] args) { MyObject obj; obj.x; return 0; } gives me: Error: null dereference in function _Dmain when I compile it with -O flag (on dmd2) Why? Isn't obj allocated on the stack? Should I always use new to create objects? ...

Simple class abstraction in php does not work (conflicting names?)

Here is the simple php code <? abstract class A{ abstract public function a($x); } class B extends A{ public function a($x) { echo $x; } } $q = new B; $q->a(10); ?> which gives: PHP Fatal error: Cannot call abstract method A::a() but changing the name of the function to something else than "a" works. So what is really happening ...

catch specific HTTP error in python

I want to catch a specific http error and not any one of the entire family.. what I was trying to do is -- import urllib2 try: urllib2.urlopen("some url") except urllib2.HTTPError: <whatever> but what I end up is catching any kind of http error, but I want to catch only if the specified webpage doesn't exist!! probably that's HT...

Getting undefined in javascript when calling ajax

function get_request(url) { var request = new getXMLObject(); request.onreadystatechange = function () { if (request.readyState == 4) { alert(request.responseText); var data = eval('(' + request.responseText + ')'); alert(data); return data; } } request.open("GET", url, true); //alert(document...

nant msbuild "It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level"

I have a nant script calling msbuild on my Team City server. I have Team City check out source from TFS into a directory called C:\Source In my solution I have one website that is dependent on the two class library projects in the same solution. The idea is that the msbuild will be done in that source directory and then msdeploy will c...

Twisted Web Proxy Help!!

I wrote a Twisted Python HTTP proxy, and keep getting the following Traceback after navigating to a page through the proxy. Traceback (most recent call last): File "C:\ZBrownTechnology\Web Lock\Proxy.py", line 57, in <module> reactor.run() File "C:\Python26\lib\site-packages\twisted\internet\base.py", line 1165, in run self....

error installing qt-sdk

hello, I tried to install qt-sdk, but every time while unpacking I receive an error Extract: error Extract: error ... qtcreator-debug.ini somebody knows why, thanks in advance I have this file qt-sdk-win-opensource-2010.04.exe I'm working with windows ...

Android build failure

I followed instructions from here. After $ repo sync I tried to build it with $ make, but got this error: host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so) /usr/bin/ld: skipping incompatible /usr/lib/gcc/i486-linux-gnu/4.4.3/../../../libz.so when searching for -lz /usr/bin/ld: skipping incompatible /usr/lib/gcc/i48...

android Media Player stopped working.

Last night, my app was working just fine streaming audio files with the MediaPlayer in my app. I came into work this morning and it wont play any audio file and I havent changed my code at all. here is the error log that it is printing out via LogCat. Also, the audio file still exists and plays fine on anything else. 07-07 09:53:39.559:...

How do I detect which program has returned an error code?

Hi, I'm attempting to run a series of commands programmatically, read the error codes, and detect if these codes indicate success or failure so I can respond accordingly. Currently my commands are using psexec which then launches robocopy. I've noted that while most commands return an error code of 0 if the program is successful, roboco...

SVN commit error: "'.' is not a working copy"

I can SVN-update and browse the repository just fine. The .svn directory exists in every folder across the checked out code tree. Only commit is broken for some reason. Any idea what could cause this? ...