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
- Topic Author
- Offline
- Posts: 14
- Thank you received: 0
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1624
- Thank you received: 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
Please Log in to join the conversation.
- Derek Sharp
- Topic Author
- Offline
- Posts: 14
- Thank you received: 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 ##
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1624
- Thank you received: 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.
Please Log in to join the conversation.
- Derek Sharp
- Topic Author
- Offline
- Posts: 14
- Thank you received: 0
Please Log in to join the conversation.
- Derek Sharp
- Topic Author
- Offline
- Posts: 14
- Thank you received: 0
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1624
- Thank you received: 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)
Please Log in to join the conversation.
- Ruud van Lent
- Offline
- Posts: 1624
- Thank you received: 107
So question is: did you do a template override?
Please Log in to join the conversation.
- Derek Sharp
- Topic Author
- Offline
- Posts: 14
- Thank you received: 0
Please Log in to join the conversation.
- Derek Sharp
- Topic Author
- Offline
- Posts: 14
- Thank you received: 0
Please Log in to join the conversation.