Thread: Confused..

Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Confused..

    Hi zenners,

    I feel a bit confused from what I have read in the docs in zancart folder. Currently, zencart is installed in my computer for testing and learning purposes only and I am almost finished. The following may sound a bit weird so please bear with me:

    1. Once I finished all testing and learning, do I have to first install a fresh copy of zc to my local pc, configure it, add products, images, installing SSL certificates - in short prepare it for a live server and then upload it to the server? OR,

    2. Unzip zc to my local pc and upload it to the server and then configure everything from scratch (on the server) like what I have said just above? OR,

    3. Install zc to both my pc and live server, once I finished designing it in my local pc as I wish, upload it to the live server on the existing files?

    Just one thing more. Once my live store is up and running, do I have to php, Apache and MySql installed in my computer or will be just sufficient for the server to have these?

    Many thanks for the support...
    Last edited by acummins; 23 Jan 2010 at 03:43 PM.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,645
    Plugin Contributions
    3

    Default Re: Confused..

    The answer to the last question is no. Zencart and the admin are web apps - all you need is a browser.

    I've never installed Zencart to a local computer, since hosting is cheap and you learn more by testing on a remote server, but I imagine the process would be to just upload your folders and files from the local installation, do the same with the database, then change the paths in the configure.php files.

  3. #3
    Join Date
    Jun 2005
    Location
    Hertfordshire, UK
    Posts
    9,958
    Plugin Contributions
    3

    Default Re: Confused..

    Steve's right... The install process is chiefly to get the database configured with the tables, and of course, other initial config data.

    Once it is installed - i

    So all you need to is move the code files and the database to a remote server.

    There are three main things that need to be done:

    1. The database on your local drive is likely to be a different version of MySQL from that on the server, so the export and import of the database needs careful attention. I have sometimes come across this when moving sites across remote servers. I then run a full install of zc on the new server in order to create a properly config's database. If I have mods on the original site that update the database, I install them. Then I truncate all the tables (empty them). Then from the old database, I just do a sql dump for DATA only, giving me just the "insert into" lines for all the data. I then run this into the new database.


    2. change the paths and database info in BOTH configure.php files

    3. there are possibly some references to the OLD location in the database, such as the cache folder location. You can run fix_cache_key.php to address this (see free addons for this little tool).
    Our latest project is Pet Tags.

  4. #4
    Join Date
    Jun 2008
    Posts
    63
    Plugin Contributions
    0

    Default Re: Confused..

    Steve, if I got you correctly, you ask me to upload the files & folders directly to the server, install zc and test it. Wouldn't it be easier to do all sort of admin tasks like creating catalogues, adding products, playing with css to enhance the design, etc., on the local computer? It is like creating a web site on the local pc and then uploading it to the server. Does zc work the other way around?

  5. #5
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,645
    Plugin Contributions
    3

    Default Re: Confused..

    I've just never seen the need to install Zencart locally. My host charges $4 a month for a basic hosting account that's fine for most Zencart installations, and a fast Internet connection makes FTP almost as quick as editing files locally.

    Nothing wrong with starting with a local installation - a lot of Zenners do it that way.

 

 

Similar Threads

  1. Confused
    By Freddo in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 14 Jan 2010, 03:33 AM
  2. I am confused
    By kenc3 in forum General Questions
    Replies: 3
    Last Post: 24 Mar 2009, 10:48 AM
  3. confused, please help!
    By emijean in forum Basic Configuration
    Replies: 12
    Last Post: 5 Oct 2008, 06:37 PM
  4. Help Im confused
    By smoked1 in forum Basic Configuration
    Replies: 3
    Last Post: 12 May 2006, 05:42 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
  •