Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: franck on 10 April 2012, 06:58:15

Title: [SOLVED] ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: franck on 10 April 2012, 06:58:15
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
Title: Re: ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: federica on 10 April 2012, 10:46:48
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
Title: [SOLVED] Re: ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: franck on 10 April 2012, 16:38:48
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
Title: Re: ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: federica on 16 April 2012, 16:51:39
Hi franck,
it is a known bug.
I'm working to fix that and other little bugs. Thanks for notice.
Title: [SOLVED] Re: ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: franck on 16 April 2012, 19:42:36
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,
Title: Re: ABL 2.0.2 + J2.5.4 = various display and browsing problems
Post by: federica on 18 April 2012, 16:18:56
:-) You have to use the modify button placed on the right of the post title.
Bye bye