OpenCart Admin Login Loop

Method-1: First Check the Timezone in Settings > Store. Make sure you set to UTC.

If you need to change it back you can in the SQL table “oc_setting” column “key” value “config_timezone” in the “value” column change it back to “UTC”

UPDATE oc_setting SET value='UTC' WHERE key = 'config_timezone';

If still issue, follow below method.

Method-2: You need to set your php time and mysql time the same. its deleting cookies to soon. You can fix this.

Open:

system/config/default.php
system/config/catralog.php
system/config/admin.php

Find:

$_[‘session_engine’] = ‘db’;

Replace:

$_[‘session_engine’] = ‘file’;

 

 

about author

Sam

samatwwc@gmail.com

WordPress, Magento, cPanel, Plesk, WHM, WooCommerce

Leave a Reply

Your email address will not be published. Required fields are marked *