Weird problem

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
tkarkkainen

Weird problem

Post by tkarkkainen »

When I try to read my blog (or access anything inside the blog directory), this is what happens with different browsers:

*Opera shows the download file dialog
*Firefox does nothing
*IE gives a "page cannot be displayed"

I have absolutely no idea what to do. I installed s9y on Wednesday, and the problem was first seen on Thursday. Between these I don't recall making any radical changes.

I already contacted the host. Their advice was 1) check the php file and 2) check the .htaccess.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Weird problem

Post by garvinhicking »

It would help if you give us the URL to your site, so that we can see the problem.

It must be a template/CSS/Header issue, I think.

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/
tkarkkainen

Post by tkarkkainen »

garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, something is definitely wrong.

Rename your .htaccess file to "temp_htaccess" and see if it works then? If it does not work, you will need to contact your server admin and ask him for Error logfiles of Apache/PHP.

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/
tkarkkainen

Post by tkarkkainen »

I have access to the logs myself. The error log is empty.
tkarkkainen

Post by tkarkkainen »

Oh, and I already forgot to mention that renaming .htaccess did not help.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Getting an empty page like yours usually means that PHP creates a coredump or the webserver creates an error!

If you were running a version lower than Serendipity 0.8.3, you might have got hacked?

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/
tkarkkainen

Post by tkarkkainen »

I'm using 0.8.4, and I find hacking a very unlikely reason. The domain was registered last Tuesday, and I don't believe any cracker would have found the site so rapidly.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Okay, and 0.8.4 should be secure. Well, you will need to inspect your server logs - it all points to a coredumping PHP or database layer.

Inspect your server's syslog and look out for dead children; did you look at both the Apache Errorlog AND the PHP Errorlog? You did enable PHP errorlogging with a high error_level?

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/
tkarkkainen

Post by tkarkkainen »

I contacted the host for additional logs, so far no answer. I think I'm going to reinstall s9y and see if it'll work then.

Now that I think more carefully, I did enable use of mod_rewrite last night. However, renaming the .htaccess should help if this was the cause, shouldn't it?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Actually when you rename the .htaccess, you should be able to log into your blog on http://blog/serendipity_admin.php again. But you would still need to go to the configuration and set Rewriting to "Off" again, so that the frontend can work again...

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/
Post Reply