Experiencing a 401 Unauthorized Error During Update?
If you're seeing a 401 Unauthorized error when trying to update your Joomla extension, it's likely due to our new two-factor authentication (2FA) security measure for your Download ID.
To resolve this, check your email (Spam folder?) for a message to approve your server or device, or read our detailed blog post here(
onlinecommunityhub.nl/best-practice/new-...-extension-downloads) to understand the steps involved. This will guide you through approving your server for future updates.
No bug cannot find any pdf file
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
what I see is that the following file is not available: [you site]/media/plg_system_ochfoundation5/libraries/vendor/pdfjs/web/viewer.html
This can have two reasons:
1. it is not there (you can check that via your filemanager in your hostingprovider)
2. that file is unreachable (probably due to .htaccess restricting access to html files)
Can you check 1. and if you could emal me the contents of your .htaccess then I can have a quick loook if i can see something in there
Graag Inloggen deelnemen aan het gesprek.
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
I have just listed below thee xtra code that I was asked to add to the htaccess file. Best regards Derek Sharp
</IfModule>
## Leverage browser caching at HostPapa ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/x-javascript "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>
## End leverage browser caching ##
## Enable gzip compression at HostPapa ##
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>
## End gzip compression ##
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
I think that you did a template override for pdfembed.php, correct?
if so you need to change the location of the $scr like this:
I normally add these template changes to the changelog, but see that for this version I missed that.
Graag Inloggen deelnemen aan het gesprek.
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
In the pdfembed.php you point to the new directory, your pdfembed points to the old location so there must be a template overide for that file (which is not updated when you update the plugin)
Graag Inloggen deelnemen aan het gesprek.
- Ruud van Lent
- Offline
- Berichten: 1640
- Ontvangen bedankjes 107
So question is: did you do a template override?
Graag Inloggen deelnemen aan het gesprek.
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.
- Derek Sharp
- Onderwerp Auteur
- Offline
- Berichten: 14
- Ontvangen bedankjes 0
Graag Inloggen deelnemen aan het gesprek.