Hi everyone!
I'm working with ASP.NET MVC and jQuery and I have a UserControl that is repeated in every page. And in every page request, a ajax callback occurs... so far so good.
But this is when I'm in localhost. When I publish the site, I notice that this ajax is throwing an error 302, but this only occus in HTTPS pages and in FF and...
I am using Watin for the first time, setup the tutorial, but as soon as i hit run, watin opens up IE and starts "typing" for WatiN on the Google search box, but the problem is, every keystroke, returns a javascript error getElementById not found error... Anyone had this problem ?
I am running on Windows Vista 64 with VS 2008 (havent...
This may be the most obscure bug I have yet encountered in many years of working with JavaScript and any version of Internet Explorer. We're using YUI 2.7 for some of the (non)convenience methods. Sigh, what I would do for jQuery....
This is affecting Internet Explorer 6 and Internet Explorer7. Internet Explorer 8 behaves properly. All ...
How do i simulate and handle the server not responding error? And which case do u think it might occur, as when u request a page from the server and if its not responding wouldnt it throw page cant be displayed error?
...
When doing simple maths using now() ...
mysql>
select cdrstatuschangets from cdrs where ( cdrstatuschangets < now() - 10 );
+---------------------+
| cdrstatuschangets |
+---------------------+
| 2009-09-25 13:55:50 |
+---------------------+
1 row in set (0.00 sec)
show warnings;
Empty set (0.00 s...
In many cases in web applications you would need to return an error message, rather than simple true/false result. One would use exceptions for that, but I consider exceptions to be an indication of, you know, exceptional behavior. Let's take a Register() function for a class User for instance. If it was successful we can simply return t...
Hello all,
Is there a way I can count the number of errors/notices/warnings that a script has come across whilst executing?
I wish to do something like this:
Warnings: 125
Notices: 234
..etc
Thanks
...
If I add this piece of html to my page:
<script type="text/javascript">
var s = '</script>'
</script>
IE 7.0 shows a syntax error (exclamation mark in left bottom corner): "Unterminated string constant"
if I change just one letter (any) the error disappears - looks like IE doesn't like this particular word, including brackets.
Any ...
I have a PHP script and for some reason mysql keeps treating the value to select/insert as a column. Here is an example of my sql query:
$query = mysql_query("SELECT * FROM tutorial.users WHERE (uname=`".mysql_real_escape_string($username)."`)") or die(mysql_error());
That turns into:
SELECT * FROM tutorial.users WHERE (uname=`test`)...
Hi all,
How can I overwrite the default form error messages (for example: need them in other language) for the all apps in my project (or at least for 1 app)
Thanks!
...
My code is quite simple and straightforward. I get "wrong answer" on submission though. I have no clue why that happens! Here is the code...
#include<iostream>
#include<string>
using namespace std;
void sum(string num)
{
int i,len=num.length();
int j=len-1;
int carry=0;
string answer;
int s=0;
for(i=0,j;i<len;i++,j--)
{
...
I'm trying to run Cucumber for my Rails application and keep getting this error:
> superclass mismatch for class Point (TypeError)
There's a huge stack trace from this error, but it does not point to anything specific except a missing requirement. Here's the trace:
rake features (in /Users/rob/blue/blue_web)
/System/Library/F...
Hello, I'm quite new at flex and have been following a game tutorial. I've created a class named Bounce (Bounce.as) but when I try to compile, I get the above error. I've been searching forums and help, but the only people who seem to get this error is with HTTPServer. How can I specify to actionscript 3.0 that I want to use a created cl...
XML Parsing Error: no element found
Location: http://localhost/rss/
Line Number 1, Column 1:
However, when I paste the xml into http://validator.w3.org/feed/check.cgi , it say no formatting error.
FULL CODE AT BELOW:
index.php
<?php
header("Content-Type: application/xml; charset=ISO-8859-1");
$details = '<?xml version="1.0" en...
Not sure if that makes sense, but say I have this code...
$updateSql = oci_parse($conn, 'update "table" SET
"column"=:column where "Unique_Record_Id" = :Unique_Record_Id');
OCIBindByName($updateSql, ":Unique_Record_Id", $absenceData['Unique_Record_Id']);
OCIBindByName($updateSql, ":column", $column);
if(oci_execute($updateSql)){
// np...
Some of the sources I've checked already:
http://www.experts-exchange.com/Programming/Languages/.NET/Visual%5FBasic.NET/Q%5F23359339.html
http://mygreenpaste.blogspot.com/2006/03/net-framework-20-configuration-tool.html
http://support.microsoft.com/kb/186063
I'm busy developing .NET modules that will hook into our existing VB6 code. I'v...
I'm getting a 404 when trying to add a new module page. I'm apparently missing something fundamental here, being a newbie to Symfony. Can anyone point out what it is I'm missing?
Many thanks.
modules/admin/actions/actions.class.php
/* following executeIndex() */
public function executeSchedule()
{
if ($this->getRequest()->getet...
I'm using Apache HttpComponents Client to POST to a server that returns JSON. The problem is that if the server returns a 400 error, I seem to have no way of telling what the error was from Java (had to resort to a packet sniffer so far - ridiculous). Here is the code:
HttpClient httpclient = new DefaultHttpClient();
params.add(new Basi...
Hi,
I have a small GUI application developed with netbeans.
I used the 'clean and build' option to build an executable jar file. .jar file works in my pc. But when i sent the application to my friend he says that it throws 'cannot find the main class' error.
what could be the reason?
Thanks in advance...
...
In my webservice (WCF) i have this function
[OperationContract]
public ChooseViewData GetNcs(FilterArgument filter, int dossiersId, int usersId,
string token)
{
SessionInfo info = Tokens.CheckToken(usersId, token);
if (info.HasError)
{
//return null;
}
}
When i'm calling this function in my silverl...