Session expired issue with PDFs
-
Hi
We are using Media Vault on WordPress 4.0 with Nginx and PHP-FPM and it is’nt handling PDFs correctly. Originally the issue was that the PDFs were still open to view without being logged in, despite being added to the media vault.
However, we now have a second issue. When the plugin is activated, PDF files won’t upload. The upload fails and I am logged out of the website, the login page appears and I can’t log in again until I move away from that URL.
I deactivated the plugin, (only partially, I didn’t click the “fully deactivate media vault” option) and the PDF’s uploaded successfully. Upon then trying to add the PDFs to a page, I was logged out again. The message I get is “Session expired. Please log in again. You will not move away from this page.” Any action I try to complete related to the PDF’s results in me being logged out, for example clicking edit in the media library on one of the PDF’s.
Word Documents seem to work without this problem.
We have the following rewrites in place
## Re-Writes for media-vault plugin.
rewrite ^/wp-content/uploads(/_mediavault/.*\.\w+)$ /index.php?mgjp_mv_file=$1 break;
rewrite ^/wp-content/uploads(/.*\.\w+)$ /index.php?mgjp_mv_file=$1 break;We are using the 2014 theme and no other plugins are activated.
Are you aware of any issues and can you suggest anything that may resolve this issue? Thank you in advance for your help.
Many thanks
Emma
- The topic ‘Session expired issue with PDFs’ is closed to new replies.