Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 45 results for
customerror
- Page 1
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
… RECORD AND SEND MAIL. */ // *********** STEP #1 (
CUSTOMERROR
() FUNCTION) BEGIN ********** function
customError
($errno, $errstr, $errfile, $errline) { // ECHO USED… // END ERROR FUNCTION } //SET ERROR HANDLER set_error_handler("
customError
"); // TRIGGER ERRORS WITH CALLS TO NON-EXISTENT VARIABLES --…
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
… RECORD AND SEND MAIL. */ // *********** STEP #1 (
CUSTOMERROR
() FUNCTION) BEGIN ********** function
customError
($errno, $errstr, $errfile, $errline) { // ECHO USED… // END ERROR FUNCTION } //SET ERROR HANDLER set_error_handler("
customError
"); // TRIGGER ERRORS WITH CALLS TO NON-EXISTENT VARIABLES --…
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by hielo
… THEN INSERT RECORD AND SEND MAIL. */ // *********** STEP #1 (
CUSTOMERROR
() FUNCTION) BEGIN ********** function
customError
($errno, $errstr, $errfile, $errline) { // ECHO USED FOR …mess2); } } } // END ERROR FUNCTION //SET ERROR HANDLER set_error_handler("
customError
"); // TRIGGER ERRORS WITH CALLS TO NON-EXISTENT VARIABLES -- FOR…
Re: Help with PHP and SQL SELECT
Programming
Web Development
12 Years Ago
by jpadgett
… INSERT RECORD AND SEND MAIL. */ // *********** STEP #1 (
CUSTOMERROR
() FUNCTION) BEGIN ********** function
customError
($errno, $errstr, $errfile, $errline) { // ECHO USED FOR… } } } // END ERROR FUNCTION //SET ERROR HANDLER set_error_handler("
customError
"); // TRIGGER ERRORS WITH CALLS TO NON-EXISTENT VARIABLES -- FOR…
Allowing multiple adds to SQL database
Programming
Web Development
15 Years Ago
by 0weavern
…"; } // Form Custom Validate event function Form_CustomValidate(&$
CustomError
) { // Return error message in
CustomError
return TRUE; } } ?> [/code] Now I only need…
Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
… believe that is where my problem lies. I have a
customError
script that extracts the last 5 errors from the database… array?please advise me here $errstr below is part of
customError
function and is what I am checking for*/ if(!in_array…
Python Stacks
Programming
Software Development
12 Years Ago
by dolphinaura
If I am creating an exception class, along with a stack [CODE]class
CustomError
(Exception): def __init__(self): self.contents=[] print "Stack Created"[/CODE] How can I make it so that if [CODE]x=
CustomError
()[/CODE], the stack contents will be [code] x.historical.contents [/code], not [code] x.contents[/code]?
Re: Python Stacks
Programming
Software Development
12 Years Ago
by ihatehippies
… the attribute 'contents' [CODE=python] class container(object): pass class
CustomError
(Exception): def __init__(self): self.historical = container() self.historical.contents…
setting the web.config file
Programming
Web Development
17 Years Ago
by Sarah Lee
… accross some questions [/COLOR] [COLOR=navy]I have set the
customerror
mode to renote only, and defaultredirect to a asp.net…
Error Trying to Use Log In on Web Site
Programming
Web Development
12 Years Ago
by jobojo
…;/compilation> <customErrors mode="Off" defaultRedirect="
CustomError
.aspx"/> <pages theme="Standard">…
Web Config File CustomError
Programming
Web Development
10 Years Ago
by Sumith Asanka
Hi Guys i have this error in my asp.net 4.0 application , i am strugling to find out why it is working perfect on my local iis server, but throws this error on web iis server Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" …
Re: Web Config File CustomError
Programming
Web Development
10 Years Ago
by JorgeM
If your web.config file is saved in the root directory and you have customErrors, set to off, you should be seeing the actual error instead of the message above. It has to be in the root directory
Re: Web Config File CustomError
Programming
Web Development
10 Years Ago
by Sumith Asanka
Hi JorgeM Here i am sending 2 screen Shots on My Lcal PC Published folder and FileZila on Web server just see whether you can see any problem there ?
Re: Web Config File CustomError
Programming
Web Development
10 Years Ago
by Sumith Asanka
Yet I get this error, just got fedup with this error
Re: Web Config File CustomError
Programming
Web Development
10 Years Ago
by JorgeM
You are going to have to contact the provider to figure out what's going on, or if they are overriding your web.config file settings. Again, if you have customErrors, set to off, you should be seeing the actual error instead of the message above.
Re: Deploying ASP.Net Pages and Database
Programming
Web Development
14 Years Ago
by amitshrivas
…;customErrors mode="Off" />[/QUOTE] if i set
CustomError
mode="off" then it will give me Parser… Exception and if i set
CustomError
mode="remoteOnly"|"On" then it will…
Re: Web service and application
Programming
Web Development
14 Years Ago
by kvprajapati
…] Your application throws an exception. To get exception trace set
customError
markup. The error shows that you are not on the…
Re: Displaying ASP.net pages in other PC
Programming
Web Development
11 Years Ago
by JorgeM
The page you are seeing is telling you exactly what to do to see the error. If you want to see the error that is being generated, edit your web.config file and update (or add this line if you do not have any
customError
settings) the customErrors as shown in line #14
Re: Error when I am hosting my ASP.NET sites
Programming
Web Development
8 Years Ago
by Robert_10
…:\Project to the server via FTP Please also add a
customError
tag on your web.config so that you can view…
Re: Allowing multiple adds to SQL database
Programming
Web Development
15 Years Ago
by death_oclock
That massive amount of code is a huge turnoff for potential help. Can you post the relevant parts? And it would help if you could be more specific with your problem. (Not more wordy, as some people seem to think)
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by hielo
on line 29 of first block and line 39 of second block you have: [iCODE]$result=mysql_[COLOR="Red"]db_[/COLOR]query([COLOR="Red"]errorfile[/COLOR],"$SQL");[/iCODE] a. [iCODE]mysql_db_query()[/iCODE] is deprecated. Use [iCODE]mysql_query()[/iCODE] instead. b. Regarding the first argument to the function did you mean […
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
[QUOTE] Thanks! I'll try the mysql_query() instead. Obviously , I am out of touch with the new practices in sql. Just so you know, I am still using MySQL 3.12 and not 5.x. I need an update for sure. errorfile is the name of my database, and $errfile is an argument in the error function. And the last, what you are saying is besides my string where …
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
Still not working correctly, I tried your suggestions with no luck. [QUOTE=hielo;1542716]on line 29 of first block and line 39 of second block you have: [iCODE]$result=mysql_[COLOR="Red"]db_[/COLOR]query([COLOR="Red"]errorfile[/COLOR],"$SQL");[/iCODE] a. [iCODE]mysql_db_query()[/iCODE] is deprecated. Use [iCODE]…
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by baseballfury
You've already connected to the database before initiating the 'if' statement so why are you connecting again if number!=0??
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by ko ko
What error are you receive ? Post the error message. So, we can approach the problem quickly.
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
[QUOTE=Zero13;1542914]What error are you receive ? Post the error message. So, we can approach the problem quickly.[/QUOTE] I'm not getting any error with this code everything is syntactically correct. My problem is that I am not getting my desired results. My logic is wrong somewhere and I think maybe in the way that I store the results into the…
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
[QUOTE=baseballfury;1542913]You've already connected to the database before initiating the 'if' statement so why are you connecting again if number!=0??[/QUOTE] You're right! I will change that I have been moving code around cutting and pasting and overlooked it.
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by ko ko
[QUOTE]while($info = mysql_fetch_array( $data )) { $str[] = $info[0]; $timer[] = $info[1]; }[/QUOTE] Check these array. It must be mysql table field name like '$info["field_1"]', '$info["field_2"]'.
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by jpadgett
I'll try it out. [QUOTE=Zero13;1543646]Check these array. It must be mysql table field name like '$info["field_1"]', '$info["field_2"]'.[/QUOTE]
Re: Help with PHP and SQL SELECT
Programming
Web Development
13 Years Ago
by baseballfury
on line 137 is an 'IF' statement. Should this be nested inside the 'else if' on line 113. Cause at the moment it's inserting regardless of what $number equals.
1
2
Next
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC