Mjims Posted January 5 Share Posted January 5 I have a session issue on my website. When I log into the back office, it automatically logs me out after a few seconds. Link to comment Share on other sites More sharing options...
PrestaServicePro Posted January 5 Share Posted January 5 Hello, Could you please provide some more information like PS/PHP version so we can better understand what might be causing the issue? Did you recently install any new modules or upgrade existing ones? Troubleshooting Steps: Clear Cache: Please try clearing your shop's cache first, as outdated cached data can sometimes cause conflicts. Access FTP navigate to the /var/cache/ directory and you'll find the prod, and dev cache directories. Select all the files and folders within those cache directories right-click and choose "Delete". Debug Mode: If clearing the cache doesn't help, please activate debug mode to get more detailed error messages. Here's how to activate debug mode over FTP: Locate the config/defines.inc.php file within your PrestaShop installation directory. Open the defines.inc.php file in a text editor. Find the line that says:define('_PS_MODE_DEV_', false); Change false to true:define('_PS_MODE_DEV_', true); Save the changes to the file. Clear your browser cache and refresh the page where you're experiencing the issue. If debug mode is activated successfully, you should see additional error messages or warnings that can help with troubleshooting. Key Reminders: Remember to disable debug mode after you've resolved the issue, as leaving it on can expose sensitive information about your store. Good day Link to comment Share on other sites More sharing options...
Mjims Posted January 5 Author Share Posted January 5 1 hour ago, PrestaServicePro said: Hello, Could you please provide some more information like PS/PHP version so we can better understand what might be causing the issue? Did you recently install any new modules or upgrade existing ones? Troubleshooting Steps: Clear Cache: Please try clearing your shop's cache first, as outdated cached data can sometimes cause conflicts. Access FTP navigate to the /var/cache/ directory and you'll find the prod, and dev cache directories. Select all the files and folders within those cache directories right-click and choose "Delete". Debug Mode: If clearing the cache doesn't help, please activate debug mode to get more detailed error messages. Here's how to activate debug mode over FTP: Locate the config/defines.inc.php file within your PrestaShop installation directory. Open the defines.inc.php file in a text editor. Find the line that says:define('_PS_MODE_DEV_', false); Change false to true:define('_PS_MODE_DEV_', true); Save the changes to the file. Clear your browser cache and refresh the page where you're experiencing the issue. If debug mode is activated successfully, you should see additional error messages or warnings that can help with troubleshooting. Key Reminders: Remember to disable debug mode after you've resolved the issue, as leaving it on can expose sensitive information about your store. Good day It's on PHP 7 and PrestaShop 1.7. I have tried these approaches, but it doesn't work. I tested it on multiple browsers and even changed servers, but the issue persists. Link to comment Share on other sites More sharing options...
Mjims Posted January 5 Author Share Posted January 5 3 minutes ago, Mjims said: It's on PHP 7 and PrestaShop 1.7. I have tried these approaches, but it doesn't work. I tested it on multiple browsers and even changed servers, but the issue persists. Link to comment Share on other sites More sharing options...
PrestaServicePro Posted January 5 Share Posted January 5 We understand the frustration of trying multiple solutions without success. Since several common troubleshooting steps haven't yielded results, we would like to propose a more in depth debugging approach to uncover the root cause. To proceed, we need your consent and assistance with: Access to your PrestaShop back office: This will allow us to review settings and configuration. FTP access to your store's files: This is necessary for examining code and logs. If you are comfortable PM us with more details. Good day Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now