Page 1 of 1

All my categories are blank

Posted: Thu Nov 01, 2007 4:11 pm
by accampbell
I have seven categories and a number of posts in each. However, I've just noticed that if I select any of them I get a message saying nothing is printed.

I'm using the current version of Serendipity. I haven't looked at any of the categories for some time so I don't know how long it's been like that.

Re: All my categories are blank

Posted: Fri Nov 02, 2007 12:11 pm
by garvinhicking
Hi!

Which s9y event plugins are you using exactly? Did you change anything in the s9y permalink configuration? How does your .htaccess file look like?

Regards,
Garvin

Posted: Fri Nov 02, 2007 12:47 pm
by accampbell
Permalinks: categories/%id%-%name%

I don't think I've changed this recently

Event Plugins: Just those that came with Serendipity

I can't actually see any .htaccess. Perhaps this is the problem?
What should I do about it?

Posted: Fri Nov 02, 2007 1:05 pm
by garvinhicking
Hi!

If there's no .htaccess file, that's fine.

Could it be you upgraded your s9y version from 1.0 or so to 1.2? It might be that you are missing a DB update of your serendipity_categories DB table. In that case you might need to re-execute the update by editing your serendipity_config_local.inc.php file, setting the versionInstalled string to the version installed before ('1.0'?), go to your s9y admin panel and make sure that it lists *.sql files that are getting executed.

Regards,
Garvin

Posted: Fri Nov 02, 2007 1:16 pm
by accampbell
Sorry to be dense - I've now found that I DO have an .htaccess.

Here it is:
# BEGIN s9y
DirectoryIndex /serendipity/index.php
php_value session.use_trans_sid 0
php_value register_globals off

<Files *.tpl.php>
deny from all
</Files>

<Files *.tpl>
deny from all
</Files>

<Files *.sql>
deny from all
</Files>

<Files *.inc.php>
deny from all
</Files>

<Files *.db>
deny from all
</Files>

# END s9y
~

Posted: Fri Nov 02, 2007 1:42 pm
by accampbell
I've just noticed that my serendipity_config_local.inc.php has different permissions from the other files (rwx instead of rw----r)

Is this the problem? Unfortunately i don't seem able to change it with ftp.

Posted: Fri Nov 02, 2007 1:56 pm
by judebert
Nope; those are permissive enough to allow s9y to work, and we don't check the permissions first.

Have you tried to re-execute the database update that Garvin posted above? It's pretty simple, and it matches your symptoms.

Posted: Fri Nov 02, 2007 2:20 pm
by accampbell
I can't do anything with serendipity_config_local.inc.php.

I can't fetch it with ftp so I can't edit it or do anything else.

I seem to be stuck.

Posted: Fri Nov 02, 2007 2:36 pm
by garvinhicking
Hi!

Check the FAQ on "fixperm.php", that might help you out to set permissions?

Regards,
Garvin

Posted: Fri Nov 02, 2007 3:09 pm
by accampbell
Thanks, Gavin - you've come up trumps as usual!
I did as you suggested, used fixperm.php and now my categories are working correctly.

Thanks again,

Anthony