1 brianwc Sep 28, 2005 04:56
3 brianwc Sep 28, 2005 05:25
Ok,
I put the install directory back in place, then browsed to it and told it to do an upgrade. Everything seemed to check out fine as it said:
Checking DB schema version... 8064 : OK.
Adding catpost index... OK.
Adding visitTime index... OK.
Creating DB schema version checkpoint at 8066... OK.Upgrade completed successfully!
Now you can log in with your usual b2evolution username and password.
However, now when I go to the admin backend and go to edit, or when you just browse the site itself, I get:
Requested category 11 does not exist!
Any thoughts on where to go from here? I'm getting close!
4 brianwc Sep 28, 2005 06:05
I thought maybe adding a draft post could kickstart the database into working right, but when I clicked save i got:
:: Adding new post...
Recording post...MySQL error!
Duplicate entry '22-20' for key 1(Errno=1062)
Your query: Associate new post with extra categories
INSERT INTO evo_postcats( postcat_post_ID, postcat_cat_ID ) VALUES ( 22, 20 )
Hopefully that helps someone debug the "no category 11" error I described above.
Brian
5 edb Sep 28, 2005 06:17
Did you mention this category 11 issue in a different thread? If not there may be a funky ghost in the machine. If so that's why cat11 is ringing a distant bell for me. At least we know your files are happy with the structure of your database. Now if only they could handle the actual content you'd be livin' large eh?
What is the history of your category 11? Stupid question given that most people won't associate a cat name with it's number, but I'm asking to learn like was it a cat you had but deleted? Is it maybe your newest category? Is it findable in your category tab on the appropriate blog? Does it exist in your database on the evo_categories table? (I think that's the name - I'm going by memory here so I may be off.) I'm thinking, but have no clue how it could be, that your backup is somehow part with cat11 and part without it. No understanding of how that could happen, but an understanding of what the deal is with cat11, both in terms of your history of that cat and the database's opinion, will help.
The 22-20 thing is probably going to stand up and say "fix me too dude!", but I'm kinda only seeing the bits I think I can help with...
Have you tried running the b2evolution install thingie after getting all your posts into your dawn database? The install thing will check the schema and decide what it needs to do to update the dbase to the current configuration requirements, or at least that's what it's supposed to do. Basically put your install folder back in place and tell it you are upgrading instead of telling it to do a new install.