![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Apr 2004
Location: Montreal
Posts: 799
|
![]() What's the code I need to put in the top of my page I want to debug to see the errors ?
<? ini_set("error_reporting", E_YOUR_ERROR_LEVEL); echo ini_get("error_reporting"); ?> and error_reporting(E_ALL); error_reporting(E_PARSE); doesn't works ...
__________________
I have nothing to advertise ... yet. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Jun 2005
Location: NoCal
Posts: 184
|
error_reporting(E_ALL); will work However, that will only show you parsing errors or using variables that are not set, and things like that. It will not show you logic errors -- that you need to debug yourself, usually by outputting variables in your script. I recommend using http://www.php.net/var_dump
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Mar 2003
Location: Pornblogspace.com
Posts: 334
|
try this:
ini_set('display_errors',E_ALL); ini_set('display_startup_errors',1); and make sure somewhere down the line in your script you are not turning off the debugging..
__________________
![]() Superior Blogging Scripts | Porn Blog Space - not just another free blog hosting! |
![]() |
![]() ![]() ![]() ![]() ![]() |