Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: nightmere upgrading - Products not showing up in their categories

    Quote Originally Posted by immortalgames View Post
    I have done a fresh install of zc since my old php versions are no longer supported. Then restored my zc 155 database. my problem is my products do not show up in there categories on the store front, but show up on the store front as new products. also my products do not show up at all in admin area, or in categories or as products of thoses categries in admin area at all.

    can somone please guide me to a fix for this.

    server information/ specs and php versions can be posted upon request.
    I *have* read all of the other posts, but the linked database data is no longer available for perusal (hopefully it did not include customer data). I don't see though, what process was used to obtain the "backup" of the previous/old database to be able to indicate whether a step (option) was missed in backing up the database, if a table did not get restored, if a table existed and did not get its data replaced or if in adding data from the recovered database new record designations were assigned that caused a loss of correlation between product and category.

    In the more recent versions, queries were modified to require relationships to exist in order to retrieve results as compared to older versions that allowed a lapse of relationship within the admin. At least in the older versions, data could be retrieved and issues corrected by pushing the correct relationship where found to be broken. Now, unexpected results occur which requires one to dig into the database more in order to resolve the issue.

    As you show in your images, in the admin there appear to be product and there appear to be categories. On the catalog side, there appear to be product in categories.

    From those conditions, it appears to me that product have master_categories assigned, categories exist, but the table products_to_categories does not have appropriate information to represent the product/category relationships.

    If that is true, there are ways to restore the relationships using one or more sql queries at least to restore primary relationships with linked product to be rebuilt separately. Such would be simpler if that table is/was in the 155 version of the sql.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  2. #12
    Join Date
    Jan 2024
    Posts
    8
    Plugin Contributions
    0

    Idea or Suggestion Re: nightmere upgrading - Products not showing up in their categories

    Thank you for your swift reply, this helped heaps. (products_to_categories) in SQL had not executed correctly from the 1.55 database as this is a huge database, did take me awhile to copy just that one table from the database but however fixed the issue so it was worth it. thank you very much for this. im going to painstakingly go through the rest of the database for any other error but in all very pleased with the result. updating or moving PHP or SQL versions/ SQL processors is painfull when you have long term working website. will message again if anything.

    Thank you again guys for your help.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Products not showing up in their categories
    By mysticwitch in forum Setting Up Categories, Products, Attributes
    Replies: 12
    Last Post: 23 Feb 2023, 10:42 PM
  2. v151 Products Not Showing in Categories
    By theresap in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 19 Jan 2013, 04:50 PM
  3. v150 Products-Categories quantity not showing up
    By f2bs in forum Basic Configuration
    Replies: 2
    Last Post: 20 Aug 2012, 05:49 PM
  4. Products and Categories not showing up
    By ksookma in forum General Questions
    Replies: 2
    Last Post: 24 Oct 2011, 08:37 PM
  5. Categories Showing but products NOT SHOWING
    By irishshopper in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 6 Oct 2011, 03:54 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR