Vox Populi(x) forum

Alexandria Book Library => Supporto (Support) => Topic started by: Anna on 18 October 2012, 11:36:05

Title: Book links don't work
Post by: Anna on 18 October 2012, 11:36:05
Good day,
Thank you for such a functional, useful and well-designed library! I've installed it at my site (Joomla 1.5.25). But there a problem occured - does not work links to a book page (category links work). What is the problem could be? Example is here: http://rospsy.org/library/category/1 (Book title link moves you to nowhere - /library/book/0... )
Please, help me if you can.

Thank you in advance
Title: Re: Book links don't work
Post by: dario on 19 October 2012, 10:08:16
Hello Anna,
i try to reply.
Can you first disable SEF component? Or if you don't have third party component disable SEF in joomla config.
Let me know if it works in this way.
Title: Re: Book links don't work
Post by: Anna on 19 October 2012, 15:18:10
Quote from: dario on 19 October 2012, 10:08:16
Hello Anna,
i try to reply.
Can you first disable SEF component? Or if you don't have third party component disable SEF in joomla config.
Let me know if it works in this way.
Hello, Dario
Thank you for your reply. I switched off SEF for the library, that is the result: http://rospsy.org/index.php?option=com_abook&view=category&id=1%3Alibta&Itemid=28 Unfortunately, if you press to the book title link, it appears no information on the opened page( What it could be?
Title: Re: Book links don't work
Post by: federica on 27 October 2012, 13:10:59
Hi Anna,
seems a character encoding problem.
This is a correct url: 
http://rospsy.org/index.php?option=com_abook&view=book&catid=1:libta&id=2:gamespeopleplay
but your server changes the colon character (:) to  "%3A", why?

Can you send me the php error log that occur when it appears the blank page?

Bye bye
Title: Re: Book links don't work
Post by: Anna on 06 November 2012, 09:37:53
Quote from: federica on 27 October 2012, 13:10:59
Hi Anna,
seems a character encoding problem.
This is a correct url: 
http://rospsy.org/index.php?option=com_abook&view=book&catid=1:libta&id=2:gamespeopleplay
but your server changes the colon character (:) to  "%3A", why?

Can you send me the php error log that occur when it appears the blank page?

Bye bye

Good day, Federica

Thank you for your help... I tried to find any php errors by different ways (at hosting services, by .htaccess, error logs and so on), but it does not show anythng.(
Title: Re: Book links don't work
Post by: federica on 12 November 2012, 10:54:42
Try to change this file your_site/components/com_abook/views/categories/tmpl/default_items.php row 31.
From
<a href="<?php echo JRoute::_(AbookHelperRoute::getCategoryRoute($item->slug));?>">
to
<a href="<?php echo JRoute::_(AbookHelperRoute::getCategoryRoute($item->id));?>">
Then go to http://rospsy.org/index.php?option=com_abook&view=categories and click on category link.
Is it working?