All my categories are blank

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

All my categories are blank

Post 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.
Anthony Campbell
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: All my categories are blank

Post 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
# 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/
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

Post 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?
Anthony Campbell
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# 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/
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

Post 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
~
Anthony Campbell
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

Post 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.
Anthony Campbell
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post 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.
Judebert
---
Website | Wishlist | PayPal
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

Post 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.
Anthony Campbell
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

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/
accampbell
Regular
Posts: 138
Joined: Fri Jun 09, 2006 8:59 pm
Location: London, UK
Contact:

Post 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
Anthony Campbell
Post Reply