Hosted on different server

Hello,



So i have my domain from Godaddy.com and hosting from freewebhosting.com. Now after installing the CS-Cart it keeps on going to my hosting domain.

So this is where i want it to go www.barabasitaly.com and this is where it goes www.stjent.com.

Please let me know i could really use some help.



Thanks,

Hello barabas,



Thank you for your message. We are sorry to hear that you experience this problem.



Please make sure that the proper domain name (www.barabasitaly.com) is specified in the “config.local.php” file located in the root directory of your CS-Cart installation in the following part of the code:



// Host and directory where software is installed on no-secure server
$config['http_host'] = '';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = '';
$config['https_path'] = '';




If this information does not help you resolve the problem, it will require investigation on your server. Please contact us via Customer Help Desk and provide temporary access to your server.





Pavel Zyukin

CS-Cart Support team

[quote name='CS-Cart Support team' timestamp='1315922646' post='121583']

Hello barabas,



Thank you for your message. We are sorry to hear that you experience this problem.



Please make sure that the proper domain name (www.barabasitaly.com) is specified in the “config.local.php” file located in the root directory of your CS-Cart installation in the following part of the code:



// Host and directory where software is installed on no-secure server
$config['http_host'] = '';
$config['http_path'] = '';

// Host and directory where software is installed on secure server
$config['https_host'] = '';
$config['https_path'] = '';




If this information does not help you resolve the problem, it will require investigation on your server. Please contact us via Customer Help Desk and provide temporary access to your server.





Pavel Zyukin

CS-Cart Support team

[/quote]



Hello,



thanks for the reply. I have already sent a message via help desk and also made a FTP user id. So please let me know what can be done to the website. At the moment it looks horrible.

Hello barabas,



Thank you for the reply. Our technical support engineer will contact you via our Help Desk system at the first opportunity.





Pavel Zyukin

CS-Cart Support team

godaddy is no good, I am using keyweb german hoster.

Cheap linux based VPS for 8 euros per month :)

I am moving to a new host as my current host will be ceasing operations in about 21 days time. To make a long story short I zipped up my entire site (CS-Cart at root level) and unzipped it at the new site. I exported the database by using the dump to my PC. I have changed the config.local.php file to show the new temporary url see below:-





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

$config['http_host'] = 'drpeter1.us.cloudlogin.co';

$config['http_path'] = '';



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

$config['https_host'] = 'drpeter1.us.cloudlogin.co';

$config['https_path'] = '';





and changed the database name and user name, …etc



Unfortunatley, when I try to view the new temporary site I get a “Error Occurred” on the screen and everything hangs.



Is this because I have the old site still running ie license is for old site url http://www,drpetersnews.com. The new site will be have this url once the dns propagation goes through.



But for now I am unable to run CS-Cart to import the database.



What should I do?

Like here



John

Thanks John,



But that is not the answer I was looking for as most you will know that there are many patches to CS-cart that will be lost when you reinstall a fresh version. I still have unreolved bugs in my patched version and I do not want to lose the patches (I cannot remember where all of them are). So the standard method is of no use.



Peter

I guess everyone in Russia has gone to exercise their right to vote?

@John,



CS-Cart's way of moving to a different server is about the stupidist way of doing, it is amazing that they even have it on the knowledge base. Why in the world would you do a whole new install when all you have to do is move over the files, export/import the database, and then change the config file? This is way, way easier and no changes are lost.



@peter,



I'm getting an error that says “error occurred”. This is usually because the system can't connect to your database. I'd start by double checking those settings and going from there. What you have above in your config looks fine to me.



Hope that helps,



Brandon