Buona sera a tutti,
I installed this component without problems and Alexandria library is present in component bar but when i tried to use it (by clicking on control panel, books, etc..), it always return this error
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/webserve/domains/mydomain.fr/files/files/administrator/components/com_abook/controller.php on line 41
I don't know what to do
Hello GF38storic,
thanks for your reporting.
The line 41 of file administrator/components/com_abook/controller.php checks if the cover folder exist.
What version of Joomla have you installed? What language are you using?
Have you translated by yourself the language file of Alexandria Book Library?
Hi Federica,
I have Joomla! 1.5.15 Stable.
I found where comes the problem, the component is not compatible with php4. When i shift php langage to php5, in the backend i can access to Alessandria Book Library and it seems very promising. However i cannot stay (currently) in php5 since i have a lot of bugs due to others problems (Error File do not exist) in my frontend which becomes a blank page with php5 :.(
Hello GF38storic,
I don't never tested Alexandria Book Library with PHP4.
I modify the file controller.php.
- download the attached file (controller.txt)
- rename it in controller.php
- replace controller.php in <your_site>/administrator/components/com_abook/controller.php
Try if Alexandria Book Library (administrator) work now.
If you found other bugs Post the php errors.
Hi Federica,
Me fa molto piacere tutto l'aiuto, grazzie mille.
With this new controller.php, the administrator view of Alexandria Book Library seems to work perfectly with php4 (Although i would like to make my website compatible with Php5 but this another problem and linked to my website and not to your component).
I'm trying it, and i will post any comments on it.
Ciao
Francesco
Hello Francesco,
If you have not a total control of server machine you can to enable this option:
- Open Joomla Global Configuration->Server
- set "Error Reporting" to maximum level
This option enable you to see the php log on your site.
Bye bye