hi all, i have a really strange issue with logging into customer accounts.
If you click to purchase something and login to an account that has been created it just refreshes the login page.
At one point i had an error message saying Error: undefined error.
So it seems you are not logged in. Yet, if you then click the account button to login it comes up with all account details so the site is actually logged in.
Its like the entire site is glitching due to the cache somehow... I've turned off all cache in admin yet it is still continuing with this glitch.
It does the same if i make changes to the site, i have to keep clearing browser cache and refreshing the page in order for changes to take effect.
The login is the biggest issue though as customers cannot order anything...
Im hosted with liquid web on a vps
this fix appears to have worked.
viewtopic.php?f=202&t=211118
although be aware there is an error and should be // not /
in system/framework.php
replace
with
viewtopic.php?f=202&t=211118
although be aware there is an error and should be // not /
in system/framework.php
replace
Code: Select all
// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
Code: Select all
// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
Great, marking as [SOLVED].
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Who is online
Users browsing this forum: No registered users and 394 guests