error

foreach error with codeigniter

Hey im using codeigniter and i got this error A PHP Error was encountered Severity: Notice Message: Undefined variable: query Filename: views/nyheder_view.php Line Number: 2 A PHP Error was encountered Severity: Warning Message: Invalid argument supplied for foreach() Filename: views/nyheder_view.php Line Number: 2 my controlle...

XAMPP MySQL Terminating worker thread 1

Hi, I used to work with XAMPP to build PHP applications. Once I tried Zend engine and uninstalled it. After that, MySQL in XAMPP is not working. It is giving "Terminating worker thread 1" error. When I check ports, MySQL has status Service: MySQL_ZendServer51. Pleas help me how to reassign it back to XAMPP? I have reinstalled XAM...

OpenfileDialog - Window is not popping out

Hi, i am working on form . i want small window to pop up when i click button and to will select XML file of my chois from various folder. I guess, this OPenfileDialog will help me. check the code. private void button3_Click(object sender, EventArgs e) { / OpenFileDialog OpenFileDialog1 = new OpenFileDial...

"Unable to load dynamic library" on WordPress blogs error log?

Hello all, I am getting the following massage in the error log files of my WordPress blogs: [10-Oct-2010 04:37:43] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so' - /usr/local/lib/php/extensions/no-debug-zts-20060613/pdo.so: undefined symbol: compiler_globals_id in...

ERROR cant push first repo/tried everything/help

As in tittle, i cant push my first repo to github... tried everything, but all i get is just same errors alternately again and again firstly i got: Permission denied (publickey). fatal: The remote end hung up unexpectedly i fixed it somehow than i got: error: src refspec master does not match any. fatal: The remote end hung up unexpe...

Avoid using isset in PHP when accessing $_POST, $_GET, and other variables?

Hello all, how can I prevent PHP from returning an Undefined variable error every time I try to check a variable if it has contents and that certain variable hasn't been used yet? In my previous setup, I can check $_POST['email'] even if I haven't put anything into it yet. It simply returns a blank or empty result. That's how I want my P...

What does this error mean?

svn: Commit failed (details follow): svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found new...

Why does the Basic Java Hex Editor I made freeze on files around 2MB size and up?

Alright, so I'm writing a hex editor in Java and when I load in a file around 2MB or bigger it just freezes. No errors show up though, so I'm not sure whats going on. Can anyone help me? This is the code: import java.awt.*; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import javax.swing.*; import java.util.V...

vim's netrw plugin show error message:"The system cannot find the file specified." when change remote directory via FTP

remote ftp server is microsoft ftp. so, i suspect that this is a bug. can anyone knows what happend? ...

PayPal "Security header is not valid" error. What to do with this?

Hi there, I am using PayPal's DoDirectPayment API for payment integration. I am getting an error message like below. Security error: Error no: 10002 Error message: Security header is not valid Here is my code, $environment = 'sandbox'; // Set up your API credentials, PayPal end point, and API version. $API_UserName =...

EOF while scanning triple-quoted string literal

i've looked on the web and here but i didn't find an answer : here is my code zlib.decompress(""" xワᆳヤ=ラᄇHナs~Ʀᄑç\ムîà Z@ÑÁÔQÇlxÇÆïPP~ýVãì゙M6ÛÐ|ê֭ᄁᄂヤ=)}éÓUe﬿ö3ᄎᄌú"}ʿïÿ÷1þ8ñ́U÷ᄏñíLÒVi:`ᄈᄎL!Ê҆p6-%Fë^ヘ÷à,Q.K!ユô`ÄA!ÑêweÌ ÊÚAロYøøÂjôóᅠÂcñ䊧fᆴùテúN :nüzAÝ7%ᄌcdUタᄌ3ôPۂタlンyHᆲᄑ$/yzᄒíàヌ'ÕÓ&`|S!<'ᄂ÷Zļᄐ2ホモ;ニ(ÅÛfb!úü$ナテᄒ,9ßhàPᄎᄄێフÑbØὛホQᄍ-Ü}(n;ᄄホLヤ\^ï9ᆭᄍラ...

LAMP display php errors

I've installed developer's LAMP server and made changes on php.ini display_errors On display_startup_errors On but it doesn't display any errors or even a little warning, what's the problem, what's wrong? ...

Lot's of ActionController::UnknownHttpMethod: CONNECT in a Rails application

I'm getting lot's of these exceptions in a Rails application: ActionController::UnknownHttpMethod: CONNECT, accepted HTTP methods are get, head, put, post, delete, and options As far as I see it seems to be some crawler or something like that trying to use CONNECT as an http verb. I've never heard of it, but the documentation say: ...

Sitecore SSM - Poll Module failing to install

During the installation of the Poll module (Sitecore 6.2 package: 1.1.0 OMS version), an error occurs preventing the completion of the installation. I downloaded the package from here: http://trac.sitecore.net/Poll We are using: Sitecore.NET 6.2.0 (rev. 100507) I've tried repeating the install several times, restoring the database...

SVN Error: "' 'x' isn't in the same repository as 'y' " during merge

I get the error svn: 'x' isn't in the same repository as 'y' " during merge. What's the problem and how can I fix it ? (I actually know the answer and posting it as soon as I am allowed by the system, so that it's googleable by others. I got my share of trouble finding the answer). ...

malloc error C++

Possible Duplicate: malloc.c:3074 error? I am getting this strange error on execution of my C++ code: malloc.c:3096: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__...

Does this CouchDB error look familiar?

My build server is giving me an error that doesn't show up on my local instance. It boils down to the following. I can submit a form to the couchdb server using the following command and it will get passed to an update handler. curl -X POST http://localhost:5984/master_build/_design/couchforms/_update/xform -d @meta.xml When I try th...

Java Error Correction

I am trying to implement a tree using an array and I have all my code but I am receiving the following error, any ideas how to fix this? Also if you can find any other way to implement this without all the casting I'm doing that would be great. Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at jav...

Removing .php extention with .htaccess problem

Possible Duplicate: Removing .php extention with .htaccess not working What is wrong with this script? The server returns a 404 on whenever a link without a .php extention is clicked/ RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php [NC] My problem is that i've been remov...

debug: jquery fails silently, how to prevent it

how to force jquery to exit WITH error instead of failing silently (in firebug console i see nothing and i don't know, what was wrong) ...