Current location: Hot Scripts Forums » Programming Languages » PHP » Display errors while "display_errors=off"


Display errors while "display_errors=off"

Reply
  #1 (permalink)  
Old 02-24-06, 11:18 AM
dave111 dave111 is offline
Wannabe Coder
 
Join Date: Jul 2003
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Display errors while "display_errors=off"

Is there anyways to get a file to display errors, even if display_errors is turned off in the php.ini?

I dont have access to the php.ini, and its near impossible to debug the script without seeing the errors.

(And i want to see the full error, not just an integer)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 02-24-06, 11:26 AM
dave111 dave111 is offline
Wannabe Coder
 
Join Date: Jul 2003
Posts: 136
Thanks: 0
Thanked 0 Times in 0 Posts
Nevermind, I added:

Code:
php_flag display_errors on 
php_value error_reporting 7
to the .htaccess and it works fine now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting image to display via asp form Anessa ASP 3 08-25-05 09:32 AM
Useful PHP errors in OS X kjmatthews PHP 1 04-04-05 10:44 AM
How to display from $a line to $z line ? websnow PHP 6 12-22-04 06:34 PM
Image display based on URL rjwebgraphix PHP 5 09-09-04 09:02 AM
Disable form fields to be submitted RickyRod JavaScript 2 05-24-04 11:15 AM


All times are GMT -5. The time now is 12:39 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.