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:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\shop\index.php
	
			Line:
		
			24
	
			Function:
		
			<b>require</b>

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:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			<b>expire</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			<b>init</b>
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			<b>require</b>
	</div>
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:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			<b>expire</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			<b>init</b>
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			<b>require</b>
	</div>
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:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			642
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			<b>expire</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			<b>init</b>
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			<b>require</b>
	</div>
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:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			642
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			104
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Session.php
	
			Line:
		
			253
	
			Function:
		
			<b>decode</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Backend\Session\Database.php
	
			Line:
		
			98
	
			Function:
		
			<b>expire</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			744
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			333
	
			Function:
		
			<b>gc</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			<b>init</b>
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			<b>require</b>
	</div>
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:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\app\Tygh\Web\Session.php
	
			Line:
		
			154
	
			Function:
		
			<b>start</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			129
	
			Function:
		
			<b>init</b>
	
			File:
		
			C:\xampp\htdocs\test\app\functions\fn.init.php
	
			Line:
		
			1004
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\test\init.php
	
			Line:
		
			154
	
			Function:
		
			<b>fn_init</b>
	
			File:
		
			C:\xampp\htdocs\test\admin_*****.php
	
			Line:
		
			25
	
			Function:
		
			<b>require</b>
	</div>

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

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

Did you clear cache?

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

I changed the url but now i have another error

PHP Warning

Message

Illegal string offset 'discussion'

Error at

C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php, line: 15

Backtrace

			File:
		
			C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php
	
			Line:
		
			15
	
			Function:
		
			<b>{closure}</b>
	
			File:
		
			C:\xampp\htdocs\shop\app\functions\fn.common.php
	
			Line:
		
			2145
	
			Function:
		
			<b>include</b>
	
			File:
		
			C:\xampp\htdocs\shop\app\addons\seo\func.php
	
			Line:
		
			2397
	
			Function:
		
			<b>fn_get_schema</b>
	
			File:
		
			C:\xampp\htdocs\shop\app\functions\fn.control.php
	
			Line:
		
			144
	
			Function:
		
			<b>fn_seo_dispatch_before_display</b>
	
			File:
		
			C:\xampp\htdocs\shop\app\functions\fn.control.php
	
			Line:
		
			607
	
			Function:
		
			<b>fn_set_hook</b>
	
			File:
		
			C:\xampp\htdocs\shop\index.php
	
			Line:
		
			25
	
			Function:
		
			<b>fn_dispatch</b>
	</div>


Fatal error: Uncaught Error: Cannot use string offset as an array in C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php:15 Stack trace: #0 C:\xampp\htdocs\shop\app\functions\fn.common.php(2145): include() #1 C:\xampp\htdocs\shop\app\addons\seo\func.php(2397): fn_get_schema(‘seo’, ‘canonical_urls’) #2 C:\xampp\htdocs\shop\app\functions\fn.control.php(144): fn_seo_dispatch_before_display() #3 C:\xampp\htdocs\shop\app\functions\fn.control.php(607): fn_set_hook(‘dispatch_before…’) #4 C:\xampp\htdocs\shop\index.php(25): fn_dispatch() #5 {main} thrown in C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php on line 15




PHP Fatal Error

Message

Uncaught Error: Cannot use string offset as an array in C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php:15 Stack trace: #0 C:\xampp\htdocs\shop\app\functions\fn.common.php(2145): include() #1 C:\xampp\htdocs\shop\app\addons\seo\func.php(2397): fn_get_schema('seo', 'canonical_urls') #2 C:\xampp\htdocs\shop\app\functions\fn.control.php(144): fn_seo_dispatch_before_display() #3 C:\xampp\htdocs\shop\app\functions\fn.control.php(607): fn_set_hook('dispatch_before...') #4 C:\xampp\htdocs\shop\index.php(25): fn_dispatch() #5 {main} thrown

Error at

C:\xampp\htdocs\shop\app\addons\discussion\schemas\seo\canonical_urls.php, line: 15

Did you clear cache?

After clearing going back to this error:

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

Could be related to php version?

Regards

Try to copy these files

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

from the clean installation of your version.

Thank you, Oleg. It's worked. I did previously mistake.

Regards

Thank you, Oleg. It's worked. I did previously mistake.

Regards

Thank you for the information. I am glad to know that your issue is resolved.

Hello Again,

The frontend is working ok. The backend starts ok and after login it brokes. Please see the picture below. Please any help!

broken.png

Please delete the cache folder
var/cache

Please delete the cache folder
var/cache

I have disabled CDN in config file and it works. Thank you all for your help!

Hi

i have moved my cs cart website from server to to Localhost, but when i enter to browse site on localhost/cs cart its redirect to mydomain.com

// Host and directory where software is installed on no-secure server
$config['http_host'] = 'localhost';
$config['http_path'] = '/cscart';
// Host and directory where software is installed on secure server
$config['https_host'] = 'localhost';
$config['https_path'] = '/cscart';
please let me know how to solve it. i have very where checkd there is no url from my domain
Thanks