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..