Error establishing database connection on file download
-
Hello,
I’m using the Download Codes plugin with the same self-hosted files successfully for many years now. Recently however, attempts to download files are rejected with an error. The code itself works and the download link is displayed (
/?lease=...
), however when clicking it users get an error:This site can’t be reached The web page at https://www.example.com/?lease=******* might be temporarily down or it may have moved permanently to a new web address. ERR_INVALID_RESPONSE
After that it redirects again to a page saying:
Error establishing database connection
This happens with all downloads. It is likely not a WP issue as other pages and functions on the site are working fine.
I’ve verified that the files are located where they should be and that sufficient permissions are granted.
I’ve also made sure the database is up and has enough disk space.
The edit screen on the plugin settings also shows the files correctly.
WP version 6.2
Download Codes version 2.5.4
- The topic ‘Error establishing database connection on file download’ is closed to new replies.