Results 1 to 9 of 9
  1. #1
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Products showing in Database but not on the site

    Hello,

    I recently created a new zen cart website for my business, all new design and copied all my customers/orders/products from my old zen cart website via the correct tables from the old database to the new database.

    Problem is when i look through my shop alot of the products are missing, if i look in the database they are in the product table but they are not displaying in the site or in the admin (but the total number of products on the admin homepage is correct)

    Its strange because alot of products are showing correctly its just some which are not. I checked that configure files are pointing to the correct database and they are, been looking for two days but cant find the issue.

    Any help on this would be great as i just cant find a solution

    Thanks

    Ste

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Products showing in Database but not on the site

    Sounds like you missed one or more important tables when you hacked the database.

    It's always advised to take the *complete* database, not pick-and-choose randomly which tables to use.

    You'll need to study the database layout to determine what you missed. This reference might help: http://www.zen-cart.com/wiki/index.p...atabase_Schema
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Products showing in Database but not on the site

    Thank you for the advise, i've now copied the whole old database across to the new site, replacing the new database that wasn't working, but im still getting the same issue, showing all products in the database but it missing some when i look in the admin, but total on the admin homepage is correct.

    Really confused now

    Any help, advise would be great as im totally stuck!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Products showing in Database but not on the site

    So, this problem existed on the old site as well then?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Products showing in Database but not on the site

    Quote Originally Posted by DrByte View Post
    So, this problem existed on the old site as well then?
    No its since moving it to the new site. The old site was fine, but i cant work out the issue with the new site, everything is setup the same as the old site.

  6. #6
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Products showing in Database but not on the site

    This is a shot in the dark but have you changed the language?

    If you open the languages table with something like phpmyadmin what is the language_id value? is it 1

    Now look at categories_description table is language_id set with the same value?

    Look at products_description table is language_id set with the same value?

    Lastly what is zen cart admin->Localization->Languages set for.

    Skip
    • 446F63746F722057686F •

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Products showing in Database but not on the site

    Quote Originally Posted by g3steve View Post
    No its since moving it to the new site. The old site was fine, but i cant work out the issue with the new site, everything is setup the same as the old site.
    If 'the old site was fine' and then copying the entire database from the old site to the new site suddenly has problems, then there's something done incorrectly in copying the database contents.

    Maybe even wrong prefixes.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Nov 2007
    Posts
    54
    Plugin Contributions
    0

    Default Re: Products showing in Database but not on the site

    Quote Originally Posted by skipwater View Post
    This is a shot in the dark but have you changed the language?

    If you open the languages table with something like phpmyadmin what is the language_id value? is it 1

    Now look at categories_description table is language_id set with the same value?

    Look at products_description table is language_id set with the same value?

    Lastly what is zen cart admin->Localization->Languages set for.

    Skip
    Thanks for the information, i just checked all that and its all set to 1. There is only english setup on both sites so that doesnt seem to be the issue but thanks for trying.

    So back to square one...not a clue what the issue is?

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Products showing in Database but not on the site

    Quote Originally Posted by g3steve View Post
    not a clue what the issue is?
    I've given you several clues.

    You've asserted that the problem isn't with the database data. I tend to disagree.

    But, if it's not with the database, then it's with the PHP files. In that case, this is the first place to start: http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. 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
  2. Restored Data in New Database but not showing
    By guyhancock in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 19 Aug 2010, 11:49 AM
  3. Moving site contents to different host, but keeping the same database?
    By yelow in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 10 Feb 2009, 05:10 PM
  4. Move site but not database...
    By MrCrispy in forum General Questions
    Replies: 6
    Last Post: 13 Nov 2008, 10:12 PM
  5. Products & Categories Aren't Showing But Database Is Full. Please Help.
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 21
    Last Post: 12 Jul 2008, 05:27 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