error

MySQL fatal error

Hi, When I run the folowing code, I get this error: Fatal error: SQL in /Users/allan/Sites/4is_site/casestudyall.php on line 105 (that's the last line in the code below. Is there a problem with my query? <?php if (isset($_GET['pageno'])) { $pageno = $_GET['pageno']; } else { $pageno = 1; } $query = "SELECT count(*) FROM ...

Text Input error / validation and restore previous correct value in Flex

I have text input boxes. There is validation for each of the boxes using numberValidator. Now, the thing is that am using alert box to show if any error occurs. Flowchart :: 1> Insert value in textBox. 2> NumberValidator validates the input on "trigger=change". 3> If error, alert message is displayed. The user clicks OK to go back to f...

Guice configuration error

I'm trying to use Google Guice with the @Inject and @Singleton properties as follows: I have: A Module with an empty configure() method. An interface IFoo A class Foo (implementing IFoo), annotated with @Singleton, with a parameter-less constructor annotated with @Inject. This is the single annotated constructor. The classes, constr...

Error c2061 when compiling

When I compile a project I get this error: C:\DATOSA~1\FAXENG~1>nmake /f Makefile.vc clean Microsoft (R) Program Maintenance Utility Version 9.00.21022.08 Copyright (C) Microsoft Corporation. All rights reserved. cd src nmake /nologo /f Makefile.vc clean del /F *.obj *.lib *.dll *.exe *.res *.exp cd.. ...

The executable was signed with invalid entitlements.

hi all I am having a problem with ad-hoc distribution in iPhone. I have developed an application in sdk 3.0. I have developer's license. I have added certificates and provisioning profiles in my project. So, no problem with that.. But when I try to install the app on my iPhone, it compiles the project and then displays error "The execu...

Doxygen w/ XCode & Subversion Issues

I followed this guide from Apple to create doxygen documentation. I did need to modify the script to put variables in quotes so when it parses a directory with spaces, it doesn't treat it as two separate arguments. That said, I recently switched to use subversion in XCODE instead of using the Snapshot stuff, which has a notorious histor...

Problem with realloc of **struct

Hi Mates, I have a problem with realloc function in C. I'm passing you a code bellow: typedef struct _Pool Pool; typedef struct _Item Item; struct _Pool { Item ** items; unsigned int itemsCount; unsigned int poolSize; unsigned int poolStep; }; struct _Item { char * file; unsigned int lenOfFilePath; unsign...

SQL problem - high volume trans and PK violation

I'm writing a high volume trading system. We receive messages at around 300-500 per second and these messages then need to be saved to the database as quickly as possible. These messages get deposited on a Message Queue and are then read from there. I've implemented a Competing Consumer pattern, which reads from the queue and allows for...

Remove / Clear Error message tool tips on Cancel button click.

Hi, I have referred this for creating error message tool tips, to be displayed continuously unless the error is resolved by the user. :: http://aralbalkan.com/1125 ..................... But, this is being applied to a pop-up window visualized as a pop-up form. When the user clicks 'CANCEL' button, I want the error message tooltips if ...

Unable to read symbols error

I get these errors when I build and run for the device. Should I be worried about them? The app runs fine. run Running… [Switching to thread 10755] [Switching to thread 10755] warning: Couldn't raise load state for requested shlib: "libobjc.A.dylib" for breakpoint 1. (gdb) continue warning: Unable to read symbols for ""/Users/tim/Code/...

(Rails,Javascript) RJS "Can't find variable" error not providing detailed information.

Hi All, I'm having an issue with rails involving javascript. Basically, I have the following code: <ul id="all-points"> <%for point in Point.find(:all)%> <%domid = "point[all][#{point.id}]"%> <li class="available-point" id='<%=domid%>'> <span> <%= link_to_remote "ADD",:url => {:action => "add_point"}, :html ...

What do IO Error and Stream Error mean (Flash)

Hi, I'm trying to do an http post from flash on my website to a method in a controller (My site is on Asp.Net MVC) and I'm getting this error: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://www.mysite.com/Home/DoSomething at Main/postToMyWebsite() Any ideas of why these errors happen and how to preve...

How do I keep Windows Explorer from interfering with deleting a folder?

I've got a routine that deletes a folder and everything in it. After deleting all the files, the last thing it does is: if not Windows.RemoveDirectory(pname) then raise EInOutError.Create(SysErrorMessage(GetLastError)); Unfortunately, I tend to get an error from this if I have an open window in Windows Explorer displaying the folder...

Sharepoint Web Services Error GetListItems in Lists.asmx

Arrggh. I've seen like 15 examples that say do it like this: http://stackoverflow.com/questions/583606/sharepoint-web-services-test-if-file-exists I'm on the same machine as the SP site, running as the SP and machine admin, I can happily call GetList, GetListCollection and GetWeb on the SiteData web service, but every time I call GetL...

ASP.NET Report viewer Control

Hi to all.. I tried to create 'ReportViewer' control (ASP.net 3.5) dynamically., This is Code Snippet : ReportViewer objRpt = new ReportViewer(); objRpt.Reset(); This is error text : 'ReportViewer' does not contain a definition for 'Reset' and no extension method 'Reset' accepting a first argument of type 'ReportViewer' coul...

mysql connection

Im using this code for mysql connection $con = mysql_connect("localhost:/var/lib/mysql/mysql.sock", "abc" , "xyz"); if (!$con) { die('Could not connect: '); } mysql_select_db("database_name", $con); Im including this file on the top of every php file that im using for parsing and then storing the data in database.Now when the orig...

UITableview Section Error - objc_msgSend

Hey guys i've got an problem and don't know how to handle it. if i make a section the error occurs. Heres my code it would be so nice if somewone can help me :) I've already tried to set the section index to 0 and 1 but that didn't help either. Thanks in advance - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtInd...

PathTooLongException in C# code

i have the following code: public static void Serialize() { List<string> dirs = FileHelper.GetFilesRecursive(fileDirectoryPath); List<string> dirFiles = new List<string>(); foreach (string p in dirs) { string path = p; string lastAccessTime = File.GetLastAccessTime(path).ToS...

403 Forbidden on PHP page called with url encoded in a $_GET parameter

Given hello.php: <?php echo "Hello"; ?> rendering the page works fine and returns Hello, however http://myserver.com/hello.php?test=http%3a//whatever.com returns a 403 Forbidden. But oddly enough, making the first letter of http uppercase works fine: http://myserver.com/hello.php?test=Http%3a//whatever.com FYI, percent encoding th...

iphone .objc_class_name error

I've been fighting this framework error for days now. I have included the MessageUI framework from the iphone3.0sdk and imported the header file(MessageUI/MessageUI.h) Anyone know what this error means? collect2: ld returned 1 exit status symbol(s) not found literal-pointer@_OBJC@__cls_refs@MFMailComposeViewController ".objc_class_nam...