I'm using a BSD system at the moment which isn't giving me any clues as to where any errors are in the code.
This is my output at the moment
"Errors parsing x.php"
I've tried setting "error_reporting(E_ALL);". but that gives the same output.
I'm using Vim to edit with.
Regards,
PHP error checking
Moderator: General Moderators
- CoderGoblin
- DevNet Resident
- Posts: 1425
- Joined: Tue Mar 16, 2004 10:03 am
- Location: Aachen, Germany
I know nothing about BSD but in general...
Have you also set:
If you are getting true parser errors (white screen when displaying HTML) then this will not work either. The only solution I have found to this (other than my Eclipse IDE highlighting it) is to comment out "suspected" parts until I get something working. Then gradually uncomment out bits until it stops working, then investigating this code more closely.
Other soloutions include looking in the logs, or using "php -f filename.php" on the command line if available.
Have you also set:
Code: Select all
ini_set('display_errors', TRUE);Other soloutions include looking in the logs, or using "php -f filename.php" on the command line if available.