error

Hunting down PHP parse errors

When writing PHP code, you can cause some really hard to track down parsing errors if you don't remember what parts you were editing previously. I'd be interested to hear about any insightful methods to hunt down these errors you may have discovered. Example: unexpected ';', expecting T_FUNCTION in someclass.php on line 877 This vagu...

Sequence contains no elements?

I'm currently using a single query in two places to get a row from a database. BlogPost post = (from p in dc.BlogPosts where p.BlogPostID == ID select p).Single(); The query is fine when retrieving the row to put data in to the text boxes, but it returns an error "Sequence contains no elements" when u...

xampp mysql error

Hi , I get this error: mysql service not started [-1] when i try to open the mysql admin . I had xampp 1.7.2 installed before and it worked fine , now i installed 1.7 instead and it has this problem . how can i fix this ? Thanks ...

hexadecimal 0X19 is an invalid character

SO, I am building XML string based on the values from the dataset using XMLWriter. It is properly building the xml string as per the settings and the conditions I specified. If there are more than 1000 records in the dataset and when I try to build the xml string I am getting the above error. hexadecimal 0X19 is an invalid character ...

c++ public function syntax error

I am attempting to convert a c# to c++ with reflector. The code compiled, disassembled and reconstructed code is generating this error: 1>c:\users\user\documents\visual studio 2008\projects\reflect_readoo\reflect_readoo\readoo.cpp(2) : error C2059: syntax error : 'public' 1>c:\users\user\documents\visual studio 2008\pr...

net_rim_cldc not found

Hi, I am getting error as : module net_rim_cldc not found while debugging application on real device. I am using device Pearl 8100 with v4.5.0.81 and eclipse JDE plugin with component pack 4.5. I have read on forum that if there is difference between device software and development ide then this error occur, but i am using same versio...

[Ruby] (...)in `require': no such file to load -- 'gemname' (LoadError)

Hi people! I haven been all day training to fix this problem but i couldn't. The question is easy, i don't want to put anymore the require 'rubygems' line everytime i require a gem... If i put the require 'rubygems' before any other "require" the file runs perfect but if i don't put the require 'rubygems' line the following error occur...

jQuery appended text is invisible

I'm trying to create a couple of buttons above a textarea to insert some HTML code -- a VERY poor-man's HTML editor. I have a couple of INPUT elements, and I'm using jQuery to set a click handler that will call's jQuery's append() or html() or text() functions. The handler fires, it shows a debug alert(), but the text I'm trying to app...

Selenium RC drops error when it tries open the popup

Hi all When selenium tries to open popup window I'm getting JS error permission denied in file file:///C:/DOCUME~1//LOCALS~1/Temp/customProfileDir8708f7f69e14482ba857f4b2e74775c1/core/RemoteRunner.hta So this break script execution, could you assist? I saw a related topics at msdn and openqa but didn't find resolution that could help m...

jquery validation rules and a weird IE7 error

I have the following validation: phone1: { required: { depends: "#pri_noPhone:not(:checked)" }, number: true, minlength:3, }, If a checkbox is checked (yes, contact me via phone) then go validate the phone1, phone2 and phone3. In FF and Firebug, there are no errors. However, IE7 throws an error saying: a...

sendmail error 452 Too many recipients received this hour

We are sending hell lot of e-mails to our BREW devices ( in sprint network ) and after a while our mail server queues the messages and gets stuck. When we try to flush them, we get following from the server. Is there a solution to this problem? Is this error 452 from our mail server or sprint's mail server? How to tune up sendmail for fa...

Could not find stored procedure 'sql'

Hi. I suddenly have begun to get the error message "Msg 2812, Leve 16, State 62, Line1, Could not find stored procedure 'sql'" when I run querie. The queries still execute correctly, but the output has the message at the top. No more than 10 minutes ago the queries worked fine (without the message), but now it gives this error. Is th...

How Can I Find Which Process is Displaying a Randomly Appearing Window?

I have a user who randomly gets a Script Error box (shown below) which doesn't indicate what program is having the issue. It'll popup multiple times a day. Any ideas on how to determine which program is failing? He can't determine any consistency about when they pop up. ...

Unknown column in 'field list' error on MySQL Update query

I keep getting MySQL error #1054, when trying to perform this update query: UPDATE MASTER_USER_PROFILE, TRAN_USER_BRANCH SET MASTER_USER_PROFILE.fellow=`y` WHERE MASTER_USER_PROFILE.USER_ID = TRAN_USER_BRANCH.USER_ID AND TRAN_USER_BRANCH.BRANCH_ID = 17 It's probably some syntax error, but I've tried using an inner join instead and oth...

getautosuggestdata type is not supported

I am using Google AutoSuggestData. It's implemented fine and working in a page but when trying to implement in another page it gives error system exception :getautosuggestdata type is not supported ...

Catch a type error in C++

Hello all! How do i check if a result is of the right type(int, float, double, etc.) and then throw and catch an exception in case it's not? Thanks all, Vlad. ...

[error] => This method requires authentication.

[request] => /statuses/user_timeline.xml?oauth_version=1.0&oauth_nonce=8ad5454ef97aeec8ff000235eea2acfc&oauth_timestamp=1251469868&oauth_consumer_key=y2l1dK2jFnxTb01CHTUMrw&count=10&since_id=3446495596&oauth_token=37899551-G1yCwWHI8rtkcjgTILEV0O98kyOlCzNfo0Dhhr88&oauth_signature_method=HMAC-SHA1&oauth_signature=Jf1SOC7dG1y5ose3mwTfDbjt2g...

The SaveAs method is configured to require a rooted path, and the path '~\\images\\594083964.jpg' is not rooted.

The SaveAs method is configured to require a rooted path, and the path '~\images\594083964.jpg' is not rooted. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.Web...

runtime error (SIGSEGV)

hi..can anyone tell me whats wrong in the following program that accepts 1 or 2 digit integers untill it encounters the number 42 after which it prints the previously entered numbers??when i upload this to the sphere online judge site it says compilation successful but runtime error (SIGSEGV). #include <stdio.h> int main() { int i; ...

C++ template, linking error

I have a problem in calling a template class I have. I declared a new type name Array, which is a template; In the .hpp file: template <typename T> class Array { public: Array(); }; In the .cpp file: template <typename T> Array<T>::Array() { //Do something } In main: Array<int> arr; I get Linkage error: unresolved external s...