When I click to view a PDF file, the file is saved, but corrupt when opening.
Direct URL: https://www.downstairs-foto.dk/images/documents/referater/20220221_Generalforsamlingsreferat.pdf
If I copy the URL and paste into my browser, I get this error:
Deprecated: Bootstrapping Joomla using the /home/downstai/public_html/libraries/import.legacy.php file is deprecated. Use /home/downstai/public_html/libraries/bootstrap.php instead. in/home/downstai/public_html/libraries/import.legacy.phpon line16
Deprecated: Bootstrapping Joomla using the /home/downstai/public_html/libraries/cms.php file is deprecated. Use /home/downstai/public_html/libraries/bootstrap.php instead. in/home/downstai/public_html/libraries/cms.phpon line17
Fatal error: Uncaught Exception: Failed to start application in /home/downstai/public_html/libraries/src/Factory.php:138 Stack trace: #0 /home/downstai/public_html/modules/mod_agiledownloads/readmedia.php(40): Joomla\CMS\Factory::getApplication('site') #1 {main} Next Exception: Failed to start application in /home/downstai/public_html/libraries/src/Factory.php:138 Stack trace: #0 /home/downstai/public_html/libraries/src/Exception/ExceptionHandler.php(90): Joomla\CMS\Factory::getApplication() #1 /home/downstai/public_html/libraries/src/Exception/ExceptionHandler.php(74): Joomla\CMS\Exception\ExceptionHandler::render(Object(Exception)) #2 [internal function]: Joomla\CMS\Exception\ExceptionHandler::handleException(Object(Exception)) #3 {main} thrown in/home/downstai/public_html/libraries/src/Factory.phpon line138
I have found the issue and I've recently released Version 1.2.2 of agileDownloads (Pro) to fix it. You can either download the latest version from within your Downloads area on nx-designs or install it via Joomla! Updater. To use the Joomla! Updater you may need to setup the nx-designs framework plugin first and create / set a download id - see this post for more information: https://nx-designs.ch/blog/73-tutorials/218-subscription-manage-download-id-s
Sidenote: Because there are now a different files in the filesystem for J3/J4 as readmedia checker backend you need to disable / re-enable Folder Protection for each folder you want to secure before it works. Sorry but there was no other way to make it work in J3 & J4.
Let me know if the update works for you.
kind regards
Marco
---------
Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934
https://www.downstairs-foto.dk/images/documents/referater/20220221_Generalforsamlingsreferat.pdf
Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934
---------
Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934
---------
/claus