pHp error? or Database hosed?

Found a bug? Tell us!!
Post Reply
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

pHp error? or Database hosed?

Post by Bobasaur »

[Updated 3/28/07] Just to verify...

When a white page is all that shows and html will display it is usually a pHp error, right? Permisssions (CHMOD) verified per docs and this forum.

The Host states pHp is fine, and the error is in the index.php that Serendiptity is creating... or is the database hosed?

The Host suggests there is a missing "?>" in many of the php files, but they don't exist in the last working backups I've got.

I've racked my head for several weeks now trying to figure it out. I appreciate any and all feedback and need a solution.


Thanks!

Bobasaur

! "Life is what happens when you're busy doing other things." John Lennon
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: pHp error? or Database hosed?

Post by garvinhicking »

Hi!

Yes, blank pages usually mean fatal PHP errors. PHP can be configured to NOT display errors in web pages, that is usually the error why you see nothing at all. In that case, errors will be logged to the php error log and/or the apache errorlog.
The Host suggests there is a missing "?>" in many of the php files, but they don't exist in the last working backups I've got.
A closing "?>" is always optional for PHP. We removed it in most files to not have problems when people save these files with extra linebreaks.

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Bobasaur
Regular
Posts: 17
Joined: Tue Jul 04, 2006 7:13 pm
Location: Shreveport, La.
Contact:

Re: pHp error? or Database hosed?

Post by Bobasaur »

garvinhicking wrote:Hi!

Yes, blank pages usually mean fatal PHP errors. PHP can be configured to NOT display errors in web pages, that is usually the error why you see nothing at all. In that case, errors will be logged to the php error log and/or the apache errorlog.
Thanks Garvin! What it boils down to is the database is hosed then. Other php works like phpadmin, etc. I'll reinstall and backup from the rss feeds.

I appreciate the feedback,

Bobasaur
Post Reply