I have a php script that connects to an api and posts our information to their systems, but when its trying to connect it throws an exception error, and I cant for the life of me work out why.
Whats interesting is that if I send it to a simple php script which just grabs the IP then it works, but if I send it to the API it doesnt :(
Th...
I'm programming an iPhone app using Objective-C.
Here's the error Xcode gives me:
error: assignment of read-only variable 'prop.149'
The code:
// Create CATransition object
CATransition *transition = [CATransition animation];
// Animate over 3/4 of a second
transition.duration = 0.75;
// using the ease in/out timing function
transit...
I'm having the following issue just trying to compile/run some of the example programs with the Boost Filesystem Library. I'm using MS-Visual C++ with Visual Studio .NET (2003).
I've installed the Boost libraries, version 1.38 and 1.39 (just in case there was a version problem) using the BoostPro installers.
If I just try to include...
I just enabled error reporting and wow what a shocker I have probably thousands if not hundreds of notices like this
Notice: Undefined index: action in C:\webserver\htdocs\header.inc.php on line 18
I understand that they are because I am calling a variable withoutsetting it or whatever but is there an easiar way to set for example if a...
Hello,
I'm trying to use document.ready in IE 8 and I keep getting an error that "The object does not support this property" when I load the page. I at the point where I'm simply trying to display an alert using document.read. Here is the code I'm using:
In the Head tag I load the jquery file
in the script tag, that is located j...
How does one catch/echo the insert results? I have a insertion statement that say that no errors occured but nothing is actually placed in the database.
...
For example:
on rising edge (reset):
sync = defaultValue;
...
... various processing constructs ...
...
if (event == someEvent) // Back at the Batcave
// The vilianous Fat finger Syndrome
// strikes again!
synch = someEventProcessing()
...
... various processing constructs ...
...
someSyncProcessing(sync) // Foiled again!...
I write this code
include('database.php');
function get_something() {
database instructions
}
function get_another(){
database instructions
}
and I try to fix by this
function get_something() {
include('database.php');
database instructions
}
function get_another(){
include('database.php');
database instructions
}
...
I have a page that will basically be used to concatenate a bunch of xml files, it will act as glue that binds them together. There's a small chance the xml files that are being combined might not be well formed because the user will have access.
I'm trying to basically rewrite a live file if there are no warnings / errors thrown in a sp...
I just can't for the life of me remember. We were setting up IPSEC for a VPN along time ago and added IPSEC that has always caused 1091 1085 errors. We are not using it so I would like to remove it but cant find where.
...
We're using Elmah in an asp.net 2.0 web app. Is there a way to disable the default Memory Log provider? In other words, we're logging to SQL Server and because of this we want to completely eliminate the MemoryErrorLog provider that is true by default.
Thanks,
Jason
...
I am using javascript and ajax the most in my project source. All functions are working well in firefox. But some of them are not working in ie 6 and 7 browsers. Mainly Delete is not working for any page in my project. I dont know how to resolve those bugs. And dont know how to see errors in ie browsers.. So Plz help me to resolve this i...
Is there some place where I can get a list of all Visual C++ compiler/linker errors/warnings? I am looking for both the error/warning number and the error/warning text that is displayed by the compiler. MSDN has them all, but they are linked to on individual pages.
...
hi
I usually use this line to import file from out of the current folder and it's work fine on my local host server
require("../DataBase.class.php");
but when I upload the script on my website I get this Warning
Warning:
include(../DataBase.class.php)
[function.include]: failed to open
stream: No such file or directory
...
This is driving me nuts, I can run this fine with code on the main timeline, but when I put this inside of my sub Class I'm getting the Compile time error and 1180: Call to a possibly undefined method.
This is the line causing all my grief: public var splashLoader:Loader = new Loader();
What I don't get is, inside my main class I'm usi...
Pretty vague title, but basically I can only get "my site" to load from one computer. I've purchased hosting and a domain name, set it all up, and there's nothing there yet, but the default directory browser thing shows up when I go to the url on my work computer, but from my home computer and a virtual machine it doesn't... what should ...
Is it possible to capture the contents of either the Firefox or IE javascript error console? I'm thinking adding a feature where when a user clicks the 'Report A Bug' link on my site, it also sends along the contents of the console, incase there are any useful errors in it. That way I don't have to tell them to manually open it and copy ...
While populating an array with data from a SimpleXML call, PHP throws exception to what it believes as 'Undefined' keys, however, the output is actually correct.
$doc = new SimpleXmlElement($http_result, LIBXML_NOCDATA);
$result = array();
$x = 0;
foreach($doc->users->user as $item) {
$result['user'][$x]['id'] .= $item->id;
$...
The standard Rails validation wraps my error-filled fields in a div of class fieldWithErrors.
How can I change it so that the erroneous element's parent gets assigned that class instead of having a new div created on the page?
EDIT:
Per this website, this wraps errors in spans instead of divs, which helps my formatting a little, but I...
I have a php application, that, when it encounters an error, will run a function that uses trigger_error() as well as uses the following function to return the error as JSON.
$this->returnError('My error');
In some places in the script, multiple errors occur, but only one gets returned, because the returnError() function will stop th...