On 08 November 2006 23:04, James Tu wrote: > Sorry...it was my own sillyness. After confirming that the .htaccess > file was indeed setting the include_path directory, it turns > out that > the class file was renamed and PHP could not find it. > > I'm surprised that PHP doesn't complain that it couldn't find the > file...then I started to comment out stuff in my .htaccess and it > turns out that the culprit for now displaying errors was: > > php_value error_reporting E_ALL > When I commented that out, PHP reported the errors. ugh! > > Can I set that parameter in .htaccess? Yes, of course -- but you need to take heed of the following CAUTION at http://uk.php.net/manual/en/configuration.changes.php: +-----------------------------------------------------------------+ | PHP constants do not exist outside of PHP. For example, in | | httpd.conf you can not use PHP constants such as E_ALL or | | E_NOTICE to set the error_reporting directive as they will have | | no meaning and will evaluate to 0. Use the associated bitmask | | values instead. These constants can be used in php.ini | +-----------------------------------------------------------------+ Cheers! Mike --------------------------------------------------------------------- Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning & Information Services, JG125, James Graham Building, Leeds Metropolitan University, Headingley Campus, LEEDS, LS6 3QS, United Kingdom Email: m.ford@xxxxxxxxxxxxxx Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php