Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Create table for perfix

    In Mysql don't have perfix, How can I create this table (zen_prefix) ?
    Please help me.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,268
    Plugin Contributions
    3

    Default Re: Create table for perfix

    You may not need a prefix.

    You need a prefix ONLY if you want to use the database for other software.

    If you have access to ONE database ONLY, and you want:

    1. Zencart
    2. Joomla (or other application)

    Then you make the tables for zencart prefix zen_

    ... and the tables for joomla prefix joom_

    But if your database is for Zencart ONLY, you do not need prefix.
    20 years a Zencart User

  3. #3
    Join Date
    Feb 2010
    Posts
    26
    Plugin Contributions
    0

    Default Re: Create table for perfix

    HI, Thanks for your reply.


    But I still have a problem is when register a member, it didn't show welcome message, just show ...

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3
    in:
    [insert into zen_customers_basket (customers_basket_id, customers_id, products_id, customers_basket_quantity, customers_basket_date_added) values ('','4', ###, '1', '20100317')]


    I just using Zencart.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Create table for perfix

    The query you posted is not compatible with MySQL 5.
    Zen Cart v1.3.8a does NOT generate that query.

    Therefore you must be using an older version of Zen Cart on a version of MySQL which is not compatible.

    You have two options:
    a) upgrade to newer version of Zen Cart
    b) downgrade your MySQL to v4.x
    .

    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. how to create price plan table?
    By vaishali in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 23 Nov 2011, 03:16 PM
  2. How to create a Drop Down Table
    By layoyo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Oct 2008, 09:15 AM
  3. If table not found create it?
    By IllusionGuy in forum General Questions
    Replies: 0
    Last Post: 10 Jul 2007, 03:06 PM
  4. Have to create a new DB table???
    By gourmets in forum General Questions
    Replies: 3
    Last Post: 27 Mar 2007, 03:40 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