Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Move to production is not working

    Had Zen-Cart running fine on my local pc. I moved it up to my host and now two things happen:
    1) Accessing admin: it immediately comes up with the "Hello. Thank you for loading Zen Cart ... " screen,
    and
    2) Accessing the store gives me an empty page.

    I have double-checked the two config files and they look fine.

    Here is how I moved to production:

    1) On my local pc, my store was in /store. I uploaded the entire directory to my host.

    2) I exported my local database and imported it on the host. It looks fine. All the tables are there, data is there, etc.

    3) I edited includes/configure.php and admin/includes/configure.php as appropriate. I have checked these over multiple times and everything looks fine.

    4) In the database on the host, in the zc_configuration table (my prefix is zc_), I changed the value of "configuration_value" for configuration_key = 'SESSION_WRITE_DIRECTORY' to be the path to my cache (/vservers/mywebsite/htdocs/store/cache).

    Did I miss something?

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

    Default Re: Move to production is not working

    Did you edit your DB connection entries in the configure.php files??
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Move to production is not working

    Oh yes definitely. That's the first thing I checked. I have another site with Zen-Cart running on the same host, and I even looked at the settings for that to be sure I had slashes where I was supposed to, none where I wasn't supposed to, correct virtual paths, etc.

    I can post my config files here if necessary. I would blank out my db password of course. What else should I disguise before posting?

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

    Default Re: Move to production is not working

    There are essentially 3 conditions:
    All is well
    Can not connect to DB
    Needs to be installed

    I don't recall exactly the conditions that create the not installed message versus the DB connect error....

    Your blank screen is indicative of a corrupt upload of a file or many - - or an FTP client transfer corruption...Some clients are better at not doing this than others..

    One method to minimize this is, if you are on a cPanel account or another that facilitates expanding compressed files on the server, is to zip or tar.gz locally all your shop files. FTP the compressed file to your server and expand it there. Use FTP to move any items needed on the server.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Move to production is not working

    I decided to try to upload my files again. I went to delete my "store" folder and it said I didn't have permissions! Support at my hosting company, however, was able to delete it by logging into ftp server with my exact same credentials. Very strange.

    The post here:
    https://www.zen-cart.com/tutorials/index.php?article=99

    mentions being sure that the zc_install directory is copied up. I didn't do that because I didn't think I needed to go through the install. Maybe I do?

    I'm going to load up "virgin" Zen files, then do the install up to the point of configuring the store (as the instructions say), then I'm going to FTP up my store files to overwrite what's there (except for the config files). I'll let you know what happens.

    I'm not going to touch my database that I imported earlier.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Move to production is not working

    Good Plan
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Move to production is not working

    Well ... I finally started from scratch with a fresh install of Zen Cart directly to my remote host.

    Following the installation instructions, I downloaded the Zen zip file, extracted the files, and uploaded them to /store on my server. I uploaded them using ftp://mysite.com in Windows Explorer and then dragging files from a folder on my pc into the ftp window. Everything appeared to get copied up correctly.

    Then I set permissions, as instructed.

    Next was to run the installer, but when I tried to run it (www.mywebsite.com/store/zc_install) all I got was a blank page!

    www.mywebsite.com/store/zc_install/index.php doesn't work either.
    Nor does www.mywebsite.com/store
    I'm in IE, the bottom of the window says "Done", but the window is empty. Same thing in Firefox.

    SO ... this leads me to believe that my problem all along must have something to do with my host? What settings should I be looking at? I do have another site with the same host that is successfully running Zen Cart.

    Any other ideas?
    And again I ask: what the heck am I missing?

  8. #8
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Move to production is not working

    Quote Originally Posted by alicia1234 View Post
    ... uploaded them to /store on my server. I uploaded them using ftp://mysite.com in Windows Explorer and then dragging files from a folder on my pc into the ftp window.
    EEK.
    You trust IE as an FTP client?
    You've probably got a bunch of damaged files or incomplete transfers.

    Get a program whose sole purpose is FTP, instead of something that does FTP as an afterthought/addon.
    Try FileZilla http://filezilla.sf.net instead.
    .

    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.

  9. #9
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Move to production is not working

    FTP has worked fine for me in the past, and also on the site that IS successfully running Zen Cart. Note that I have also uploaded the files through Dreamweaver's "Remote Files" panel and that produces the same result. Can I assume that Dreamweaver constitutes a "real FTP client"?
    I really don't think it's an FTP problem.

  10. #10
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Move to production is not working

    Dreamweaver's FTP is fine for one-off individual files. But for mass-uploading an entire site/folder, I don't trust it ... it's failed me many times in that regard.
    .

    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.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 USPS Module not producing estimates; UPS working; Production mode on & USPS verified
    By gingertea in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 21 May 2013, 03:25 AM
  2. Not working after server move...
    By kikloo in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 13 May 2011, 04:38 PM
  3. Move UAT changes to Production Zencart
    By andrewcklau in forum General Questions
    Replies: 0
    Last Post: 25 Mar 2010, 04:25 PM
  4. Finished Testing, Ready to Move to Production
    By Toot4fun in forum General Questions
    Replies: 6
    Last Post: 2 Sep 2009, 06:06 AM
  5. Website move not working
    By pettiger15 in forum General Questions
    Replies: 8
    Last Post: 25 Nov 2006, 08:08 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