Exception during cache and session cleaning while installing- Zopin live chat extensions in megento

Exception during cache and session cleaning while installing- Zopin live chat extensions in megento

July 29, 2026 · Illustrated author avatarBy Stefan Bogdanescu
Exception during cache and session cleaning while installing- Zopin live chat extensions in megento

Resolving “Exception during cache and session cleaning” Error While Installing Zopim Live Chat Extension for Magento

Introduction

When installing extensions like Zopim live chat for Magento, you might encounter the error message “Exception during cache and session cleaning”. Despite this warning, the extension appears to install successfully. However, upon trying to access your website, you may be greeted with a 503 Service Unavailable error.

This post will guide you through understanding this error and provide practical steps to resolve it without losing any data or affecting your store’s integrity.

Understanding the Error

The “Exception during cache and session cleaning” warning occurs when an extension attempts to clear Magento’s cache and sessions as part of its installation process. This is a standard procedure to ensure the new functionality works correctly with your existing setup.

However, there could be several reasons why this process fails:

  1. Insufficient permissions: The web server may lack the necessary write permissions on the cache and session folders.

  2. Overzealous caching: If your site has excessive amounts of cached data or complex caching rules, clearing it might exceed the allotted time limits for PHP execution.

  3. Extension conflicts: Other extensions you have installed might interfere with the Zopim extension’s installation process.

Steps to Resolve the Error

Step 1: Check File Permissions

The cache and session folders (usually located at var/cache and var/session) should have write permissions for the web server user. If they don’t, update them using the following commands:

chmod -R 777 var/cache
chmod -R 777 var/session

Note: Be cautious when using 777 as it grants excessive privileges. You might need to adjust this depending on your server’s security settings.

Step 2: Increase PHP Execution Time

If the error persists, it could be due to a time-out issue during cache and session clearing. Update the PHP execution time in your .htaccess file:

php_value max_execution_time 180

This increases the maximum execution time to 3 minutes.

Step 3: Review Extension Conflicts

Check if there are any conflicting extensions installed that might be interfering with Zopim’s installation. You can temporarily disable other live chat or communication-related extensions and see if the issue persists.

Step 4: Contact Zopim Support (If Necessary)

If you’ve tried these steps and the error still occurs, reach out to Zopim’s official support channels for further assistance. They may need specific information about your server configuration to provide a targeted solution.

Best Practices

To prevent such issues in the future:

  1. Test extensions thoroughly: Always test new extensions on a staging environment before deploying them to production.

  2. Monitor PHP errors: Enable Magento’s error reporting and log system to catch potential issues early (see our guide on Magento logging).

  3. Regularly update your store: Keep your Magento version up-to-date, as newer versions often include performance improvements and bug fixes.

Conclusion

While the “Exception during cache and session cleaning” warning can be disconcerting, it’s usually a minor issue that doesn’t prevent the extension from functioning correctly. By following these steps to address file permissions, PHP time-outs, and potential conflicts, you should be able to resolve this problem without any data loss.

Remember, patience is key when dealing with Magento extensions—sometimes allowing extra time for operations can prevent unexpected results. If all else fails, don’t hesitate to seek help from the Zopim support team or your dedicated technical partner.

Happy coding!

Cache Security Extensions Errors

Our network