How To Moving Cscart From Server To Localhost

Hi,

I want to moving cs-cart from server to localhost and does not working. I made a database backup from server and i imported on xampp with phpmyadmin, then I copied all cs-cart files from server in localhost/htdocs/shop.

I edited config.local.php:

$config['db_host'], $config['user'], $config['db_name'], $config['db_name'], $config['db_user'], $config['db_password'] with current data then i changed

$config['http_host'] = 'localhost';
$config['http_path'] = '/shop';

$config['https_host'] = 'localhost';
$config['https_path'] = '/shop';

BUT NOT WORKING! He show me under construction page with message

"UNDER CONSTRUCTION (coming soon...)"

Please help me ! Thank You!

Hi,

I want to moving cs-cart from server to localhost and does not working. I made a database backup from server and i imported on xampp with phpmyadmin, then I copied all cs-cart files from server in localhost/htdocs/shop.

I edited config.local.php:

$config['db_host'], $config['user'], $config['db_name'], $config['db_name'], $config['db_user'], $config['db_password'] with current data then i changed

$config['http_host'] = 'localhost';
$config['http_path'] = '/shop';

$config['https_host'] = 'localhost';
$config['https_path'] = '/shop';

BUT NOT WORKING! He show me under construction page with message

"UNDER CONSTRUCTION (coming soon...)"

Please help me ! Thank You!

Make sure that the cache is cleared. You can simply rename the var/cache directory to clear it.

If this does not help, please check the error message in the source code of the maintenance page.

Make sure that the cache is cleared. You can simply rename the var/cache directory to clear it.

If this does not help, please check the error message in the source code of the maintenance page.

I deleted var/cache folder.... i added define('DEVELOPMENT', true); in local.config.php and say this message:

Tygh\Exceptions\AException

Message

No storefronts defined for this domain

Error at

C:\xampp\htdocs\shop\app\functions\fn.init.php, line: 1015

Backtrace

			File:
		
			C:\xampp\htdocs\shop\init.php
	
			Line:
		
			150
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\shop\index.php
	
			Line:
		
			24
	
			Function:
		
			require

Hi,

I want to moving cs-cart from server to localhost and does not working. I made a database backup from server and i imported on xampp with phpmyadmin, then I copied all cs-cart files from server in localhost/htdocs/shop.

I edited config.local.php:

$config['db_host'], $config['user'], $config['db_name'], $config['db_name'], $config['db_user'], $config['db_password'] with current data then i changed

$config['http_host'] = 'localhost';
$config['http_path'] = '/shop';

$config['https_host'] = 'localhost';
$config['https_path'] = '/shop';

BUT NOT WORKING! He show me under construction page with message

"UNDER CONSTRUCTION (coming soon...)"

Please help me ! Thank You!

Hello,

If "UNDER CONSTRUCTION" error occurs in frontend, you need to set correct storefront URL. To do this, simply click Administration -> Stores, choose one storefront and type its Storefront URL.

Best regards,

Michael

Hello,

I need help also. I got it work a frontend, but cannot login to admin. Error 500. How to solve this problem?

Thank you.

I deleted var/cache folder.... i added define('DEVELOPMENT', true); in local.config.php and say this message:

Tygh\Exceptions\AException Message

No storefronts defined for this domain

Error at

C:\xampp\htdocs\shop\app\functions\fn.init.php, line: 1015

Backtrace File: C:\xampp\htdocs\shop\init.php Line: 150 Function: fn_init File: C:\xampp\htdocs\shop\index.php Line: 24 Function: require

This means that there is no storefronts with such domain in your installation. You can update the storefront URL on the Administration > Stores > [STOREFRONT] page in the admin panel. Admin panel should be accessible

Hello

What do you see when you set

define('DEVELOPMENT', true); in file config.php

and

ini_set('display_errors',1); in file config.local.php

?

Best regards

Robert.

Hello,

I need help also. I got it work a frontend, but cannot login to admin. Error 500. How to solve this problem?

Thank you.

Hello!

You need to enable development mode and error displaying to see the errors. You can add this

define('DEVELOPMENT', true);
ini_set('display_errors', 'on');

to the local_conf.php file.

Hello!

You need to enable development mode and error displaying to see the errors. You can add this

define('DEVELOPMENT', true);
ini_set('display_errors', 'on');

to the local_conf.php file.

Shows this:

Fatal error: Uncaught InvalidArgumentException: Identifier "cache" is not defined. in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php:95 Stack trace: #0 C:\xampp\htdocs\test\app\functions\fn.init.php(798): Pimple\Container->offsetGet('cache') #1 C:\xampp\htdocs\test\app\functions\fn.init.php(1004): fn_check_cache(Array) #2 C:\xampp\htdocs\test\init.php(154): fn_init(Array) #3 C:\xampp\htdocs\test\admin_*****.php(25): require('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php on line 95

Regards

Shows this:

Fatal error: Uncaught InvalidArgumentException: Identifier "cache" is not defined. in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php:95 Stack trace: #0 C:\xampp\htdocs\test\app\functions\fn.init.php(798): Pimple\Container->offsetGet('cache') #1 C:\xampp\htdocs\test\app\functions\fn.init.php(1004): fn_check_cache(Array) #2 C:\xampp\htdocs\test\init.php(154): fn_init(Array) #3 C:\xampp\htdocs\test\admin_lluk4s.php(25): require('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php on line 95

Regards

Try to copy these files

app/schemas/literal_converter/utf8.php
app/Tygh/Helpdesk.php

from the clean installation of your version.

Try to copy these files

app/schemas/literal_converter/utf8.php
app/Tygh/Helpdesk.php

from the clean installation of your version.

I have copied from my installation :

PHP Warning

Message

session_decode(): Failed to decode session object. Session has been destroyed

Error at

C:\xampp\htdocs\test\app\Tygh\Web\Session.php, line: 653

Backtrace

			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			653
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			init
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			require
	
PHP Notice

Message

Undefined index: settings

Error at

C:\xampp\htdocs\test\app\Tygh\Session.php, line: 257

Backtrace

			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			257
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			init
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			require
	
PHP Warning

Message

session_start(): Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\test\app\Tygh\Exceptions\AException.php:41)

Error at

C:\xampp\htdocs\test\app\Tygh\Web\Session.php, line: 333

Backtrace

			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			642
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			init
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			require
	
PHP Warning

Message

session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\test\app\Tygh\Exceptions\AException.php:41)

Error at

C:\xampp\htdocs\test\app\Tygh\Web\Session.php, line: 333

Backtrace

			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			642
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			decode
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			expire
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			gc
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			init
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			require
	
PHP Warning

Message

session_start(): Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\test\app\Tygh\Exceptions\AException.php:41)

Error at

C:\xampp\htdocs\test\app\Tygh\Web\Session.php, line: 333

Backtrace

			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			start
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			init
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			{closure}
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			fn_init
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			require
	

Fatal error: Uncaught InvalidArgumentException: Identifier "cache" is not defined. in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php:95 Stack trace: #0 C:\xampp\htdocs\test\app\functions\fn.init.php(798): Pimple\Container->offsetGet('cache') #1 C:\xampp\htdocs\test\app\functions\fn.init.php(1004): fn_check_cache(Array) #2 C:\xampp\htdocs\test\init.php(154): fn_init(Array) #3 C:\xampp\htdocs\test\admin_*****.php(25): require('C:\\xampp\\htdocs...') #4 {main} thrown in C:\xampp\htdocs\test\app\lib\vendor\pimple\pimple\src\Pimple\Container.php on line 95

Regards