Categories sort of missing

Found a bug? Tell us!!
Post Reply
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Categories sort of missing

Post by Hathor »

I just upgraded to 9.1, and had some problems, but seemed to get everything straightened out in the end. But today, when I went in to post an entry, the admin interface is showing I have no categories. They're also missing from the sidebar on the actual blog. And yet the appropriate categories show up in the footers for each post, and the links work just fine. My categories ARE still intact in the database.

I think it's a path setting because I noticed my archive links are going to "http://2005..." and leaving my blog URL out completely. I looked at my paths in the config panel, and ight below my Permalink structures and above the "path to authors", it says:

Path to archives
Path to archive
Path to categories

All three have just a / in the field after that. So maybe the category path is wrong? And should both of the first two even be there? It seems redundant. I'm afraid to tinker with these, without knowing what's supposed to be in them, or if this is even the problem.

I think the rest of my paths are right - feeds and the search function seem to work, for example.
falk
Regular
Posts: 512
Joined: Tue Sep 27, 2005 10:16 am
Location: DD
Contact:

Post by falk »

Write in this fields the relative urls to your blog and test it, e.g. /myblog/ or so.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Well, my blog is in the main folder (public_html), so I guess "/" would be the relative URL, unless I'm not understanding you (which is very possible). And that's what is already in there, that's not working.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

The problem might be my htaccess file. My host won't let me set permissions to anything above 666 on it. So maybe if I could just see what the htaccess needs to look like for 9.1, that would solve the problem.

What I have, left over from the old version, is:

RewriteEngine On
Options +FollowSymLinks
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^bluemushrooms\.com$
RewriteRule (.*) http://bluemushrooms.com/$1 [R=301,L]

# BEGIN s9y
ErrorDocument 404 /index.php
DirectoryIndex /index.php
php_value session.use_trans_sid 0
php_value register_globals off

RewriteBase /
RewriteRule ^(article/[0-9a-z\.\_!;,\+\-]+\.html) index.php?/$1 [L,QSA]
RewriteRule ^(author/[0-9a-z\.\_!;,\+\-]+) index.php?/$1 [L,QSA]
RewriteRule ^(feeds/categories/([0-9;]+)-[0-9a-z\.\_!;,\+\-]+\.rss) index.php?/$1 [L,QSA]
RewriteRule ^(category/([0-9;]+)-[0-9a-z\.\_!;,\+\-]+) index.php?/$1 [L,QSA]
RewriteRule ^([/A-Za-z0-9]+)\.html index.php?url=///$1.html [L,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html index.php?url=$1-article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^approve/(.*)/(.*)/([0-9]+) index.php?url=approve/$1/$2/$3 [L,QSA]
RewriteRule ^delete/(.*)/(.*)/([0-9]+) index.php?url=delete/$1/$2/$3 [L,QSA]
RewriteRule ^(admin|entries)(/.+)? index.php?url=admin/ [L,QSA]
RewriteRule ^$ index.php?url=// [L,QSA]
RewriteRule ^(index|atom[0-9]*|rss|b2rss|b2rdf).(rss|rdf|rss2|xml) rss.php?file=$1&ext=$2
RewriteRule ^(plugin|plugin)/(.*) index.php?url=$1/$2 [L,QSA]
RewriteRule ^search/(.*) index.php?url=/search/$1 [L,QSA]
RewriteRule ^(serendipity\.css|serendipity_admin\.css) index.php?url=/$1 [L,QSA]
RewriteRule ^index\.(html?|php.+) index.php?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) index.php?url=/$1 [L,QSA]

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

Post by garvinhicking »

These are the default settings you should have in your Permalinks setup:

archives/%id%-%title%.html
authors/%id%-%realname%
categories/%name%
feeds/categories/%id%-%name%.rss
feeds/authors/%id%-%realname%.rss
archives
archive
categories
authors
unsubscribe
delete
approve
feeds
plugin
admin
search

That you are not seeing categories might be a permission thing. It seems your useraccount does not have read/write privileges for any categories.

How did you upgrade? Maybe you are missing some things in your usergroup setup?!"

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I changed the settings as you advised. It then gave me the code to paste into my htaccess file, which I did. It corrected my archive links on the front page, but the categories are still not there.

My useraccount lists me as an administrator, and in "manage groups", administrators have EVERY checkbox checked. So it appears that's all in order.

I have that "Category Assignment" plugin that lets me assign more than 1 category. I just got the latest version of it - maybe there's something not set to work with it somewhere?

The way I upgraded was: I uploaded all the files by FTP, set the permissions as best I could, then ran the upgrade script, which said I didn't need any upgrades to the database.
Last edited by Hathor on Fri Dec 09, 2005 11:33 pm, edited 3 times in total.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Nope. Nothing seems to work.

I just tried deleting all my files and re-uploading them again. No good. Would you like a login, so you can take a look at it for yourself?

When I try to create a category, it acts like it's creating them, but then it doesn't. It even does things like not allowing me to create categories that already exist - so it's definitely interfacing with the database. It's just ignoring them the rest of the time.

And when I just now saved a new entry (to no category), I got the following message:
Sending XML-RPC ping to host rpc.pingomatic.com...

Fatal error: Cannot instantiate non-existent class: xml_rpc_value in /home/bluemus/public_html/plugins/serendipity_event_weblogping/serendipity_event_weblogping.php on line 180
That may be a totally separate problem, but I've had issues with the plugin folder and permissions before.
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

One additional thought: in my admin panel, when I click "Category Assignment" from the sidebar, I get this error message:

"Warning: Invalid argument supplied for foreach() in /home/bluemus/public_html/plugins/serendipity_event_assigncategories/serendipity_event_assigncategories.php on line 135"
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

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

Post by garvinhicking »

I'll write you a mail to resolve this issue, as I'll need access to your blog.

I'm sure we can fix it somehow. Will report back here.

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/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

Thanks. Got your email, and have responded with (I hope) the access info you need. I know you'll figure this out. :)
Post Reply