Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Big problem! How do I solve it?!

    I've just started installing ZenCart however after the installation begins I get:

    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 'd dault NULL, products_options_sort_order text NOT NULL, PRIMAR
    in:
    [CREATE TABLE zen_customers_basket_attributes ( customers_basket_attributes_id int(11) NOT NULL auto_increment, customers_id int(11) NOT NULL default '0', products_id tinytext NOT NULL, products_options_id varchar(64) NOT NULL default '0', products_options_value_id int(11) NOT NULL default '0', products_options_value_text BLOB NULL d dault NULL, products_options_sort_order text NOT NULL, PRIMARY KEY (customers_basket_attributes_id), KEY idx_cust_id_prod_id_zen (customers_id,products_id(36)) ) TYPE=MyISAM;]


    And on the frontpage of the site I get the following:

    1146 Table 'merchsto_merchsto.zen_product_type_layout' doesn't exist
    in:
    [select configuration_key as cfgkey, configuration_value as cfgvalue from zen_product_type_layout]


    What do I do?!

    Many thanks if advance for your help.

  2. #2
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Big problem! How do I solve it?!

    What version og mysql are you using
    Zen cart PCI compliant Hosting

  3. #3
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: Big problem! How do I solve it?!

    I'm using 4.0.27-standard

  4. #4
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Big problem! How do I solve it?!

    It looks like you have a duff install sql file. This is what should be in that file for that table:

    products_options_value_text BLOB NULL default NULL,

    the error is showing it as:

    products_options_value_text BLOB NULL d dault NULL,

    If you are using Smart or Cute FTP to upload your files I'd recommend using a decent FTP programme like FileZilla or WS FTP Home or Pro.

    Vger

  5. #5
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: Big problem! How do I solve it?!

    I'm completely new to this; how do I resolve the query? Is there a file I can manually edit?

  6. #6
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: Big problem! How do I solve it?!

    I would recommend uploading the full file set again making sure to use a decent ftp programme.

    Vger

  7. #7
    Join Date
    Jun 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: Big problem! How do I solve it?!

    Many thanks, that seems to have sorted the problem.

 

 

Similar Threads

  1. please solve my postage problem
    By rabbitnutrition in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 14 Feb 2012, 05:51 PM
  2. A problem to solve?
    By gele76 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 31 Jan 2010, 02:16 PM
  3. PLEASE solve my CSS problem
    By renewilson in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 21 Dec 2009, 09:46 PM
  4. Postage Problem that I cannot solve- Big Royal Mail
    By robo26 in forum Addon Shipping Modules
    Replies: 0
    Last Post: 30 Jun 2009, 03:10 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