error

Android Development: Button onClickListeners Help

Basically, so far I've just got an add and minus button which will change the value of a TextView. I followed the second example under "Event Listeners" on http://developer.android.com/guide/topics/ui/ui-events.html The problem is I get 4 errors when I go to compile, I don't see what I'm doing wrong? Please can someone point out if th...

SQL server - Msg 213 - Insert Error: Column name or number of supplied values does not match table definition.

In SQL server, I am trying to insert values from one table to another by using the below query : delete from tblTable1 insert into tblTable1 select * from tblTable1_Link I am getting the following error : Column name or number of supplied values does not match table definition. I am sure that both table having same structur...

Rails 3 server encountered an internal error or misconfiguration

I have just setup a Rails application on Bluehost. Everything appeared to have gone smoothly, however, when I visit the home page and click on the 'About your application’s environmet' link I get the below error. I followed the following tutorials: Bluehost: helpdesk.bluehost.com/index.php/kb/article/000207 RailsGuides: edgeguides.ru...

NoClassDefFoundError when running shell script

Here is the error: Exception in thread "main" java.lang.NoClassDefFoundError: org/alicebot/server/net/AliceServer Caused by: java.lang.ClassNotFoundException: org.alicebot.server.net.AliceServer at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net...

VS2008 post-build event batch file

I'm trying to execute a batch file to move a bunch of files around after a build so I've created a post-build event that looks like this: $(ProjectDir)CopyPlugins.bat $(ConfigurationName) The problem is that when Visual Studio tries to run the event I get the error that the process exited with code 9009 The problem appears to be that...

Attempt to parse JSON without crashing Node.js server.

Hey, I'm developing a project using Node.js at the backed, with that I'm also using JSON to pass data to and from clients over web sockets. The problem I have is that if an invalid string was sent to the server (easily done by the user messing with the JavaScript console) then it would crash the server while trying to parse it. The cur...

Compiled Error in Xcode for iphone game and other questions

Dear all, Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically)...

Python error "IOError: [Errno 2] No such file or directory" but file is there

I am trying to read a csv file and I am getting the error above but the file is there. The line giving the error is infilequery = file('D:\x88_2.csv','rb') and I get the error below. Traceback (most recent call last): File "C:\Python26\usrapply_onemol2.py", line 14, in infilequery = file('D:\x88_2.csv','rb') IOError: [Errn...

Input/output error with gridfs-fuse on Mac OSX Leopard

I seem to be unable to properly mount my mongoDB database as a drive using gridfs-fuse. Here are the steps I am following: I followed the directions listed here: http://www.coffeepowered.net/2010/02/24/serving-files-out-of-gridfs-part-2/. I am running Mac OS X Leopard (64 bit) and have mongodb running and linked at /opt/mongo. Scons ru...

How can I log Javascript errors and report them without using Javascript?

Hi, My webapp currently employs a JS based error logging system for reporting JS error on the client side. The problem with logging your error using javascript is just that - we are using a technology to monitor problems in that same technology. Easily an error in the JS could prevent the logging from occuring. I was wondering if anyone...

Microsoft JScrtip runtime error using window.location in IE8

Hi, I'm having a weird error in my code. I'm getting an error: Microsoft JScript runtime error: object doesn't support this action. I'm using fullcalendar and on an event click I want to open the even details in the same window. Oddly enough, this works fine in Chrome. I also want to note that on an XP system it works fine both in IE8...

set_error_handler in codeingiter?

Hey, i've created a few helpers to catch any php errors and then send a curl post which will create a ticket with my bug tracking software. But i can't get it to work with code igniter. Here is my code. <? function phpErrorHandler($errno, $errstr, $errfile, $errline, $errcontext){ //If is a notice do nothing. if($errno == E...

Can I directly access MySQL from iPhone using MYSQL API ?

I have developed an iPhone application which needs to access MySQL database on the server. It builds very well on 'iPhone simulator',but when I want to build 'Device' version, it fails with error messages bolow: ld: warning: in /usr/local/mysql/lib/libmysqlclient.dylib, file was built for i386 which is not the architecture being linked ...

svnsync not working : Revprop change blocked by pre-revprop-change hook

Hi all, I'm trying to copy a used repository by using svnsync (I'm doing it this way in order to ensure optimal usage of my repository as long as its machine is working) but it does not seems to work. I have two machines (I've changed the names, but not the other infos) INITIAL : custom Linux with Subversion 1.4.5 (r25188) (as reporte...

Undefined Index PHP issue.Please help

I have the following error: Notice: Undefined index: submit in C:\wamp\www\registration\register.php on line 6 Can't seem to work out whats wrong??? Here's the code:: <?php //Create registration form (register.php) include "../includes/db_connect.php"; if(!$_POST['submit']) ///Line 6 { ?> <html> <head>...

Undefined method `+@' for false:FalseClass (NoMethodError) ruby

def next_prime_number (last_known_prime) while true last_known_prime++ found_factor = false # ERROR for i in 1...last_known_prime if last_known_prime % i == 0 found_factor = true break end end if !found_factor puts "new prime: #{last_known_prime}" Kernel.exit end end en...

Printing Errors to a File in Cocoa/ Objective-C

Hello Fellow Computer People! Anyone willing to help will have my gratitude ;) Just wondering what is the best approach to printing errors to a file i.e. so that if my executable crashes I can have a record of what happened. This would be in Cocoa, Objective-C or C. Thanks, Eric PS. I hope my question is not too general or vague. ...

Magento Error when Accessing User Roles Section

I have a Magento site in which there are about 20-25 extensions installed, among which 7 are commercial, which means that those 7 extensions are fully encrypted. Also none of these extensions use the User Roles & Permissions section, in the Admin area. Now, a few days back, I got into a silly problem which is really taking a toll on m...

[searchbar resignFirstResponder] will lead to "Program received signal: “SIGKILL”."

I have a UITableView, where I extend/shrink the cells with the following code. I save the last 2 indexPaths to perform a reloadRowsAtIndexPaths: on it. Now I added a UISearchBar to the header for section 0. If I tab the searchBar, a KeyBoard is displayed on top of the UITableView — so far so good. But I want the user to be able to touc...

Internal Server Error when install Wordpress

This is an error I got http://macslab.com/events/wp-admin/install.php I followed instruction here to empty .htaccess file http://www.pupuweb.com/blog/fix-wordpress-internal-server-error/ I also set 755 to all files and folders I am sure the database connection works because if I changed it, it would say database connection error. So t...