Results 1 to 5 of 5

Thread: Help! Error Messages on "add" categories

  1. #1
    Join Date
    Mar 2002
    Posts
    9

    Default Help! Error Messages on "add" categories

    Hi! In the Admin area Somehow a new subcategory and the parent category got deleted when I edited the category, yet it is still showing in the total number of categories.... I also cannot click on the "add categories" or "add links" it tries to bring it up as I get this message:
    Fatal error: Maximum execution time of 30 seconds exceeded in /home/mysiteusername/public_html/lib/category.class.php on line 310

  2. #2
    Join Date
    Aug 2001
    Location
    Toronto, Ontario
    Posts
    678

    Default

    when you delete a category you have to make sure you delete the subcategory first or the subcategories will become a main category and your total category count will remain high or even higher.

    Try refreshing the admin section, log-out and log back in. This might solve your problem.


    Hart

  3. #3
    Join Date
    Mar 2002
    Posts
    9

    Default

    thanks :-) but I actually didn't delete the category - it just disappeared when I went in to edit the graphic that shows by it.

    I've tried logging out and back in, refreshing etc and I'm still getting the error. We thought that maybe the MySQL database needed a fix so I did that with the system we have in our control panel for web hosts... and that didn't work either... the message still keeps coming up. I'm sure it is probably corrupt but have no idea how to fix it

  4. #4
    Join Date
    Jun 2002
    Posts
    1

    Unhappy Same problems with categories

    I have just try to load part of odp (dmoz) about 30 000 categories.
    As admin I can't do nothing with ad or edit categories.
    The category.class.php try to show all category_id,parent_id,name, the same problem is with View Hierarchy.
    ...
    $category_list .= \"<OPTION T=\'".$this->GetCategoryPath($cat_id).\"' VALUE='$cat_id' \";


    Regards

    Roman

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    The problem occur because the category structure is not well formed. You may assign parent id to its child (sub category), so it will cause forever loop. So be careful when add/modify category.

    I have just try to load part of odp (dmoz) about 30 000 categories.
    Well I must say that INDEXU is not designed to be able to handle such a lot of data. When indexu hold more than 2000 categories, the performance is down. It caused by the complex computation for building category's tree. We do not yet optimize it.

Similar Threads

  1. unlimited categories?
    By norri in forum Pre-Sales Questions
    Replies: 2
    Last Post: 04-06-2004, 06:35 PM
  2. Replies: 6
    Last Post: 03-31-2004, 10:39 PM
  3. How many categories do you have?
    By Hart_House in forum v5.x
    Replies: 1
    Last Post: 10-31-2003, 05:12 PM
  4. Adding a link to multiple categories
    By craven in forum v3.2
    Replies: 10
    Last Post: 03-12-2003, 09:27 AM
  5. Searching specific sub categories
    By Rob Picken in forum v5.x
    Replies: 2
    Last Post: 02-11-2003, 06:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •