I had cscart set up on a demo url on my server, once I was ready to go live I copied all the files over to the root. Now when I go to the site it can’t find many folders, such as skin, classes, etc.
You can check my site here: [url]http://mohabirrecords.us/index.php[/url]
Any idea how to fix this?
This is what I have in my config.php, is it correct?
[QUOTE]// Host and directory where cs-cart is installed on usual server
$cscart_http_host = ‘http:/www.mohabirrecords.us’;
$cscart_http_dir = ‘/’;
// Host and directory where cs-cart is installed on secure server
$cscart_https_host = ‘https://www.mohabirrecords.us’;
$cscart_https_dir = ‘/’;[/QUOTE]
Try dropping the http and https, so its just:
$cscart_http_host = ‘www.mohabirrecords.us’;
…
$cscart_https_host = ‘www.mohabirrecords.us’;
I removed the http and https and left the csxart_http_dir setting to a blank, instead of ‘/’. That gave me some more of the website back, I can now see products and the graphics, but there are a lot of errors now, for instance with the bestsellers box.
[QUOTE]Fatal error: Smarty error: [in addons/discussion/discussion_small.tpl line 4]: [plugin] modifier ‘fn_get_discussion’ is not implemented (core.load_plugins.php, line 118) in /home/mohabir/public_html/classes/templater/Smarty.class.php on line 1095[/QUOTE]
I checked the cscart install files, there is no discussion_small.tpl file in that folder
Update: found the discussion_small.tpl file and copied it to that location, now getting this error [QUOTE]Fatal error: Smarty error: [in addons/discussion/discussion_small.tpl line 4]: [plugin] modifier ‘fn_get_discussion’ is not implemented (core.load_plugins.php, line 118) in /home/mohabir/public_html/classes/templater/Smarty.class.php on line 1095[/QUOTE]
If I ran install.php again would it keep all my products, settings and images? How about if I exported my products and images, did the fresh install and then imported them again? I am really confused because I asked on these forums and even got help from the cscart help desk and in both cases I was told that it would be okay to do this and it wouldn’t mess up anything
I am having no luck trying to restore the site, I don’t know what can go wrong in what I thought was a simple copy/page operation. I also tried creating a directory with a new install of cs cart and exporting all the products and images to csv files and importing them into the new install but that failed also, I get this error when trying to import [QUOTE]Warning: copy(/home/mohabir/public_html/newin/home/mohabir/public_html/images/backup/product_images/product_image_1430.jpg) [function.copy]: failed to open stream: No such file or directory in /home/mohabir/public_html/newin/core/fn_common.php on line 1286[/QUOTE]. I don’t know why it’s such a pain to import/export either, just getting really fed up at this point after working on this site for a week.