No output *at all* vom s9y anymore

Having trouble installing serendipity?
Post Reply
bleeb
Regular
Posts: 7
Joined: Fri Oct 23, 2009 11:57 am

No output *at all* vom s9y anymore

Post by bleeb »

Hi!

Today after I've edited (tried to use a symlink) a template file s9y totally stopped producing ANY output.

Even the administration pages are blank.

It does not produce any errors (server- and php-errorlog only show some warnings about timezone settings) either.

template_c is writable and smarty does produce files here - but appart from an HTML comment they don't contain any content.

I already tried a backup and upgrading to 1.4.1. To no avail.

Tried re-installing 1.4.1 - and the second the installation is over I'm back to blank screens.

Using php 5.3.0 on lighttpd on a rootserver - didn't touch anything on the server though.

*any* ideas?

edit: everything else on that server, including a different s9y installation(!), runs perfectly fine.

edit2: setting the working s9y installation to use the database of the defunct one produces no output, too. So there must be something blown up in the tables. No errors though. any ideas?


edit3: reverting to PHP5.2.11 seems to have solved this issue.. probably a strange PHP 5.3.0 bug.
Thanks, sorry, close.
hyejohn
Regular
Posts: 37
Joined: Mon Jun 22, 2009 4:04 pm
Location: Michigan, USA
Contact:

Re: No output *at all* vom s9y anymore

Post by hyejohn »

Were you getting output? (If you "View source", was there anything there?)
~John
That Photographer guy in Michigan
bleeb
Regular
Posts: 7
Joined: Fri Oct 23, 2009 11:57 am

Re: No output *at all* vom s9y anymore

Post by bleeb »

nope, no output.

Some 500 Internal Server Errors though...

which might proof it's not s9y's fault anyway.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: No output *at all* vom s9y anymore

Post by garvinhicking »

Hi!

Note that for PHP5.3 you should use serendipity 1.5

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/
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: No output *at all* vom s9y anymore

Post by Don Chambers »

Just ran into the same thing myself... did not revert php from 5.3.0, instead used the latest 1.5 beta 2.
=Don=
bleeb
Regular
Posts: 7
Joined: Fri Oct 23, 2009 11:57 am

Re: No output *at all* vom s9y anymore

Post by bleeb »

Thanks, problem has now *really* been solved and was quite stupid:

php (up to and including 5.3.0!) dies silently if it's errorlog grows to the size of 2GB.

Since s9y (and smarty) log a GIANT HEAP of "deprecated" messages (which are tricky to get rid of) it made php's errorlog grow to this legacy 2GB limit before the log was rotated.

My own code didn't throw deprecated messages, so it seemed like only s9y wouldn't run.
larsent
Posts: 2
Joined: Tue Nov 10, 2009 4:16 pm

Re: No output *at all* vom s9y anymore

Post by larsent »

I'm getting the same output (none - but a 500 server error).

It's a fresh install of 1.5 beta. All I did was copy the files over, and make the 3 folders mentioned in the install docs, as well as the main install folder chmod 777. (I tried 775 as well).

It just displays a blank page.

I have no .htacess because there isn't one in the download file. Am I supposed to make one?

Also - am I supposed to modify the config file before running the index.php?

In the installation docs, all it says is to upload the files, check the permissions and run the index.php file which is what I did. Am I missing anything?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: No output *at all* vom s9y anymore

Post by garvinhicking »

Hi Larsent!

A blank page usually means a PHP Fatal Error. Check your CGI oder PHP Error log output for specifics. Usually it's corrupted file, missing read privileges or an incompatible PHP Version.

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/
larsent
Posts: 2
Joined: Tue Nov 10, 2009 4:16 pm

Re: No output *at all* vom s9y anymore

Post by larsent »

Sorry to sound like an idiot, but how do I check the php error logs?

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

Re: No output *at all* vom s9y anymore

Post by garvinhicking »

Hi!

You could ask your server provider; or try to create a .htaccess file (or edit the existing one) and inserT:

Code: Select all

php_value display_errors on
php_value error_log ./php-error.log
If that doesn'T help, you'll need to contact your server provider and ask him where the logs are stored and if you can have access to them. Also make sure you mention "PHP error logs" specifically, because they are not the same as Apache error logs.

HTH,
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