Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Looking for suggestions on how to Test Out A New Template

    Hello,

    I have a Zen Cart store that's over 10 years old with heavy traffic. It's running a modified version of the stock template. Soon, I have to start making the site mobile friendly, aka 'Responsive'.

    Considered Option
    Just get a free or paid template that's 100% responsive and install. However, that would create problems for me since lots of core files have been modified to work with current template.

    Final Decision
    Modify the current template to be responsive - Edit CSS.

    Since the site gets lots of traffic, what would be the best way for me to test out the modifications to the template?

    - Run the site locally on the computer? (Saw that it involves downloading extra software to mimic a server with PHP/SQL)

    - Create a duplicate store on a hidden directory on the server? Duplicate the files, yet keep the same SQL database?

    Thanks in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Best Way to Test Out A New Template

    Create a duplicate store on a hidden directory on the server? Duplicate the files, yet keep the same SQL database?
    But only with a separate database - not your live site database
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Best Way to Test Out A New Template

    Quote Originally Posted by kobra View Post
    But only with a separate database - not your live site database
    Understood

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Looking for suggestions on how to Test Out A New Template

    You might refer to this FAQ and the section titled

    "How do I do an upgrade and still keep my live store running in the meantime?"

    https://www.zen-cart.com/entry.php?3...d-of-upgrading
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Dec 2008
    Location
    New Zealand
    Posts
    88
    Plugin Contributions
    1

    Default Re: Looking for suggestions on how to Test Out A New Template

    If your site gets a lot of traffic, setting up a test server on a local machine is your best bet. Anything you do wrong on the live server will cost you $ fast. Having it locally will allow you to do more testing before you make changes.

    Downloading & installing a webserver on your local machine is pretty simple: google ' how to install a wamp server' (Windows Apache, Mysql & Php).

    Having it on your local machine means you will not run the risk of copying the file to myserver.com/store when you meant to copy it to myserver.com/test and you can test file changes without copying the file anywhere, just edit the file in your editor of choice, test, fix your mistake, test again, a whole lot faster than edit, upload, test, fix, upload, test...

    Are you staying with the existing (10 year old) version? Would you not be better to move to 1.5.5?

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,694
    Plugin Contributions
    9

    Default Re: Looking for suggestions on how to Test Out A New Template

    i agree with pat that if you are looking to make changes, you should go all the way up to 1.5.5.

    just making css changes to your existing template to make it responsive "could" be a lot of work... and that work is probably better spent on doing a full upgrade.

    with regards to "how?", everyone has their own method for doing web development. running a test server locally with a test database is def the way to go; i have never used WAMP, but i'm sure that way could work fine.

    alternatively, you could hire someone to do the upgrade for you. which is more money, but less headaches...
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Looking for suggestions on how to Test Out A New Template

    Ok, so I need one more advice on this.

    At The Moment
    1. I have started a brand new 1.5.5 store in a hidden folder and have tested the new template.
    2. It's ready to be put in to the live store, thats 1.5.1

    My Current Decision
    1. Backup the files and the database.
    2. Close the live site
    3. Upload fresh files and upgrade to 1.5.5 from 1.5.1
    4. Install the new template
    5. Fix the small issues

    I think I should be able to do above 4 steps within 6 hours on a night with least traffic. Would recommend a different way for me to have a live updated store with the new template?

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Looking for suggestions on how to Test Out A New Template

    This should take only about 15-30 minutes after preparation

    1. Live site on maintenance
    1. Backup the files and the database.
    2. import the live site database into the new site db
    3. re-run zc_install "upgrade database only"
    4. delete current live site files
    3. Use ftp to move files from hidden folder to where live site files were
    4. edit 2 configure files to reflect the new location
    5. test test test
    6. you should be good to go
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jan 2011
    Posts
    196
    Plugin Contributions
    0

    Default Re: Looking for suggestions on how to Test Out A New Template

    Quote Originally Posted by kobra View Post
    2. import the live site database into the new site db
    This is where I might have a problem. With my hosting, I am not able to import databases over 50MB. I am not allowed to edit php.ini file to take out the size restriction. In the beginning, I tried exporting the main database and tried to import it in to the 2nd testing one. Hit that wall!

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Looking for suggestions on how to Test Out A New Template

    This is where I might have a problem.
    First clear out un necessary data
    admin > tools > store manager > Empty Admin Activity Log table from the database
    admin > tools > store manager > Optimize Database

    Then you can check making a backup & choosing "custom" and selecting gzip for compression

    Once backed up - try to import this same file into another db to check if it will be successful
    If not - schedule with your host a time where they can do this step for you
    Zen-Venom Get Bitten

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Looking for a new template for my website
    By tjturner in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 16 Mar 2012, 04:54 AM
  2. How to test a check out experience with test payment and all?
    By hamspots in forum General Questions
    Replies: 3
    Last Post: 23 Jan 2009, 06:50 AM
  3. How to change template for test?
    By commerce_fun in forum General Questions
    Replies: 3
    Last Post: 17 Jan 2009, 11:15 AM
  4. Looking For A Different Lay Out Template
    By Uncle Chenzo in forum Addon Templates
    Replies: 5
    Last Post: 21 Nov 2008, 06:18 PM
  5. Replies: 6
    Last Post: 12 Apr 2007, 09:09 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR