p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 (http://p2p.wrox.com/forumdisplay.php?f=160)
-   -   Where does the error message go? (http://p2p.wrox.com/showthread.php?t=38956)

Wei Wang February 23rd, 2006 10:22 PM

Where does the error message go?
I installed XAMPP and executed each sample code in book "beginning Php5, apache, mysql web development" until I tried to execute table1-rev02.php in chapter 4. All I get is a blank screen. Can anyone help me find the error message so I can debug the problem? Many thanks for any help you can provide.

Wei Wang

wildteen88 March 13th, 2006 02:03 PM

When yo uinstall XAMPP, buy defualt it has a setting deisabled with is the display_errors setting. This can be set in php.ini file. Just open you php.ini file and find the following lines:

; server, your database schema or other information.
display_errors = Off

Now just change Off to On.

Now just save your php.ini file and restart Apache you should now get error messages if there are any errors with your code.

All times are GMT -4. The time now is 05:19 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.