Moving - Service Unavailable

I move my CS-Cart files to a different vhost on the same server. I preserved all file attributes in the copy and then did a chown and chgrp to change to the new vhost user and group. I edited the config.local.php file to update the domain name. I can login to the admin panel no problem but if I try to access the storefront I get Service Unavailable. I closed and opened the store in the General Setttings but that didn't help.

There's nothing in the error_log generated when I refresh the home page.

Any ideas?

Might be worth clearing the cache a few times

If the domain name changed, you need to edit the store settings in admin with the new domain name.

Add

define(‘DEVELOPMENT’, true);

To config.local.php to see what’s generating the service unavailable.

Check source code of the page. Most possibly you will see "No storefronts defined" error at the bottom. It means that the store-front URLs should be changed on the Administration -> Stores page in the admin panel

Check source code of the page. Most possibly you will see "No storefronts defined" error at the bottom. It means that the store-front URLs should be changed on the Administration -> Stores page in the admin panel

That was it. Many thanks for saving my forehead from the bruise of beating my head against the wall.

We are glad to help you

You can find a detailed tutorial on how to move CS-Cart to another server here: http://docs.cs-cart.com/4.3.x/install/moving_to_another_server.html