OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
Fatal error displaying a book (0 viewing) 

BookLibary Component Support

Go to bottom Favoured: 0

Fatal error displaying a book

cesarvid (Visitor)
Posts: 0
graphgraph
User Offline
Fatal error displaying a book 14 Years, 1 Month ago
Karma: 0  
Hello ordasoft support.
I bought yesterday Booklibrary pro and Ipublished one book
but if I click on the book on the front end:

www.educacion-especial.com/component/opt...8/task,showCategory/

I get an error message for fatal error:

I Fatal error: Cannot redeclare geteditorcontents() (previously declared in /home/educaci3/public_html/administrator/components/com_booklibrary/functions.php:168) in /home/educaci3/public_html/components/com_glossary/cmsapi.interface.php on line 283

Could you please let me know what I did wrong?
I used the free version before without any problem.

Thanks a lot in advance
Logged Logged
The administrator has disabled public write access.
admin (Admin)
Admin
Posts: 8230
graph
User Offline Click here to see the profile of this user
Re:Fatal error displaying a book 14 Years, 1 Month ago
Karma: 101  
Hi,


All look like bad wrote com_glossary/cmsapi.interface.php.

Don't know why that error don't appears for you before, may be you add some new modules to frontend - what use "com_glossary"
And may be best will write to com_glossary support.

You can fix that if add to /home/educaci3/public_html/components/com_glossary/cmsapi.interface.php on line 283
around definition function geteditorcontents, check for predefined that function before, some like :
Code:


if ( !function_exists('getEditorContents')) {
  function getEditorContents($editorArea, $hiddenField)
  {
    jimport( 'joomla.html.editor' );
    $editor =& JFactory::getEditor();
    echo $editor->save( $hiddenField );
  }
}



Thanks,
OrdaSoft Team
Logged Logged
The administrator has disabled public write access.
cesarvid (Visitor)
Posts: 0
graphgraph
User Offline
Re:Fatal error displaying a book 14 Years, 1 Month ago
Karma: 0  
I unistalled com_glossary and its plugin and now it's working fine again.

Thanks a lot
Logged Logged
The administrator has disabled public write access.
Go to top
»