Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Unable to add category

    Alright, I'm not sure when or where, but at some point I successfully botched my ability to add categories. When I attempt to do so anywhere in my catalogue the admin window, after a long pause, displays the error:

    Fatal error: Maximum execution time of 60 seconds exceeded in /home/cfestr2/public_html/cfecart/admin/includes/functions/general.php on line 232

    ...and it refuses to list the categories/products.

    Upon closer inspection of the database, my new category was input with a category ID of '' (nothing), or 0. If a manually delete the entry it starts to work as normal again, but I still cannot create a category.

    Hopefully I can simply repair this by restoring the file that contains the function that creates a category, which one is that? Thanks!

  2. #2
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to add category

    Well - I've gone through any and all mods I've applied recently, and any files they overwrote....nada. At least to my untrained eye. The files I tried restoring are:

    product.php
    category.php
    category_product_listing.php

    (all in the admin directory)

    Any tips? Please...?

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to add category

    What version of Zen Cart?

    Clean install or an Upgrade?

    Have you had this product in the past?

    Did you import your products/categories or have all been added via the Admin?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to add category

    The cart is 1.3.0.2, and was a clean install of that version. I originally imported all data from a past cubecart installation, but this category malfunction has cropped up only recently and it did work correctly at first.

    Have I had this product b4? Which one, Zencart?

    (I'm attempting to add a category, not a product - if that's where you're coming from. )

    ...and I don't have any issues in adding a product to the catalogue.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to add category

    You might check to ensure that all products_id are in the products_to_categories and all categories_id are in the products_to_categories

    Make sure all categories_id in the categories table have a match in categories_description and all products_id in the products table have a match in the products_description

    Be sure you do not have Categories and Products in a Category ... Categories hold Products or Categories but not both

    Be sure all products in the products table have a valid products_type ...

    How many Categories do you have? How many Products?

    Do you have an URL to your site that we can peek at?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to add category

    There actually was a product that wasn't listed in the products_to_categories table for some reason or another, but upon fixing that I still can't create a category. Everything else seemed to check out.

    The store holds upwards of 1500 products and 330 categories. You can take a look if you direct your browser here.

    Thanks for you help!

  7. #7
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to add category

    What happens if you turn off that SEFU code?

    I cannot see your layout properly to see what is happening ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #8
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to add category

    SEFU disabled...no change in my problem, though I don't expect that you expected there to be. Thx once more.

  9. #9
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Unable to add category

    How long does it take to load the Catalog ... Categories/Products on your site?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #10
    Join Date
    Jun 2006
    Posts
    96
    Plugin Contributions
    0

    Default Re: Unable to add category

    Hm, generally less than a second on any given page...

    Are you referring to the catalogue from the admin panel? It seems a bit delayed at first sometimes (hesitates for a second or two...or 3), but not to the point it's caused a problem.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Make category unable to add to cart
    By BritishAgent in forum Built-in Shipping and Payment Modules
    Replies: 8
    Last Post: 12 May 2010, 09:32 PM
  2. Unable to add Categories or manufacturers, but i can add products
    By nigelt74 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 May 2010, 03:22 AM
  3. unable to add Category's
    By dasonix in forum Basic Configuration
    Replies: 4
    Last Post: 22 Sep 2006, 06:06 PM

Posting Permissions

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