Hi,
We have OpenCart 3.0.3.7 installed at the Plesk panel in a Hostgator VPS.
For the last 2-3 months we are facing a different type of issue, we regularly install and update our many extensions. But we are failed to detect the issue.
**Our theme is Journal 3. But we have tried to uninstall the theme and check this issue for 2-3 days, same things happen.
Problem:
At night when I personally login to the admin panel, my login token stayed valid as long as my system is on. There was no such issue.
But at office time, many admins (different users) log in to the OpenCart admin panel at a time, approx 4-5 users. Everyone frequently gets logged out automatically from the admin panel. At the same time, many customers (front end-user) also complain that they feel very bad as they get logged out in the middle of any purchase, like at the checkout page or multiple items added to the cart then get logged out automatically.
Our website is https://nationalpc.in
you can create an account and test the situation from IST 11:30 AM to 07:30 PM
We have OpenCart 3.0.3.7 installed at the Plesk panel in a Hostgator VPS.
For the last 2-3 months we are facing a different type of issue, we regularly install and update our many extensions. But we are failed to detect the issue.
**Our theme is Journal 3. But we have tried to uninstall the theme and check this issue for 2-3 days, same things happen.
Problem:
At night when I personally login to the admin panel, my login token stayed valid as long as my system is on. There was no such issue.
But at office time, many admins (different users) log in to the OpenCart admin panel at a time, approx 4-5 users. Everyone frequently gets logged out automatically from the admin panel. At the same time, many customers (front end-user) also complain that they feel very bad as they get logged out in the middle of any purchase, like at the checkout page or multiple items added to the cart then get logged out automatically.
Our website is https://nationalpc.in
you can create an account and test the situation from IST 11:30 AM to 07:30 PM
PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep
How do you administer your DB -
If phpmyadmin for example look at the session table and see what is going on there.
Also possible is a caching/proxy issue
If phpmyadmin for example look at the session table and see what is going on there.
Also possible is a caching/proxy issue
It's really surprising
oc_session table is only 80.0 KiB
Whenever I checked before, this was always above 15 MiB. But now this is only 80.0 KiB though I haven't cleared this for the last 1-2 months. Something serious !!
oc_session table is only 80.0 KiB
Whenever I checked before, this was always above 15 MiB. But now this is only 80.0 KiB though I haven't cleared this for the last 1-2 months. Something serious !!
PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep
It should become obvious what is occurring if you monitor that session table during logins etc.
The session table should clear down by itself depending on what code is in there. There were problems in some OC versions.
The session table should clear down by itself depending on what code is in there. There were problems in some OC versions.
We have updated the OC version to 3.0.3.8 and the PHP version to 8.0.15
Let's see for 1-2 days, will update here.
Let's see for 1-2 days, will update here.
PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep
You may encounter some issues here.liprotech.in wrote: ↑Wed Jan 26, 2022 2:32 pmWe have updated the OC version to 3.0.3.8 and the PHP version to 8.0.15
Let's see for 1-2 days, will update here.
If you do - apply the fixes available or go back to php 7.4
We are using the OC version of 3.0.3.8 and the PHP version of 8.0.27 with Journal 3.2. We have tried to use the default OpenCart theme. But the same things happening.
There was no fixed time limit for logout.
Admin and user log out frequently even if they are active on that session. Sometimes from the add to the cart page, they are going to log out as per the customer feedback.
There was no fixed time limit for logout.
Admin and user log out frequently even if they are active on that session. Sometimes from the add to the cart page, they are going to log out as per the customer feedback.
PROSENJIT DAS
nationalpc.in
Lowest Price at your doorstep
Are you using db or file sessions? Check 'session_engine' in system/config/default.php and system/config/catalog.php.
What are your PHP settings session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.gc_maxlifetime, session.gc_probability and session.gc_divisor set to. Use phpinfo() to find them.
Try setting some cache control headers.
viewtopic.php?t=206449#p853532
What are your PHP settings session.cookie_lifetime, session.cookie_path, session.cookie_domain, session.gc_maxlifetime, session.gc_probability and session.gc_divisor set to. Use phpinfo() to find them.
Try setting some cache control headers.
viewtopic.php?t=206449#p853532
You do realize that OpenCart 3.0.3.8 doesn't support PHP 8, don't you?liprotech.in wrote: ↑Wed Jan 26, 2022 2:32 pmWe have updated the OC version to 3.0.3.8 and the PHP version to 8.0.15
Let's see for 1-2 days, will update here.
In order to use PHP 8 (we recommend PHP 8.2) you'd have to upgrade to the 3.0.x.x_Maintenance release.
Also, do you yourself a favor and use the OpenCart framework, along with a proper and nicer-looking theme, and not the Journal3 framework.
If your session DB table was so huge until recently then this could mean that your site was subjected to a bruteforce attack, check the server's raw access log on this. This might have contributed to your session issues.
Finally, try using reasonable default values for your PHP settings ession.gc_maxlifetime, session.gc_probability and session.gc_divisor.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Who is online
Users browsing this forum: No registered users and 408 guests