OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
BookLibary Component Support
Go to bottom Favoured: 0
TOPIC: eBooks fatal error link
#7518
ctsaund85 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
eBooks fatal error link 3 Years, 8 Months ago Karma: 0  
I purchased a copy of the Book Library Pro extension for my Joomla website and I have been trying to add eBooks to some of the books I have listed in my library.

As far as I know I'm doing it correctly. When I add a book I use the Upload ebook section to browse my computer and select the appropriate ebook file. Then i save the book and refresh my website to test it out. However, when I click on the download ebook link i get the following error:

Fatal error: Call to undefined function downloaditself() in /home/content/96/10751596/html/components/com_booklibrary/booklibrary.php on line 1395

I am not that familiar with PHP so I was hoping someone could help me figure out how to fix this.

As a side note, I'm not sure if it matters or not, but the ebooks that I am using are PDFs.
 
Logged Logged  
  The administrator has disabled public write access.
#7532
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:eBooks fatal error link 3 Years, 8 Months ago Karma: 7  
Hello,

Dear user, thank you for your report, bug was fixed.

you need to do few simple steps, go to:
your site -> components/com_booklibrary/booklibrary.html

line 2159

Change this
<a href="<?php echo sefRelToAbs('index.php?option=com_booklibrary&task=mdownload&id='. $book->id); ?>" target="blank">

to this
<a href="<?php echo sefRelToAbs($book->ebookURL); ?>" target="blank">

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#7540
ctsaund85 (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:eBooks fatal error link 3 Years, 8 Months ago Karma: 0  
Great, that worked.

Thanks
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?