Page 1 of 1
No categories after upgrade to 0.9
Posted: Wed Nov 02, 2005 11:19 pm
by xavier
I've done the upgrade to 0.9 and I've lost my categories. In fact, they are still here but I can't see them in the administration or in the blog.
All my old items are still linked to my categories and when I try to create an existing category, the system tell my the category already exists
Do you have a clue of what happen?
Many thanks in advance for your help
Re: No categories after upgrade to 0.9
Posted: Thu Nov 03, 2005 10:24 am
by garvinhicking
It seems that your s9y user has no permissions to access the categories.
With which userlevel are you logged in, and how did you perform the upgrade? It seems that your proper permissions where not migrated. Depending on how you performed the upgrade I can tell you how to fix that.
Regards,
Garvin
Re: No categories after upgrade to 0.9
Posted: Fri Nov 04, 2005 7:43 am
by xavier
With which user I'm connnected?
I am connected with administrateur user
From which version I've done the upgrade
I was using 0.8.5 before but I was not using groups with that version
How I've done the upgrade
1. I remove my old files on my server (except upload directory)
2. I connect to my blog (not the administration tool)
3. I followed the instructions and everything went right
I hope those details will help but feel free to telle me if you need more details
PS: I think the problem is the same as the one I have on my other post:
http://www.s9y.org/forums/viewtopic.php?t=3346. So let's say we can answer only on this post
Many thanks in advance for your help
Regards
Re: No categories after upgrade to 0.9
Posted: Fri Nov 04, 2005 11:38 am
by garvinhicking
Hi Xavier!
From which version I've done the upgrade
I was using 0.8.5 before but I was not using groups with that version
Groups didn't exist in 0.8.5, so that's okay.
How I've done the upgrade
1. I remove my old files on my server (except upload directory)
2. I connect to my blog (not the administration tool)
3. I followed the instructions and everything went right
You did it wrong.
Our installation docs explicitly say that you need to extract the new files OVER YOUR OLD FILES. By deleting your old files, you have deleted serendipity's possibility of installing the upgrades. Instead you installed serendipity from scratch, and because it could see your tables existed, it didn't install any of the upgrades.
Now you need to edit your serendipity_config_local.inc.php file, set the versionInstalled string to '0.8.5' and go to your blog interface again. Then you can perform the upgrade again, and everything should work.
If your serendipity_config_local.inc.php is not writable, execute this PHP code on your blog:
Code: Select all
<?php
chmod('serendipity_config_local.inc.php', 0777);
?>
And then you can edit the file.
Best Regards,
Garvin
Re: No categories after upgrade to 0.9
Posted: Sat Nov 05, 2005 2:51 pm
by xavier
Cool it works. In fact, I had to reinstall my old 0.8.4 version (always do back ups, always

and overwrite it with 0.9 and everything works fine
Many thanks for your help
Regards