 |
BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143
 | This is the forum to discuss the Wrox book Beginning PHP 6, Apache, MySQL 6 Web Development by Timothy Boronczyk, Elizabeth Naramore, Jason Gerner, Yann Le Scouarnec, Jeremy Stolz; ISBN: 9780470391143 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Beginning PHP 6, Apache, MySQL 6 Web Development ISBN: 9780470391143 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

February 17th, 2012, 08:37 AM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
php stopped handling errors
hello
I don't remember if my php installation had done this from the beginning or not (I work on 2 different computers) but it stopped handling my errors.
before if i forgot a ; mark then php would give an error telling me what was the problem. now the browser just cant find the page.
please help!
|
|

February 18th, 2012, 02:13 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2009
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
|
|
__________________
happy every time, happy every where
Reza Baiat
|
|

February 18th, 2012, 02:19 AM
|
|
Friend of Wrox
|
|
Join Date: Nov 2009
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
|
|
__________________
happy every time, happy every where
Reza Baiat
|
|

February 18th, 2012, 01:20 PM
|
|
Registered User
|
|
Join Date: Feb 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
I looked at both links- the error_reporting in php.ini was already active and I tried adding error_reporting(E_ALL); on the page I tested- doesn't help.
I even re-installing php. that didn't do anything either.
could it be Apache doing the problem?
edit-- I just added to my code the function phpinfo(); and again my browser shows me a blank page.
newer edit -- I just realized the reason it did the error was because the previous line didn't have a ; at the end. so why didn't that give me a error?
update-- just figured out that if i don't put a ; after include or require function- php doesn't even care. no blank pages and no error message.
I just read -http://gallery.menalto.com/node/41723. it says that "If your "Configuration File (php.ini) Path" section is listed as "C:\WINDOWS\" or anything that doesn't end in "php.ini", it means that PHP can't find your php.ini file." well after getting my phpinfo() function to work I have displayed:
Configuration File (php.ini) Path : C:\Windows
Loaded Configuration File: C:\Server\PHP\php.ini
my php.ini is located in C:\Server\PHP so what is "Configuration File (php.ini) Path : C:\Windows" all about? could that be the problem?
FIXED- apparently you have another configuration in the php.ini "display_errors" which was set to off. now it back to on- and everything is working fine. however my code still ignores me forgetting a ; after a include or require
Thanks irProject for the help anyway.
Last edited by gkman; February 19th, 2012 at 03:49 AM..
|
|

February 19th, 2012, 01:27 PM
|
|
Friend of Wrox
|
|
Join Date: Nov 2009
Posts: 156
Thanks: 13
Thanked 16 Times in 16 Posts
|
|
Other links toooo
I think below link will help you
http://php.net/manual/en/configuration.file.php
(linkman!!!) these links are because i don't know php configuration!
__________________
happy every time, happy every where
Reza Baiat
|
|
 |