Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Moving from live server to localhost issues

    I want to start trying to switch up my workflow to localhosting w/ git and then pushing to github and my server w/ a service hook, as the end goal.

    I've downloaded my files and my database onto my comp, have my db installed in localhost/phpmyadmin w/ xampp running apache and mysql.

    I installed a fresh zen-cart 1.5.6... then I copied my files overtop of those keeping the configure.php files from the install, but when I try to use the fix_cache_key.php utility it keeps loading my live domain. like mysite.com instead of localhost/zen156/fix_cache_key.php gets kicked to mysite.com/fix_cache_key.php (which obviously isn't on my server)

  2. #2
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Moving from live server to localhost issues

    I thought that fix_cache_key utility was no longer necessary from say 1.5.3 on?!

    Sure that there isn't some record in either of includes/local or admin/includes/local that also was copied over and referenced the older/other site?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,674
    Plugin Contributions
    123

    Default Re: Moving from live server to localhost issues

    MC is correct - you won't need fix cache key anymore
    Be sure your local configure.php files reference your WAMP environment and not your live environment.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Moving from live server to localhost issues

    I think it was an issue w/ the .htaccess file RewriteCond and browser caching it.

  5. #5
    Join Date
    Dec 2008
    Location
    Pittsburgh, PA
    Posts
    237
    Plugin Contributions
    1

    Default Re: Moving from live server to localhost issues

    thanks for your thoughts/time on it though (:

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,674
    Plugin Contributions
    123

    Default Re: Moving from live server to localhost issues

    Right that's another file that differs between local and live. Be sure when you set up your auto deploy that these files are passed over.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Replies: 9
    Last Post: 6 Jul 2016, 07:45 PM
  2. moving from localhost to live
    By yamadan in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 9 Feb 2010, 07:37 AM
  3. Moving from test folder to live folder on web server?
    By Gewehr 43 in forum General Questions
    Replies: 13
    Last Post: 4 Jun 2009, 10:12 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