errors

PHP not displaying errors

I have a small script which im using to test PHP mail(), as below: <?php error_reporting(E_ALL); ini_set("display_errors",1); mail('[email protected]','test','test') or die('could not send') ; echo "Mail Sent"; ?> When I run this script I get no output at all. I don't get an error, I dont get anything echoed, I view the source, nothing. Ive...

errors from localhost to real site

hi, i was working on the localhost and every thing was just fine, but when i upload to my site it get alot of errors why is that ? (sorry for my bad english) ...

use MFC in static library compile errors vs2008

Hi, when all working project get modified by statically linking MFC (before was shared) this errors raised trough compiling: Error 36 error LNK2001: unresolved external symbol __imp____p__iob mysys.lib Error 37 error LNK2019: unresolved external symbol __imp____p__iob referenced in function __db_push_ libmysql.lib Error 38 error ...

How does ruby's rb_raise stop the execution of the c function calling it?

If you write a ruby method as a function in C that uses rb_raise, the part of the function after the call will not get excecuted and the program will stop and you will think that rb_raise used exit(). But if you rescue the exception in ruby, like: begin method_that_raises_an_exception rescue end puts 'You wil still get here.' The ru...

error_messages_for and redirect

I know, if i will write "redirect_to" instead of "render :action", i'll lose my @object's errors. My code: def play @room = params[:id][0,1] @current_players = CurrentPlayer.all(:conditions => {:room => @room}) end def join @new_player = CurrentPlayer.new(:user_id => current_user.id, :team_id => nil, :room => params...

How to disable localization of errors in Visual Studio?

I use Visual Studio 2008 and it really makes me crazy how it shows error messages (in Error List window, Output window - especially exceptions) partially in English and partially in my native language. Interestingly, it is worse in WPF than in WinForms project. I've read here that it is about Culture of the running thread (so that the pr...

Android Debugging with Logcat and Emulator. Is it possible?

This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I have Logcat on my android phone, but the process of getting the messages to somewhere readable isn't smooth at all. Can someone tell me how to get Logcat running on the emulator? Is there anything I can do to see debug messages other then having to copy the ...

Applying a function that may fail to all values in a list

I want to apply a function f to a list of values, however function f might randomly fail (it is in effect making a call out to a service in the cloud). I thought I'd want to use something like map, but I want to apply the function to all elements in the list and afterwards, I want to know which ones failed and which were successful. ...

ArgumentError: Error #1063: Argument count mismatch on com.flashden::MenuItem(). Expected 1, got 0.

I keep getting the below error only in firefox ArgumentError: Error #1063: Argument count mismatch on com.flashden::MenuItem(). Expected 1, got 0. at flash.display::Sprite/constructChildren() at flash.display::Sprite() at flash.display::MovieClip() at com.flashden::Preview() Below is my menu script: package com.flashden { import ...

What's with the random Javascript errors?

I'm developing a site in javascript and jquery. Sometimes when I refresh I just get different random errors in firebug. What's the deal? edit: I'm getting errors like a variable isn't defined, when clearly it is and working, and when i refresh again, the error is gone.. using Firefox V3.5.5 Firebug V.1.5.3 and I'm primarily working w...

PHP doesn't show any kind of errors

Hello everybody I have a PHP server at home for development. It is running: Ubuntu 9.10 Apache 2.2.12 PHP 5.3.2-0.dotdeb.1 MySql 5.0.7-dev Currently the settings in the php.ini for displayiong errors are: display_errors = on error_reporting = E_ALL But I do not see any errors in my php script. Also very strange is that phpinfo() s...

jQuery compression leads to errors

Hi, could someone please explain when I have a jquery script which runs fine with no errors and then compress and upload it then returns errors? Much appreciated. EDIT The only error im getting using jsLint is: Error: Implied global: $ 3,25,27,28,31,32,34,35,36,38,45,46,47,49,50,61,63,64,65,67,71,75,79,83,87,91,94,95,96,98,101,102,10...

GCC Linking time errors - No rule to make target

Hi Guys, I'm new to the world of Makefile writing. I have a C project which I want to build using GCC and I could write fairly a very good Makefile, which calls 3 other Makefiles, present in different directory structure of the project, recursively, who will then send the respective source files to the GCC compiler. The result of ...

Getting an occasional error calling WebServices

I have a ClickOnce app that calls WebServices on the server (standard ASMX style, not WCF). Occasionally, the users get this error: System.Reflection.TargetInvocationException: An exception occurred during the operation, making the result invalid. Check InnerException for exception details. System.Net.WebException: Unable...

Site monitoring tool to look for javascript errors

I am currently working on a site that includes javascript code that we get from several different sources and need to run on the site I maintain. Every once and a while some of this code breaks without our knowing until its too late. Is there a monitoring tool that will crawl our site and look for javascript errors and report them or cou...

build errors with Crypto++ on iphone

I am trying to build Crypto++ for iPhone but encountering issues. I managed to get it to build to the device by removing a few .asm files and test.cpp but two issues: 1) the simulator gets build errors relating to: {standard input}:13583:suffix or operands invalid for `call' 2) there are hundreds of warnings (kind of annoying) Has a...

C++ destructors causing crash's

ok, so i got a some what intricate program that simulates the uni systems of students, units, and students enrolling in units. Students are stored in a binary search tree, Units are stored in a standard list. Student has a list of Unit Pointers, to store which units he/she is enrolled in Unit has a list of Student pointers, to store st...

PHP turn off errors - in one file only

Hi! I am well aware about error_reporting(0); & ini_set('display_errors', "Off"); to make error messages go away. What would be an appropriate way to do this - for a specific file or part of code only? Surpressing errors with @'s seems like a bad idea since it apparently slows the code down... The reason? We have a number of memcach...

Powershell 2.0 - Running scripts for the command line call vs. from the ISE

Hi, After writing deployment scripts from within the ISE, we need our CI server to be able to run them automatically, i.e. from the command line or via a batch file. I have notice some significant differences between the following calls: powershell.exe -File Script.ps1 powershell.exe -Command "& '.\Script.ps1'" powershell.exe .\Script...

Spry Collapsible Panel within Collapsible Panel, inconsistent errors.

Hello everyone it is me again with another question. The booking system located here http://www.divethegap.com/scuba-diving-programmes-dive-the-gap/divemaster-training.php?cat=16 There are 3 main collapsible panels controlled by the spry framework. There are then over a dozen more inside the first collapsible panel as you can see on tha...