php error logs

php error logs

Posted by: azel
Posted on: 2005-03-19 21:07:00

I am trying to get a php script to work, but I keep getting the message "blah.php cannot be displayed because it contains errors." Is there an error log someplace where I can read it to figure out what is going wrong?

Re: php error logs

Posted by: macmanx
Posted on: 2005-03-19 22:20:00

Access your account via FTP (or SFTP) and go to /logs/the-domain-in-question/http/error.log .

Re: php error logs

Posted by: azel
Posted on: 2005-03-20 09:08:00

Thanks a bunch macmanx. My search on the knowledge base didn't come up with anything. Maybe I didn't use the right keywords. :)

Re: php error logs

Posted by: nuuk
Posted on: 2005-10-09 16:59:00

Thanks for posting this. Why this doesn't come up in the knowledge base is beyond me. Also, I am unable to access the logs via SSH on my account. (I can access the log with FTP.) Has anybody else experienced this type of problem?

Re: php error logs

Posted by: ardco
Posted on: 2005-10-09 20:01:00

What about

https://panel.dreamhost.com/kbase/index.cgi?&command=search&keyword="error log"&area=1

search for "error log?"

Giving:

this

and this.

BobS

Re: php error logs

Posted by: ardco
Posted on: 2005-10-09 20:05:00

And don't forget the handy google site search:

http://www.google.com/search?q=site:panel.dreamhost.com/kbase/+"error+log"

Cheers,

BobS

Re: php error logs

Posted by: nuuk
Posted on: 2005-10-10 05:37:00

This post was helpful and I could tail the log when I got to the log via this path. I suppose that when I first went looking into the log folder I saw the "http" directory and thought it was the http access log and didn't pursue it.

https://panel.dreamhost.com/kbase/index.cgi/NSIDT_4XZuIjTPImrvEkXozQHL1KN1h2UwK9yBOPYnFQY_001305539?area=400

Thanks!

Tags: php errorphp scripterror logsblah