Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2005
    Posts
    43
    Plugin Contributions
    0

    Default sql question - installing a purchased template

    I have a new installation of zen cart and am installing a template I bought.
    Here is the error i get when I choose to insert the new template. I used fantastico to intal the cart first then I ftp'd the inclues, admin, and js, folders for the template into the store root directory.

    this is the error
    ##############################################################################################################__
    1146 Table 'wwwimag_zc1.wwwimag_zc1_layout_boxes' doesn't exist
    in:
    [INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes values(NULL,'ZC03C00179','categories_az06_bg.php',1,0,2,0,0) ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.
    ########################################################################################################################__

    my template sql file includes the text below, do I need to make some other changes to this? Or what should I do to fix this problem?
    ##########################################################################################____
    INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes values(NULL,'#tID#','categories_az06_bg.php',1,0,2,0,0);
    INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes values(NULL,'#tID#','whats_new.php',1,0,3,0,0);
    INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes values(NULL,'#tID#','specials.php',1,0,4,0,0);
    INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes values(NULL,'#tID#','featured.php',1,0,5,0,0);
    ##############################################################################################################__

    I am using the current version of zen cart and this is the server
    Linux 2.6.17.8-grsec

    Thanks agin for any help..

    the site is located at www.imaging-world.com/store

    Jim Bonesho

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: sql question

    The template information doesn't go into the root. It should be utilizing the ZC override system and be included in folders like /includes/template and /includes/languages. Were ther instructions with the template?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

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

    Default Re: sql question

    You need to talk to whomever you bought your template from and ask them to give you "good" SQL code to use.
    It appears that they've hard-coded table names into the SQL ... names which don't match yours.
    INSERT INTO wwwimag_zc1.wwwimag_zc1_layout_boxes...
    You should also confirm what version of Zen Cart the template was designed for, and if it's not built for the version you have installed, get them to update it, or prepare to do an upgrade yourself.
    .

    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.

  4. #4
    Join Date
    Jan 2005
    Posts
    43
    Plugin Contributions
    0

    Default Re: sql question - installing a purchased template

    That was the sqy, that I tried to fix here is what they included.

    ##################################################
    INSERT INTO layout_boxes values(NULL,'#tID#','categories_az06_bg.php',1,0,2,0,0);
    INSERT INTO layout_boxes values(NULL,'#tID#','whats_new.php',1,0,3,0,0);
    INSERT INTO layout_boxes values(NULL,'#tID#','specials.php',1,0,4,0,0);
    INSERT INTO layout_boxes values(NULL,'#tID#','featured.php',1,0,5,0,0);
    ######################################################################_

    should that work?


    Theses are the included instructions..

    http://www.imaging-world.com/TEMPLATE_INSTALLATION.html

    Thanks

    Jim Bonesho

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

    Default Re: sql question - installing a purchased template

    Those instructions don't deal with installing any SQL portion.

    Again, you should be asking them:
    a) what version of Zen Cart it's designed for
    b) how to install the "whole" template, not just how to "activate" the template once installed.
    .

    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. Installing a purchased template
    By pringle in forum Customization from the Admin
    Replies: 3
    Last Post: 7 Aug 2010, 08:51 PM
  2. sql dump fine but not showing up on site, when installing TM template
    By MikeReign in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 27 Aug 2009, 10:45 PM
  3. installing admin profiles sql file question
    By untamedangel in forum General Questions
    Replies: 7
    Last Post: 7 Apr 2009, 07:12 PM
  4. Replies: 3
    Last Post: 30 Oct 2007, 11:44 AM
  5. installing a template-uploading the sql table update
    By cudaboy71 in forum Installing on a Linux/Unix Server
    Replies: 6
    Last Post: 19 Jul 2006, 11:37 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