Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Rebuild Category Tree: Problem

Quote Reply
Rebuild Category Tree: Problem
Hello, Everyone

Recently after an import I tried to rebuild my category tree. When I do the page stops
loading after it says "Adding Category Tree." What could be the cause of this?

My database only has about 200,000 links. I am not sure if the size of my database is the
problem. Am I wrong?

any suggestions on resovling this problem?

Thanks for your help, :)
James
Quote Reply
Re: [jhardy] Rebuild Category Tree: Problem In reply to
That's quite a few links, so it will probably take a while. If you are rebuilding through your browser, then it might be timing out. You may need to run it from shell.

Adrian
Quote Reply
Re: [brewt] Rebuild Category Tree: Problem In reply to
Hello, Adrian

Thanks for the help. I do have a question though.

How would I run the Rebuild Category Tree process through shell?

Thanks,
James
Quote Reply
Re: [jhardy] Rebuild Category Tree: Problem In reply to
cd into the admin directory, and type:
Code:
./admin.cgi 'do=page;page=update_cat_tree.html;confirm=1;stream=1'

Adrian
Quote Reply
Re: [brewt] Rebuild Category Tree: Problem In reply to
It worked Adrian!

Thanks for your help :)
Quote Reply
Re: [brewt] Rebuild Category Tree: Problem In reply to
The response was..

Adding Category Tree..
Okay!

does this mean it worked?
Quote Reply
Re: [jhardy] Rebuild Category Tree: Problem In reply to
Yup, though your Category tree can still be broken (and unrepairable) if you've performed modifications to the database between the time you imported and rebuilt the category tree.

Adrian
Quote Reply
Re: [brewt] Rebuild Category Tree: Problem In reply to
Unrepairable? But couldn't it be fixed if I cleared the entire database and just imported everything from the beginning again? Just wondering.
Quote Reply
Re: [jhardy] Rebuild Category Tree: Problem In reply to
Well, unrepairable, except for doing that :)

Adrian