Hello, first of all thank you for this awesome component, it's been really useful for me. I have some problems I don't know how to fix, and I hope you can help me.
When I try to rate a book I get a PHP error. It says "0 Controlador de clase inválido: AbookControllerBook". If I try to lend a book, I get the same error. Also, the calendar icons in the lend form are not displaying the calendar, I don't know what's wrong :(
I'm using Joomla 3.3.6. I tried it in a quickstart and in my basic joomla for testing, but I get the same error everytime.
Thank you very much, you're amazing!
Hi zeeva,
you have to update both joomla and abook to the latest version.
Thank you federica. I tried to update my joomla but it says that it has the latest version (3.3.6). Does it mean I have to update to 3.4?
Joomla 3.4.1 is the latest version but before to update to 3.4.1 I suggest you to verify the technical requirements
I've installed a 3.4 joomla to try the component. I added a book and when I click on it I can see it, but this error appeared on top:
Notice: Undefined property: AbookViewBook::$path in C:\xampp\htdocs\joomla3.4\components\com_abook\views\book\tmpl\default.php on line 37
When I try to rate it, I get the same error "0 - Controlador de clase inválido: AbookControllerBook" :(
Sorry for posting again, I can't edit my answer.
Things I installed now:
Joomla version: 3.4.1
Component: com_abook 3.1.0
Module: mod_allinone 3.1.0
Plugin: plg_search_abook 3.1.0
Ok zeeva, now you have to disable abook breadcrumb from abook configuration
I disabled abook breadcrumbs, I restarted xampp and chrome but I still get the same error "0 - Controlador de clase inválido: AbookControllerBook" when I try to rate a book or make a lend request.
At least the other problems seems to be gone. Now I don't see the "Notice: Undefined property..." and the calendar icons works fine!
Thank you very much, I hope you can still help me with that error.
I think it is a path issue.
Try to open components\com_abook\views\book\tmpl\default.php then change line 22
from:
JHtml::addIncludePath(JPATH_COMPONENT.DS.'helpers');
to:
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
I've changed that, but I still get the same error :(
I'm going to upload a picture of the error when I rate a book:
If you are using linux
JHtml::addIncludePath(JPATH_COMPONENT . '/helpers');
If you are using windows
JHtml::addIncludePath(JPATH_COMPONENT . '\helpers');
Hello federica. I'm using windows and I replaced it, but still it didn't work ): I'm getting the same error "Controlador de clase inválido: AbookControllerBook"
What should I do?
Strange...
I will try to install xampp to run Abook using windows.
I will let you know.
Thank you very much, you're awesome! I'll be waiting, because I really need to fix this >.<
Thanks again, I like support here :)
Hello federica. Is there anything new about this problem? I saw there is a related post about it but I don't understand it very well even with google translator >.<
Hi zeeva,
the problem only occurs using a windows hosting. I'm working to solve it.
Thank you very much for your hard work! I'm waiting for it. I'm using the component and it's really amazing, it has everything I need.
Meanwhile, can you move the joomla installation from windows to linux hosting?
I can try to install a virtual machine at home with linux. The website is in localhost at my workplace, we only have windows there. Tell me if there is anything I can help :)
Thanks but I told you to move the site because linux is not affected by this issue, so you can use Abook without errors.
Hello again. I have some errors when I move my Joomla to linux :(
Is there any news about the windows routes?
Thank you very much!
Hello, I have the same problem in the rate an led a book. I'm using windows.
Quote from: veroquita on 19 June 2015, 17:51:24
Hello, I have the same problem in the rate an led a book. I'm using windows. I wait the solution. Thanks
I found the bug, look here: How to fix "Invalid control class: AbookControllerBook" (http://forum.voxpopulix.org/errori-%28bugs%29/how-to-fix-%27invalid-control-class-abookcontrollerbook%27/)