Thread: mysql insert

Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    32
    Plugin Contributions
    0

    Default mysql insert

    I created a script to insert my thousands of products into the mysql database, but products don't show up, what am i missing?

    I insert new rows of information into the table

    products

    and insert new rows in the

    products_to_catagories

    Both tables have correct informatino in them, and on my categories sidebox it shows the products totale (x number) but when i click that catagory, no products show up.

    I have been looking at the php and don't see what i am missing, can someone point me in the right direction?

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

    Default Re: mysql insert

    Well, if there are no names for those products, then there's nothing to display either. The product data is stored in multiple tables, and you're missing at least the products_description table (according to what you stated above).
    .

    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
    Aug 2008
    Posts
    32
    Plugin Contributions
    0

    Default Re: mysql insert

    I was missing the description, did not think the description was needed to view the product, jumped the gun a little on posting here, added product_description and everything worked fine!

 

 

Similar Threads

  1. Replies: 4
    Last Post: 13 Dec 2014, 04:48 AM
  2. v150 Backup MYSQL Plugin 2005: Unknown MySQL server host 'localhost:3306' (1)
    By nuganics in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 10 Mar 2012, 08:09 AM
  3. find/replace (sub)strings in zen's mysql-DB (mysql syntax question)
    By mypashop in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 19 Oct 2007, 02:21 PM
  4. MySQL Error with Insert - Version incompatibility?
    By Rowan in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 28 Aug 2006, 06:11 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
  •  
disjunctive-egg