Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Database error message???

    I am trying to install Vendorzen on ZC v.1.3.7.

    This is the SQL:

    # VENDORZEN 1.2 --- compatible with Zen Cart v1.2
    # TO INSTALL VENDORZEN, run the following SQL statement in your database.
    # You may need to manually insert your "table prefix" in the ALTER TABLE command
    # ie: ALTER TABLE zen_products
    ALTER TABLE zen_products
    ADD vendor1_name VARCHAR( 35 ) NOT NULL ,
    ADD vendor1_price VARCHAR( 12 ) NOT NULL ,
    ADD vendor1_sku VARCHAR( 25 ) NOT NULL ,
    ADD vendor1_url VARCHAR( 25 ) NOT NULL ,
    ADD vendor2_name VARCHAR( 35 ) NOT NULL ,
    ADD vendor2_price VARCHAR( 12 ) NOT NULL ,
    ADD vendor2_sku VARCHAR( 25 ) NOT NULL ,
    ADD vendor2_url VARCHAR( 25 ) NOT NULL ,
    ADD vendor3_name VARCHAR( 35 ) NOT NULL ,
    ADD vendor3_price VARCHAR( 12 ) NOT NULL ,
    ADD vendor3_sku VARCHAR( 25 ) NOT NULL ,
    ADD vendor3_url VARCHAR( 25 ) NOT NULL ;


    This is the error I am getting.

    1146 Table 'prymlurg.zen_products' doesn't exist
    in:
    [ALTER TABLE prymlurg.zen_products ADD vendor1_name VARCHAR( 35 ) NOT NULL , ADD vendor1_price VARCHAR( 12 ) NOT NULL , ADD vendor1_sku VARCHAR( 25 ) NOT NULL , ADD vendor1_url VARCHAR( 25 ) NOT NULL , ADD vendor2_name VARCHAR( 35 ) NOT NULL , ADD vendor2_price VARCHAR( 12 ) NOT NULL , ADD vendor2_sku VARCHAR( 25 ) NOT NULL , ADD vendor2_url VARCHAR( 25 ) NOT NULL , ADD vendor3_name VARCHAR( 35 ) NOT NULL , ADD vendor3_price VARCHAR( 12 ) NOT NULL , ADD vendor3_sku VARCHAR( 25 ) NOT NULL , ADD vendor3_url VARCHAR( 25 ) NOT NULL ;]

  2. #2
    Join Date
    Jun 2005
    Location
    Cheney WA
    Posts
    1,134
    Plugin Contributions
    0

    Default Re: Database error message???

    Did you try updating the mysql within the admin or via phpmyadmin?

  3. #3
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Database error message???

    I could not locate the area in the admin panel to update MySQL. Where would I find that option? And I am not real comfortable working with phpmyadmin from my control panel through my server. However, I did try and apply the patch through phpmyadmin with no luck. I was getting a simular error message. When I look at the structure of the db it shows Server: xx.x.xxx.xx --> Database name: my_db_name.

  4. #4
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Database error message???

    Ok, I think I'm on to something. I opened up phpmyadmin and looked through all the tables. I could not find one called zen_products. I did find one called products and several others labeled products_xxx. I'm assuming that I need to change zen_products to just products correct??

  5. #5
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Database error message???

    Sorry for wasting everyones time. I figured it out.

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

    Default Re: Database error message???

    What was the magic?
    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. #7
    Join Date
    Apr 2007
    Posts
    117
    Plugin Contributions
    1

    Default Re: Database error message???

    I changed the table name from 'zen_products' in the SQL patch to 'products'.

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

    Default Re: Database error message???

    That will get you every time ... to prefix or not to prefix ... that is the question ...

    Thanks for the update!
    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!

 

 

Similar Threads

  1. v150 Error message trying to connnect to database
    By joannem in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 31 Dec 2013, 12:31 AM
  2. 500 Error - FastCGI error message after database installation page.
    By hungoveragain in forum Installing on a Windows Server
    Replies: 8
    Last Post: 24 Sep 2010, 03:37 PM
  3. PCI error: Potentially Exploitable Database Error Message -- links_alias table
    By srigari in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 21 Jun 2009, 12:23 AM
  4. MySQL error message after importing database
    By Ken Joy in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 4 Mar 2007, 08:14 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