Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 35
  1. #11
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default TABLE_CUSTOMERS_BASKET_ATTRIBUTES corruption?

    I tracked down table_customers_basket_attributes and table_customers_basket in the following files:

    admin/customers.php
    admin/includes/functions/extra_functions/easypopulate_functions.php
    admin/includes/functions/general.php
    includes/classes/shopping_cart.php
    includes/database_tables.php
    includes/functions/functions_customers.php
    includes/modules/payment/paypalwpp.php

    In the tables themselves, I noticed some of the products_id values are simple product numbers (e.g. "105") while others have an appendage consisting of a colon ( : ) followed by a few dozen characters (0 - 9, a - f) that vaguely resemble a session ID. The short values are recent.

    I migrated this site about a month ago from another server, doing a clean install and then importing the database via phpMyAdmin. Maybe something got botched during the import?

  2. #12
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Damn the torpedoes

    Okay -- I grew myself a pair and deleted the rows in question from table_customers_basket_attributes and table_customers_basket. Apparently no harm done, and the Easy Populate warning regarding partially-deleted products is gone.

    Now if I can just get the catalog to recognize master categories correctly ...

  3. #13
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    application error Re: Help: Invalid Master Category

    Well, it's a new day, so let's try again.

    Can anyone suggest a reason why my Zen-Cart would act as if a product's master category were something other than what it is?

    Seriously.
    Sean

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

    Default Re: Help: Invalid Master Category

    Look in your products table via phpMyAdmin at the master_categories_id for the Products ...

    They should exist as categories_id in the categories table ...

    They should exist as categories_id in the products_to_categories table for their respective products ...

    They should be seen if you edit the Product in the Catalog ... Categories/Products ...

    They should NOT be 0 ...

    You should NOT see Invalid Mastere Category ID selected when you edit the Product ...
    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!

  5. #15
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Help: Invalid Master Category

    master_categories_id is correct in table products? Yes.
    categories_id correct in table categories? Yes.
    categories_id correct in table products_to_categories? Yes.
    Product Master Category correct in Categories-Products/Edit Product? Yes.

    Thanks Linda. I just re-checked all of the conditions you listed, and everything is as it should be -- yet my catalog still behaves as if the master category for p177 were 73 instead of 74. It's as if my catalog were living in the past or something.

    What else could it be? And why would Reset ALL Products Master Categories ID (in Store Manager) cause the master category to change from 74 to 73?

    Sean
    Quote Originally Posted by Ajeh View Post
    Look in your products table via phpMyAdmin at the master_categories_id for the Products ...

    They should exist as categories_id in the categories table ...

    They should exist as categories_id in the products_to_categories table for their respective products ...

    They should be seen if you edit the Product in the Catalog ... Categories/Products ...

    They should NOT be 0 ...

    You should NOT see Invalid Mastere Category ID selected when you edit the Product ...

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

    Default Re: Help: Invalid Master Category

    The Reset of the master_categories_id takes the first categories_id found for the product in the products_to_categories table and makes that the master_categories_id ...

    It doesn't know right from wrong ... only you do ...

    If you edit the Product ... which is marked as the master_categories_id in the dropdown? You should see both, and the master should be selected ...

    Check the products_to_categories table for the products_id with the problem ...

    Does it only list those two?
    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!

  7. #17
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Help: Invalid Master Category

    Thanks Linda -- yes, products_to_categories lists only 73 and 74 for p177. And when I look at the Product Master Category in the product editor dropdown, it shows 74 selected. If I click the dropdown, the selections are (top-to-bottom) invalid master category ID, 73, and 74.

    I tried reversing 177 - 73 and 177 - 74, but the revised products_to_categories table still sequences 177 - 73 above 177- 74.
    Quote Originally Posted by Ajeh View Post
    The Rest of the master_categories_id takes the first categories_id found for the product in the products_to_categories table and makes that the master_categories_id ...

    It doesn't know right from wrong ... only you do ...

    If you edit the Product ... which is marked as the master_categories_id in the dropdown? You should see both, and the master should be selected ...

    Check the products_to_categories table for the products_id with the problem ...

    Does it only list those two?

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

    Default Re: Help: Invalid Master Category

    What does the dropdown read if you click Edit on the Product without touching anything else?
    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!

  9. #19
    Join Date
    Aug 2005
    Location
    Cincinnati
    Posts
    334
    Plugin Contributions
    0

    Default Re: Help: Invalid Master Category

    It reads 74 -- as it should. But catalog treats this product as if its master category were 73.
    Quote Originally Posted by Ajeh View Post
    What does the dropdown read if you click Edit on the Product without touching anything else?

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

    Default Re: Help: Invalid Master Category

    Click on the C for Copy on this product and select the button for Multiple Categories Link Manager ...

    Uncheck the Category that is NOT the master_categories_id ...

    Click Update Category Links ...

    Now re-select the Category you just unchecked ...

    NOTE: only Categories with at least 1 product will show on this listing ...
    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!

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Invalid Master Category
    By djdavedawson in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 7 May 2008, 07:55 PM
  2. Invalid Master Category ID
    By robax in forum Setting Up Categories, Products, Attributes
    Replies: 17
    Last Post: 20 Aug 2006, 05:13 PM
  3. Invalid Master Category ID
    By Darkwander in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 20 Jul 2006, 08:17 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