error

EOleSysError with message 'Class not registered'

I have created a Type Library out of a .NET DLL i created. I then imported it into Delphi and called a method within the interface of the COM Object. When it is trying to create the COomObject i get the Error that the class is not registered. The dll is registered with the GAC so it shouldn't be that. Anybody know what else could caus...

Whats wrong with this php code, keep getting Error no 2?

<?php session_start(); // After user logged in session_regenerate_id(); $_SESSION['logged_in'] = 1; $_SESSION['ip'] = $_SERVER['REMOTE_ADDR']; $_SESSION['agent'] = $_SERVER['HTTP_USER_AGENT']; // Session Checking function session_check(){ if(isset($_SESSION['logged_in']) && !empty($_SESSION['logged_in'])){ if(isset($_SES...

Can you explain this Embedded MATLAB Function error?

I'm having a problem sending a value from a GUI to an Embedded MATLAB Function (EMF) in a Simulink model. I get this value from a slider in my GUI and send it to an EMF block in my model. I can confirm that the value is being transferred correctly from my GUI to my Simulink block, since I can display the value with a display block in my ...

How can I change PHP ini settings from within a shell script?

How can I set ini settings within a PHP script? php.ini isn't being read and ini_set doesn't work. Test File: #!usr/local/bin/php -q <?php // display_errors is set to false in /etc/php.ini // This shouldn't display any errors $test = $foo; // We can also try ini_set('display_errors', false); // This definitely shouldn't display an...

Excel 2003 Charting: Chart Data Too Complex

I have written a macro in excel 2007 to log water-level readings. Once logged, it automatically charts the data for each of the 30 wells. However, when the workbook is opened in Excel 2003, the chart does not work complaining that the chart data is too complex to be displayed (works fine in 2007). There is one series per well (each well...

magento - error after changing catalogsearch.xml

Hi Everyone.. Was attempting to remove the Search Terms and Advanced Search from the footer links. I am now getting the following message: Warning: simplexml_load_string() [function.simplexml-load-string]: Entity: line 103: parser error : XML declaration allowed only at the start of the document in /home/viviscal/domains/viviscal.ca/p...

[NSData writeToFile:options:error:] fails, but no error object is returned. Why?

I'm trying to understand the meaning of the value returned by [NSData writeToFile:options:error:]. The method returns a BOOL, which according to Apple's documentation is "YES if the operation succeeds, otherwise NO." Fair enough, but if it's NO, I would have assumed that the error parameter would then be set to some retrievable NSError*...

"Fatal error: Cannot redeclare" when reusing xml parsing code

I have a single xml parsing function that I'm trying to call multiple times as I only need to strip a little data out and continue on. Here is the function: //Parse Product ID from Product Sides function getProductSpecs($xml,$type) { // Setup arrary global $productspecs; global $count; $count = 0; global $type_chec...

Need help with reCAPTCHA - keep getting incorrect-captcha-sol

Hi I am trying to add a reCAPTCHA to my site, but keep getting incorrect-captcha-sol error when I submit the answer. Can anyone tell me if I am correct in doing the following? I have a generic index.php, which includes contact.php. In contact.php I have inserted the following code: require_once('recaptchalib.php'); $publickey = "XXXX...

dyld error: image not found

Hi everyone, I got this error message while running my application on simulator. Dyld Error Message: Library not loaded: /System/Library/Frameworks/UIKit.framework/UIKit Referenced from: /Users/thomasschober/Excuse Me/build/Distribution-iphonesimulator/Excuse Me.app/Excuse Me Reason: image not found I am not able to ...

jQuery validation error message

I am using jQuery validation plugin and I want that the error message to be displayed in a specific text input with id="test". How do I do this? ...

Visual Studio 2008 Publish Fails.

HI everyone, i need some advice regarding Visual Studio 2008 Pro. We develop a lot of web service applications and ever since we started we keep encountering an error on our production server that does not seem to occur on the development or test systems. When publishing new code to the server we are normally met with the following err...

Strange XCode/Objective-C Error: failed integrity check

Hi Everyone, I'm getting some really strange errors in XCode. Whenever I run my program, I get "malloc: test_node_integrity: FreeListNode 0x1052af0 { _prev = 0xffffffff, _next = 0xffffffff, _size = 0 } failed integrity check." I've searched all over Google, but haven't found anyone else with this error message. The stack trace has metho...

How Should I Move A File On Exception?

The requirement: On an error (thrown exception), the file being processed should be moved to the folder for files with errors (app.config setting). The problem: The only way that I can of handling this is to have a nested Try/Catch inside of the main Try/Catch to try to move the file, that way if the move fails, another exception is...

PHP Unexpected character in input: ‘’’ (ASCII=39)

A friend of mine is getting this error on ALL of her websites. They are all on the same server, externally hosted.(the hosting company says they cant help with scripting problems) Each site even gives the exact some line number, but they all use different Index.php files. I am a bit stumped here, has anyone seen anything like this befor...

problem with searching subdirs

I snaged this sub off the web to recursively search all the files including subdirectoires If i point this sub to a large area ( ie mydocuments or C:) I get an error: The CLR has been unable to transition from COM context 0x1f6c48 to COM context 0x1f6db8 for 60 seconds. The thread that owns the destination context/apartment ...

Jquery Firefox error in finding position() of a DIV

Hello, I am facing a weird issue with firefox, I have a DIV tag with ID="popup_layer". I'm using Jquery to find this DIV which works fine : var rightPosition=$j("#popup_layer") But when I try to find the position of the DIV: var rightPosition=$j("#popup_layer").position().left; I get the following exception in Firebug: [Excep...

IE8 claims my page has an error, firefox doesn't, and I can't find any error. Help!

This is something of a follow-up question to my question here. You can find the HTML source in a text file here. When I load that page in IE8, I get the "Done, but with errors on page." message in my status bar. The detail view shows Expected identifier sms Line: 147 Code: 0 ...

What's wrong with this C code?

I've tried reinventing the strcpy C function, but when I try to run it I get this error: Unhandled exception at 0x00411506 in brainf%ck.exe: 0xC0000005: Access violation writing location 0x00415760. The error occurs in the *dest = *src; line. Here's the code: char* strcpy(char* dest, const char* src) { char* dest2 = dest; whi...

SharePoint WebPart Displays Twice - Help!

I am a SharePoint novice who is responsible for maintaining several sites. Recently, to organize a document library I opened it in Windows Explorer mode to drag and drop files. I do this frequently. I think I was moving too fast and inadvertently clicked something by mistake. A dialog box popped up asking about hiding Webparts. I th...