error

What's the problem with my php generated png file?

Hi! I want to make a unique forum signature from my latest watched animes in PHP. These are contained in an RSS feed. On my local apache server, the image is generated well, but as I upload it onto a server, I get an error, the picture isn't generated at all. Here is my code and I wonder what's the problem since neither Dreamweaver CS5...

Can't Login to Wordpress?

Getting the below error when trying to reach my WP login page....I have tried to look for whitespaces like crazy (2 days) and unable to correct the issue...still can't login...My site is up and running just fine...Someone please help...What other options do I have? Warning: Cannot modify header information - headers already sent by (out...

Accessing a subslice of a boost matrix in a helper class

I'm trying to build a class that eases the use of the boost boost::numeric::ublas::matrix. Thus I've got: using namespace boost::numeric::ublas; typedef matrix<double> matrix_t; class Tensor : public matrix_t { public: Tensor (const int M, const int N) : matrix_t(M, N) { } virtual ~Tensor() { } Tensor SubMatrix (const...

[Java] NullPointerException

After compiling my application in Netbeans and running the application in Netbeans it works just fine. All images load fine. Trying to double click execute the application results in nothing happening. Trying run from command line gives this error: Exception in thread "main" java.lang.NullPointerException at Entity.<init>(Entity...

Z_Form :: Adding a custom error message to zend_form inside Action Controller

I'm new to ZF and I'm discovering how to use Zend_Form and utilize it's capability like validating and filtering input values. I already know the basic of Zend_form like building a form and add element into it. My problem is that I want to add a custom error message to form element and I want to define that message inside the action cont...

pointers to derived members of the class

hello to everyone, if I have for example some class Base and derived from it Derived Also I have some list of shared pointers: list<shared_ptr<Base> > list I create shared pointer: line 5 shared_ptr<Derived> ptr(new Derived(//some constructor)); my question is, can I do something like this: list.push_back(ptr); if Yes, can s...

C++ counting execution time eror

Hi, I'm trying to count the execution of function in my code (that takes over an hour), and I'm using clock(), but I'm getting some errors, since the time calculated is negative. I'm doing like this: long double time; clock_t start, t_end; t_start = clock(); algorithm->execute(); t_end = clock(); time = ((long double) t_end - t_start)...

has_many association...class id not found

How can I write the code below so that it passes the user.id. Given what I have, it throws Class id not found error. (User has many fights. And Fight belongs to user. User can either be a challenger in the fight, or a challengee in the other.) has_many :fight_wins, :class_name => 'Fight', :foreign_key => 'challenger_id or challengee_...

Objective-c linking error with duplicate-symbol error

I am new to Objective C and have the following error when trying to import a class defined by me Building target “MusicCube” of project “MusicCube” with configuration “Debug” — (1 error) cd /Users/varsha_vijay/Downloads/MusicCube setenv MACOSX_DEPLOYMENT_TARGET 10.5 setenv PATH "/Xcode3.1.4/Platforms/iPhoneSimulator.platfo...

How to use ? keyword for string

I have a simple condition and want to implement it with ?: keyword but compiler do't let me. this is the exact sample // in asp page decleration <ajaxtoolkit:FilteredTextBoxExtender id="ftbeNumeric" runat="server" TargetControlID="textbox1" FilterType="Numbers" /> <asp:TextBox ID="textbox1" runat="server" /> // in code behind decimal ...

Why does showing a Toast outside of onCreate() crash my application?

old question: "Why does creating a Toast crash my application?" My application runs fine if I don't use toasts but if I want to create and show a simple Toast like this: Toast SimpleToast = Toast.makeText(getApplicationContext(), "Just a toast.",Toast.LENGTH_LONG); SimpleToast.setGravity(Gravity.TOP, 0, 0); SimpleToast.show...

Netbeans error code 1 ?

Hi everyone, I want to try developing a mobile programme. But when I run project as Java application, the project don't compile. The Netbeans output like this: Could not create the Java virtual machine. Error code : "Execution failed with error code 1." in:"../build-impl.xml:898" How I fix it ? ...

php WAMP setup - undefined variable error

What settings to change while setting up php WAMP so that undefined variable error is not encountered. I changed setting of register_globals = on but it did not help. ...

getting error like ur view controller and nib file

i have observed 1 warning when i am opening my nib file ,but that doesnt effected my out put .. i want to to know what causes this error its showing ' View Controller' has both its 'View' and 'NIB Name' properties set. This configuration is not supported. ...

IE8 Throwing a Security Error with MooTools

Okay so like everything else IE8 is giving some serious problems. When trying to load MooTools into the browser IE8 just gives me a "A security problem occurred" error. I think it may have something to do with the clashing of files or something but I can't seem to figure it out. Here's a web address so you can see for yourself. http://w...

iPhone: Push Notification Error, Unable to Connect to Gateway

Hi all, I'm trying to use push notification but I get this error: stream_socket_client() [function.stream-socket-client]: unable to connect to ssl://gateway.push.apple.com:2195 i've made my cert.pem using the Apns production certificate and his private key. I've made my cert.pem using the Apps production certificate and its priva...

obj-c : iphone programming , Compilation error on 10.6.0

hi, i got an error when i put Mac OS X Deployment Target to 10.6.0 : ld: library not found for -lcrt1.10.6.o Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 failed with exit code 1 but when i use 10.5.0 it works well. i recently deleted my developper folder and reinstalled xcode it is the main cause. b...

Nintex Workflow - Convert string to date + publishing error from InfoPath

Hey everyone, Ive got two problems that i dont know how to solve.. ! 1) im looking for a way to convert a string variable into a date var in nintex workflow but nothing seems to work? 2) I have a bunch of forms that I’m publishing to SharePoint. Each of these forms contains a lot of fields, 100+. Till Tuesday evening I never had a pro...

an error variable-sized object may not be initialized

hello, can somebody explain why do I receive this error, when I do: int boardAux[length][length] = {{0}}; thanks in advance ...

Saving PHP's memory state if an error occurs.

Hi, I'm curious if anyone knows how I can save the current state of a php application (the one that is currently in memory, with everything including declared variables, $_POST, $_GET) when an error occurs? Currently Zend Server does this. by monitoring the application and saving the snapshot of the php's memory etc. and shows a log r...