Local install on Windows / OSX of CS-Cart install

Hello,



I would like to tamper with my current settings fast and be free to do it without fearing the current store gets compromised.



I know there are some instructions on how to run it locally on Windows XP I think, but I didn’t succeed.



Has anyone tried it on a Mac perhaps and can share how?



Many thanks!!!

Anyway you will have to instal XAMPP on your PC, it doesn’t matter if you use Windows or Mac OS.



[url]http://www.apachefriends.org/en/xampp.html[/url]

Did that, downloaded a full site backup and moved the home_dir into the appopriate folder.

I started the localhost, got the XAMPP logo, selected “english” and got this file opened, with the following screen :



[url]http://localhost/xampp/lang.php?en[/url]



Warning: fopen(lang.tmp) [function.fopen]: failed to open stream: Permission denied in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 2



Warning: fwrite() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 3



Warning: fclose() expects parameter 1 to be resource, boolean given in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 4



Warning: Cannot modify header information - headers already sent by (output started at /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php:2) in /Applications/XAMPP/xamppfiles/htdocs/xampp/lang.php on line 5



Do I need to make some modifications to any of the files then?

Sure, you will need to alter the config.local.php file.

indy0077, i feel stupid this morning. If my localhost is located in

/Applications/XAMPP , this should then be in the config.local.php :



// Host and directory where software is installed on no-secure server

$config[‘http_host’] = ‘Applications/XAMPP’; (normally I had www.filigreestreet.com here.

$config[‘http_path’] = ‘’; (this was always blank)



This or similar modifications don’t work. I even tried ‘localhost’…



Any ideas anyone? I am truly stuck, and this seems a simple thing to sort out …

I am trying to do the same thing. Do I have to reinstall CS Cart to my testing server or can I just copy the “shop” folder. I am using wamp and Dreamweaver.

So its not only me who can’t figure it out… ?

[QUOTE]I am trying to do the same thing. Do I have to reinstall CS Cart to my testing server or can I just copy the “shop” folder. I am using wamp and Dreamweaver.[/QUOTE]



If you want the local install to be fully functional for testing, then you must install the entire CS files package, how else is it going to be operational? :wink:



Also, if some of you are struggling to create a local install for testing on a PC, then just setup a test installation in a spare domain or subdomain of your web server and make it inaccessible to the public. Then design & test to your hearts content.

Or you don’t even have to bother with a subdomain. You can just do it in a sub-directory, I.e. ‘test’ and then modify robots.txt and config.local.php in both root directories and the .htacess in the test directory.



Copy the database to a different one and then make that change in test/config.local.php.



The robots change tells the crawlers NOT to crawl test (to avoid duplicate content penalties). This is the standard way I upgrade a customer’s site. I setup the test directory and upgrade that store. I then have the customer review it to ensure it all works as they expect, then I upgrade the main store and copy the files from the test store (other than robots.txt, .htaccess and config.local.php). Works like a charm.



Not sure why anyone would want to run this on their desktop versus the environment that it’s ultimately going to be run it. The closer you can get in testing to what things are going to be, the better.

[QUOTE]Not sure why anyone would want to run this on their desktop versus the environment that it’s ultimately going to be run it. The closer you can get in testing to what things are going to be, the better.[/QUOTE]



LOL, this is the same question I have always asked myself when contemplating a test environment for my own sites (Windows or Unix based). And yes, I prefer to experience exactly the same experience that will be experienced when the switch is flipped to live mode. I can modify & move files back & forth quite efficiently via FTP.



About time we agreed on something! :smiley:

We don’t disagree all that much. There’s usually more than one way to skin a cat and as long as the cat’s skinned when done, it’s more a question of how…



I’m sure we can find something to disagree on! :slight_smile:

[QUOTE]There’s usually more than one way to skin a cat and as long as the cat’s skinned when done[/QUOTE]



Fine then, sounds like it is time to fire up the grill (here kitty kitty)!