error

mysql replication incompatible statements problem

hello, i wanted to setup a new mysql database slave running a newer version of mysql => 5.1.41 than the master => 5.0.75, which -- as far as i know -- should normally be no problem. however, as it turns out setting up replication fails, because i used a SQL statement in 5.0.75 which apparently does not work in 5.1.41 anylonger: the sta...

XCODE iPhone Error NSInvalidArgumentException

Hello. I do not understand what is this error. i tried some stuffs, i looked over, but nothing helped me. here is the code of the error : 2010-08-13 14:37:37.587 iPilulier[6520:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'executeFetchRequest:error: A fetch request must have an entity.' ... ...

PHP Syntax issue with headers

Can't seem to get it right with the syntax: <?php if isset $_POST['tutorial'] { header('Location: /phonebooks?tutorial=1b'); } else { header('Location: /phonebooks?phonebook_created=1'); }; ?> What am I doing wrong?? ...

Flex Builder : How to mark a warning as an error and aborting the build

Is there a way by which I could make a warning behave like an error in Flex Builder. In particular I am highly worried about this warning : 1100 : Assignment with conditional. Did you mean == instead of =? ...

Trying to Search my Blog-Site or Search This site gives no results

I have a Howto company Blog site that i post to for my clients to access for help. For some reason it has stopped letting anyone search on it. I can search for Mysites or users. But when you drop down the tab to search: This Site: "blog site name" you get the following reply: No results matching your search were found. Check your spel...

Curl Perl module not working, formadd method missing

Hi. I want to use following script: use FileHandle; use WWW::Curl::Easy; use WWW::Curl::Form; my $file, my $curl, my $curlf, my $return, my $minified; $file = new FileHandle(); $curl = new WWW::Curl::Easy(); $curl->setopt(CURLOPT_URL, "http://closure-compiler.appspot.com/compile"); $curlf = new WWW::Curl::Form(); $curlf->formadd('out...

SWIG ImportError: undefined symbol: _Py_RefTotal

Hello, I am really new to SWIG. I tried to compile the example given in SWIG but I get the following error: $ python Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. import example Traceback (most recent call last): ...

Why is it taking my function and making it not a function anymore?

I have a function that returns a random number from 1-10. When I use it in my other function it works once, but then it starts having an error that it's not a function. This isn't the exact code, just an example code that's similar. It produces an error saying "TypeError: Property 'ran' of object [object DOMWindow] is not a function" Why...

Similar syntax but one shows error but another does not

Hiii all I made this program today int main() { int a = 1,2; /* Shows error */ int b = (1,2); /* No error */ } Why first one shows error while second one does not? Just ( ) makes one program compile. Why? --Shruti ...

Parse error: parse error, expecting PHP For Loop

. function is_valid_isbn($isbn) { $isbn_length = strlen($isbn); $isbn_sum = 0; echo "this is the length :"; echo $isbn_length; for($i=0; $i < $isbn_length; $i++) { $total += (substr($isbn, $i, 1) * (11-($i+1))); } return true; } When i run this function i am getting following error can some one help me where is the e...

Python .format - error

Hi, I'm trying to get the following to work in a Python interpreter, however it gives me an error and I cannot seem to find where my mistake is? (I'm a python newbie) >>> print 'THe value of PI is approx {}.'.format(math.pi) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'str' object has no at...

error: pointer being freed was not allocated

I am trying to overload the assignment operator to do a deep copy of a polygon object, the program compiles but I am getting an error toward the end that I want to clear up. Below is the relevant code, if you think I need to add more please just post a comment. Assume the proper #include's and that the << operator is overloaded for prope...

Data Flow Task, XML Source error

I am developing an SSIS application with VS and SQL Server 2008. I am still new to SSIS, however. I have successfully created one project with an XML Task connected to a Data Flow Task. But as part of this same solution I created an identical project with XML Task connected to Data Flow Task. From what I can see, the only difference b...

Newly Created Function Is Not Available?

I am working on a scalar value function in MSSQL 2008. I created it and It is shown in object Explorer But when I use this function in MS Query Analyzer It gave me error **Msg 208, Level 16, State 3, Line 1 Invalid object name 'calculatecptcodeprice'.** For Me this type of error after creating Function is new. What went wrong. Please ...

Codlfusion ORM: Can not load SQL after an init of ORM.

Hi All, Trying to drop/create table with orm but facing a situation: When I try to drop/create table I see tables are created but data. I have a sql which contains data but no luck. I have proper definitions for the sql that has to be imported when I drop/create. this.ormsettings = {autorebuild="false"}; this.ormsettings.dialect= "...

git error : ssh: Could not resolve hostname ?

ssh: Could not resolve hostname C: hostname nor servname provided, or not known fatal: The remote end hung up unexpectedly ? ive set up a git repo useing --bare ( i even dont know what it mean ) im following the http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively and when i do $ git clone C:\Users\DAMS\Docu...

CSS Error: HTML and Body set to 100% height, but content overflowing...

See here for an example: http://www.pwnedgaming.net/content/testcss/. If you look at the source code, you'll see that the left_column DIV, when set to a large height, makes the page fill the screen correctly, but the DIV that needs this behaviour is page_content. Yet no matter what I do with the page_content DIV, it just causes the page...

getting "E2197 Constant object cannot be passed as var parameter" when passing var parameter

this code works fine: procedure TForm2.Timer1Timer(Sender: TObject); var Text: string; begin SetLength (Text,555); GetWindowText (getforegroundwindow, PChar (Text),555); Form2.gtListBox1.Items.Add ( IntToStr (getforegroundwindow) + ': ' + Text); end; but when i put var Text: string; from Timer1Timer event handler to ...

IE6-7 error with jquery

IE6 and 7 return a js error "expected identifier, string or number" on this : function fadeopacity (){ var opacity = $("#pics_list > li:first").css("opacity"); $("#pics_list > li").hover( function () { $(this).stop().animate({ opacity: 1, }, 300, null)}, ->this is the l...

Javascript runtime error in ASP.net MVC

Hi, I created a new ASP .net mvc 2 web application with that default template provided in VS 2008. I wanted to check the document.ready to see on how it fires. So in Site.Master I included the jQuery Scripts in the following way: " <script src="<%=Page.ResolveClientUrl("~/Scripts/JQuery/jquery-1.3.2-vsdoc.js")%>" type="text/javascr...