Logout During Invoice Download

Problem

When a user attempts to download a copy of the PDF invoice in the Client Area (using the Download button), the system logs them out and displays the Client Area login page.

Cause

This issue occurs when pdo_mysql clients in some server configurations cause unexpected behavior in PHP. This is most common on CloudLinux™ servers.

Solution

Update your system’s PHP configuration to use the PHP-native pdo_mysql driver.

To do this on CloudLinux systems:

  1. On your server, go to CloudLinux PHP Configuration.
  2. Deselect pdo_mysql.
  3. Select nd_pdo_mysql.

The system will apply the change immediately and the issue should resolve.

For other server types, ask your system administrator or hosting provider to recompile PHP with the native driver.

Last modified: June 5, 2024