J!Extensions Store™
Forum
Welcome, Guest
Please Login to access forum.
Re:Error on PDF export (1 viewing) 
Go to bottom
TOPIC: Re:Error on PDF export
#578
Jordan Weinstein
Fresh Boarder
Posts: 6
User Offline
Error on PDF export 5 Years, 3 Months ago Karma: 0  
Hello,

Using v2.1 on Joomla 3.3.3 on this view:

administrator/index.php?option=com_jrealtimeanalytics&task=serverstats.display

When clicking 'Export PDF', I get the following white screen and error:

TCPDF ERROR: [Image] Unable to get the size of the image: https://DOMAIN.com/administrator/components/com_jrealtimeanalytics/images/icon-48-statspdf.png

Any suggestions what is happening here? When trying to export to PDF from within one of the panels "Visits by Page", the PDF seems to work fine.

Jordan
 
Logged Logged  
  The administrator has disabled public write access.
#579
John Dagelmore
Admin
Posts: 3521
User Offline
Re:Error on PDF export 5 Years, 3 Months ago Karma: 74  
 
Logged Logged  
  The administrator has disabled public write access.
#580
Jordan Weinstein
Fresh Boarder
Posts: 6
User Offline
Re:Error on PDF export 5 Years, 3 Months ago Karma: 0  
I have isolated the issue.

It seems to be related to the .htaccess password protection in my administrator folder. It seems the component has an issue exporting to PDF with this code in htaccess:

AuthUserFile "/home/domain/public_html/administrator/.htpasswd"
AuthName "Restricted Area"
AuthType Basic
require valid-user

RewriteEngine On
RewriteRule \.htpasswd$ - [F,L]
 
Logged Logged  
  The administrator has disabled public write access.
#581
John Dagelmore
Admin
Posts: 3521
User Offline
Re:Error on PDF export 5 Years, 3 Months ago Karma: 74  
Thanks for your reply Jordan,

can you post detailed explanations and info so that also me and other users will be able to know what to do for future cases?

Thanks again

John
 
Logged Logged  
  The administrator has disabled public write access.
#583
Jordan Weinstein
Fresh Boarder
Posts: 6
User Offline
Re:Error on PDF export 5 Years, 3 Months ago Karma: 0  
HI,

All I did is remove the .htaccess in the admin folder. It contained the code above. It would be nice to improve compatibility with that code above since many people do use it to protect access to their admin folder (beyond the Joomla login of course).

Jordan
 
Logged Logged  
  The administrator has disabled public write access.
#584
John Dagelmore
Admin
Posts: 3521
User Offline
Re:Error on PDF export 5 Years, 3 Months ago Karma: 74  
I would be glad if you could post or send me the .htaccess file used for Joomla admin.

In this way i will be able to reproduce the same condition and test it to find possible workaround.

Thanks for your time

John
 
Logged Logged  
  The administrator has disabled public write access.
Go to top