Jump to content

Replicate Site to Local Machine


Fractal

Recommended Posts

Welcome Fractal! Glad to see you made it to the forum.

Your local development environment may be using "localhost" or (recommended) 127.0.0.1. If your environment also includes your own dedicated DNS resolver in your firewall, that may help when you create a specific subdomain, such as localtest.fractal.com.

When having copied the files to your local machine, you should delete everything in the /cache/ folder except the .htaccess file. There may be files in here that contain complete URLs to the site they were copied from.

Then, in /includes/global.inc.php, add statements to force an override over the store's address. See:
https://forums.cubecart.com/topic/52829-clean-install-6110-add-to-basket-not-working/?tab=comments#comment-228794

Link to comment
Share on other sites

1 hour ago, bsmither said:

Welcome Fractal! Glad to see you made it to the forum.

Your local development environment may be using "localhost" or (recommended) 127.0.0.1. If your environment also includes your own dedicated DNS resolver in your firewall, that may help when you create a specific subdomain, such as localtest.fractal.com.

When having copied the files to your local machine, you should delete everything in the /cache/ folder except the .htaccess file. There may be files in here that contain complete URLs to the site they were copied from.

Then, in /includes/global.inc.php, add statements to force an override over the store's address. See:
https://forums.cubecart.com/topic/52829-clean-install-6110-add-to-basket-not-working/?tab=comments#comment-228794

Awesome, thanks.  that works partially. 
Now the redirection is going to my local site but instead of the home page I'm receiving the "Store is currently offline." message

Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...