PDA

View Full Version : Second ROOT category suddenly appearing in 1.3


saffy
12-05-2005, 11:40 PM
EDITED TO ADD: I think this is fixed now...? When I shut down my computer after posting this, it was still screwy, but when I booted it up again, it's fine, so maybe my browser just needed refreshing. Weird! :)

Anyway, you can delete this if you're already aware of the bug and fixed it in 1.4. I'll try to upgrade to that one tonight.

I think I just had the root problem without even upgrading! :lol:

I went into my directory last night, and there was a new category awaiting approval. It appeared to be a repeat of my first category, but when I clicked it, all the links were under it. So I was afraid to delete it. I approved it.

Then it made a second Root directory, which took over the main page.

So I deleted the fake root in my database, and moved one of the main categories over to the root directory. It shows up fine on the site. But in the admin panel, it's gone. And now the site says "root" where it should have the site title.

What do I need to change? Maybe a path setting?

Note: When I go into admin panel, and choose "active" under categories, the Antiques category I moved shows up as "General - ROOT/antiques-collectibles/". I never made a "general" category. That's what showed up last night looking for approval.

http://shopshootah.com

Simon Gooffin
12-06-2005, 03:41 AM
hmm, I checked your directory and it seems you still have a problem with your Root directory. It should not be displayed in your category and I do see it. That's strange. I would advise to make the following:
open your phpMyAdmin
check your categories table
you should have only one ROOT category record

saffy
12-06-2005, 05:05 AM
That IS odd. I'm positive I deleted the extra Root earlier today (double-checked), but it must have generated it again, because it was back. I removed it, and everything appears to be fine now. I'll let you know if it comes back again.

I think I'll wait a few days before upgrading, just to make sure it's working.

saffy
12-06-2005, 09:39 PM
Okay, it turned out my host moved servers on me without notifying me, so the problem really ISN'T fixed... it's just that the DNS hadn't resolved to the new server on my home ISP.

So the problem remains. The second Root category isn't in the database anymore, yet the site is showing only the fake root directory, and the category I moved over to it. But in the admin panel, I can only see the REAL root category, and all the remaining categories. I hope that makes sense!

I've got another fake Root category (games) awaiting approval, which I don't dare touch. I'm kind of wondering if what's not working is when people try to add a subcategory, it's doing something wrong...?

Do you think upgrading to 1.4 might fix the problem? I'm scared to try, unless you think it's a good idea. As far as I can tell, the fake category just isn't in the database, so I can't figure out what's gone wrong.

saffy
12-07-2005, 05:22 AM
bump

Simon Gooffin
12-07-2005, 05:31 AM
can you please send your phpMyAdmin credentials. I will check your categories table.

saffy
12-09-2005, 05:02 PM
I'm sorry, I could've sworn I posted here - I got this fixed. The answer was actually in the 1.4 announcement thread - setting the Root ID to 0 instead of -1. Then I just had to reset the parent category of that one category I'd moved to the fake root directory, and everything's fine.

Haven't upgraded to 1.4 yet, though. :D

Simon Gooffin
12-10-2005, 04:59 AM
cool :) I'm glad you have fixed this yourself :twisted: