2008年7月29日星期二

Re: [fw-db] Using the Zend_Db_Table to return referenced row values

dele454 wrote:
>
> i cant remember you suggesting that. Must have been to someone else. Do I
> have to check apache's log files for that? Sorry if i sound so naive. i
> 'll really love to know how to do this. Instead of posting stuff every now
> and then.
>

Yes, a typical configuration is for PHP errors to be captured in Apache's
error log (note the difference between the error log and the access log).
Where these files reside depends on your local Apache configuration.

When I'm developing in PHP (or any other web scripting language) I open
another terminal window, run "tail -f" on the Apache error log file, and
leave that running continuously as I test the PHP scripts. If there are no
errors, this monitoring of the error log doesn't move. If there are errors,
I see them immediately. Sort of the "old-school" equivalent of an IDE. :-)

It's not a problem that you don't know certain things. I never fault anyone
for not knowing, because everyone has to start somewhere. My wife sums it
up nicely, she says, "nothing about computers is 'intuitive'" (she's been a
programmer for many years in Oracle PL/SQL, Java, Perl, & PHP).

And also I admit the PHP documentation online is not clear about where to
find the error output. In fact, I just tried to search for an article on
troubleshooting PHP errors to give you some reading, and found very little
available. Lots of articles about how to configure PHP to output errors to
custom locations, or how to use PHP error-reporting functions, but not much
about where the output goes by default.

Regards,
Bill Karwin
--
View this message in context: http://www.nabble.com/Using-the-Zend_Db_Table-to-return-referenced-row-values-tp18688983p18722740.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: