[SOLVED] ABL 2.0.2 + J2.5.4 = various display and browsing problems

Started by franck, 10 April 2012, 06:58:15

Previous topic - Next topic
A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

franck

Hi dario / federica,

First, thanks again for you work !

I have upgraded a web site from J1.5.26 + ABL 1.1.2 to J2.5.4 + ABL 2.0.2.

I've just installed ABL 2.0.2. - no upgrade nor import from 1.1.2, and added a new book.

Here is the upgraded site : http://v2.apc-asso.fr/bibliographie.html where you could see various display and browsing problems, for examples :

- some php code " slug, $item->slugcat));?> " appears in the content
- some php code appears in the title image " <? echo JText::_('COM_ABOOK_COVEROF').' '.$item->title; ?> "
- clic on book image point to http://v2.apc-asso.fr/<? echo $link; ?>
- clic on book title point to home page - so we can not see the book description
- hits are shown but not set as to be shown in the global config

All Book in one shows php code in the content too, but it can show the book description, almost good.

I tried beez2 standard template and get the same problems.

Did I make a mistake with the install / config / add new book processes ?
Could you please help ?

Tell me if I can give and which information to help your diagnostic.

Regards,
franck

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

federica

Hi franck,
perhaps you have an old PHP version that doesn't supports the short php tag.
You can try to substitute the short tag from <? to <?php
For example you have to change the code from:
<? echo JText::_('COM_ABOOK_COVEROF').' '.$item->title ;?>
to:
<?php echo JText::_('COM_ABOOK_COVEROF').' '.$item->title ;?>

Bye bye
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

franck

federica,

you are wonderfull  :)

I've set :

short_open_tag = On

in my php.ini (it was Off).

Then I restarted apache, and everything work great.

Stil have Hits displayed, even with Hits set to "hide" in the book edit and in the Alexandria Book Library Configuration... Same with some fields in the search configuration that are set to be hide but still appear.
I emptied and regenerate every caches, but no way.
One more idea ?


Cheers,

Pour info :
OS : Debian GNU/Linux 5.0 / x86_64
Mysql : 5.1.39-1 / utf8_general_ci
PHP : 5.3.5
Serveur web : Apache/2.2 / cgi-fcgi
Joomla! : 2.5.4 Stable - Platform 11.4.0 Stable

federica

Hi franck,
it is a known bug.
I'm working to fix that and other little bugs. Thanks for notice.
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]

A financial contribution is greatly appreciated as a support, to help us to keep live the project.
If you like this project you can donate some piece of BitCoin to this address: bc1qy5tgq6tvrckac2a57unxvqcnxamrvhduve9sj9

franck

Hi federica,

Thanks for your answers.

I do not see how to set this thread as [SOLVED], I guess you can do it easier.

But I know how to give five star ;)

Cheers,

federica

:-) You have to use the modify button placed on the right of the post title.
Bye bye
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
Informatizzati [url="https://informatizzati.org"]https://informatizzati.org[/url]
Stacca la spina [url="https://disconnessi.org"]https://disconnessi.org[/url]