Best way to set-up a test site?

Could someone please point me in the right direction for creating a test site to test new mods before applying them to our live site. I know I have come across a link to the knowledge base somewhere or a thread of some sort.



We seem to be having a problem with CS letting us do this. Something simple I know but just not sure what exactly the problem is. Thanks



Stu

You should install XAMPP from www.apachefriends.org on your home home computer, instructions on how to do this are somewhere in CS’s knowledge base - Sno

Thanks Sno

Hey Sno,



I use xampp all the time and love it. The only thing I can’t figure out is how to get the SEO module to work. It’s really frustrating. Do you or anyone else have any ideas on how to get this to work?



Thanks,



Brandon

[quote name=‘brandonvd’]Hey Sno,



I use xampp all the time and love it. The only thing I can’t figure out is how to get the SEO module to work. It’s really frustrating. Do you or anyone else have any ideas on how to get this to work?



Thanks,



Brandon[/QUOTE]

First of all you need to enable or uncomment “LoadModule rewrite_module modules/mod_rewrite.so” in xampp\apache\conf\httpd.conf, remember to restart apache server.



Then you need to change “RewriteBase /” in .htaccess of cs-cart to:

RewriteBase /your installation folder

Thank you Joe,



I’ve been struggling with this for a long time now. I’ve already commented out the module in the httpd.conf, but I totally didn’t think about changing my .htaccess.



Once I changed my .htaccess everything worked great. I don’t know why I didn’t think of that before.



Anyways, thanks again, I reallly appreciate it.



Brandon

Per CS-Cart Support…“Test Site”



You are able to have an additional CS-Cart installation for testing purposes, but it should be closed for public. Please refer to this article in our Knowledge Base in order to get to know how to close your store: [url]CS-Cart Documentation — CS-Cart 4.15.x documentation

In order to make the copy of you live store in the subdirectory you should do the following:


  • Make a clean installation of the same version of CS-Cart in the subdirectory (e.g. “test”) on your server (make sure that you use separate database for this store).
  • Copy the “config.local.php” file of this new CS-Cart to your local computer (or rename it to avoid its overwriting during the next step).
  • Make a backup of the store database of your live store:
  1. Log in to the administration panel, open the “Administration” tab and click on the “Database” link.
  2. Enter a backup file name in the “Backup file name” field (i.e. “my_database.sql”) and click on the “Backup” button. The created file will be placed into the “var/database/backup” directory of your CS-Cart installation.
  3. Copy this file from this directory to your local computer.
  • Copy all the CS-Cart files (only modified or created) to the “test” directory overwriting the clean installation.
  • Copy the “config.local.php” file of the clean installation back to the server.
  • Log in to the panel of CS-Cart installed in the “test” subdirectory and restore the dump file (you have created during step 3):
  1. Upload this file on the “Database” page under the “Restore” tab and click on the “Restore” button.

    As a result you will have the same copy of CS-Cart in the “test” subdirectory.

    Also we would like to inform you that your technical support period has started today.



    Stu

Great thread, it’s good clear info for people searching the forum. Sometimes good answers are ‘hidden’ by obscure thread titles.

As for:[quote name=‘derbytown502’]

Also we would like to inform you that your technical support period has started today.

[/QUOTE]

I’ve come to expect nothing less, except that even my lawyer is happy to share more info than that for free… I’ll let her know she’s in the wrong business