error

jQuery OEmbed Plugin - Error: Object doesn't support this property or method

Hello all, I'm currently using the following jQuery plugin: jQuery OEmbed. This plugin works great in FF, Chrome, and Safari. However, I am having an issue in IE7. I have stripped my code down to very bare-bones, but still can't figure out what would be causing the following error: Error: Object doesn't support this property or met...

How to check the Resultset status?

This is for vbscript application. Dim objRs set objRs = server.CreateObject("ADODB.Recordset") set objRs = objConn.Execute(sql) When the sql statement got syntax error, it will cause the whole ASP page into error. I want to do logging by performing the following: When the query go into error, log the sql into a text file ...

ORA-00604 ORA-12705

Hi. I am having this error in my j2ee web application. java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid environment specified oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145) oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:3...

Problem with asp.net webforms ajax & citrix

We have developed a webapplication that uses asp.net webforms with ajax extenders/controllers. Everything works fine when users use it internal on the internal company net, but when users acces the webbaplication from outside the company net via a citrix weblogin/proxy the application crashes and alot of errors occurs. Seems likes the...

nant task to create queue with c# code

<project name="aa" default="createqueue" xmlns="http://nant.sf.net/release/0.85/nant.xsd"&gt; <target name="createqueue"> <echo message="started" /> <script language="C#" > <references> <lib> <include name="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.Messaging.dll" /> </lib> </references> ...

How to send a server error response using php?

Hi all, As soon as the user clicks the delete button my jQuery script asks the server to delete the selected item. Now I want my php script to send a success or an error response. Is it possible to fire the error callback in case the item could not be deleted? Thanks my jQuery code: $.ajax({ type: "post", url: "myAjax.php" , d...

PHP preg_replace error

I have the following code: protected function safePath($path) { $path = (string) $path; $path = preg_replace( array( '#[\n\r\t\0]*#im', '#/(\.){1,}/#i', '#(\.){2,}#i', '#(\.){2,}#i', '#\('.DIRECTORY_SEPARATOR.'){2,}#i' ), array( '', '', '', '/' ), ...

php error reporting

Is there a common standard for reporting errors in your class functions? I've seen some c functions that you pass the error string to, so that if there is an error you can see what it is in that string, You need pointers for that though. I'm reluctant to use the return, because sometimes you do need the return for other variables. One...

Weird problem : "Specified argument was out of the range of valid values."

Hi folks, I've got realy weird problem on a web page when processing a post back. Here is the error will fallow an explication : Error : Specified argument was out of the range of valid values. Parameter name: value Description: An unhandled exception occurred during the execution of the current web request. Please review the stack tra...

CSharp: Not all code paths return a value.

I am writing a simple WinForms application in which I allow the user to drag around TreeNodes in a TreeView control. One of the rules that I enforce is that the user is not allowed to drag a TreeNode into one of its own children. I wrote the following function in a recursive style to check for the parenthood of the destination node. Upon...

Clojure: extend Wicket panel and call to panel methods

Currently I'm trying to create sample Wicket page with Clojure (in existing wicket project). Code looks like this: (ns a.set.of.packages.dataview.info.EmptyNodeInfo2Panel (:import [a.set.of.packages.tree TreeModelBean] [a.set.of.packages.dataview.supplemental GenericHeaderPanel])) (gen-class :name a.set.of.packages.dat...

Errors on server! Need another set of eyes over simple php mysqli.

Hello, i have the following php code selecting user details from a mysql db $mysql = new mysqli(DB_SERVER, DB_USER, DB_PASSWORD, DB_NAME) or die('There was a problem connecting to the database'); $stmt = $mysql->prepare('SELECT personalinfo.userid, personalinfo.firstname, personalinfo.lastname FROM personalinfo INNER JOIN applications O...

PHP Error "canary mismatch on efree"

Appeared a strange error in the error log in PHP, but the script that generated this error is often used and never generated this error, and occurred only once so far. Would anyone tell me why this happened mistake? Error: [client {some IP}] ALERT - canary mismatch on efree() - heap overflow detected (attacker '{some IP}', file '{some s...

Enable the "redeclare" for PHP5, with .htaccess or php.ini

Hi friends, serious problem with an angry client :( i have an issue about "Cannot redeclare variable" etc. i had a website working on PHP4 then moved to PHP5 and i have this error: Fatal error: Cannot redeclare CSQLAdmin::$functions in /blabla/lib/sqladmin.php on line 45 I tried to clear the second declaration at the file, and it fi...

MySQL server has gone away - in exactly 60 seconds

I recently discovered that a sql query that was running fine earlier is now timing out after 60 seconds and throwing an error. The query is slow but runs as part of a nightly job so that's not a problem in itself (so please don't suggest I optimize it). I'm able to reproduce the error consistently by running "select SLEEP(120);" from P...

Capturing the error stream from a sed command

Hello, How do I capture any error from a sed command into a file? Here is the sed command I am using: sed -e 's/'old_word'/'new_word'/' temp_file > output_file Now, when everything goes well, modified contents from temp_file are captured in output_file. But let's say that output_file happens to be read only. In this case, instead...

IIS7 asp.net error while accessing webpage . "Cannot execute a program"

Hi I am getting the following error on accesign an application. The app is installed on IIS7 windows server 2008 Cannot execute a program. The command being executed was "C:\Windows\Microsoft.NET\Framework\v3.5\vbc.exe" /noconfig @"C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\entitymanager\fc119101\f785f7e5\ugj1...

problem when re-running program

I have a fairly simple python loop that calls a few functions, and writes the output to a file. To do this is creates a folder, and saves the file in this folder. When I run the program the first time with a unique file name, it runs fine. However, if I try to run it again, it will not work and I do not understand why. I am quite certai...

compile errors w/wininet & winhttp in MFC application

Strangely I had this working before but I reinstalled my system, upgraded to w7 and now I can't seem to get this code to compile. The problem is that I'm using winhttp.h in most of my application, but I have a simple FTP client object that I wrote using wininet.h functionality. I can't seem to get the application to compile now, no matt...

MySQL Default Keyword usage errors

When am trying to set default date and default sysdate am getting following errors: MySQL Query: create table product_offer_type(object_id INT(19), snapshot_id INT(19), PRIMARY KEY(object_id,snapshot_id), enum_value VARCHAR(64) NOT NULL, external_name VARCHAR(64) NOT NULL, description VARCHAR(255), business_validation INT(1), valid_for...