Book links don't work

Started by Anna, 18 October 2012, 11:36:05

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

Anna

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

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

dario

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.
[url=http://www.knoppix.it]Knoppix italia[/url]
[url=http://www.disconnessi.org]Stacca la spina![/url]
[url=http://www.informatizzati.org]Informatizzati.org: Computer, Linux, Windows, VMware[/url]

Anna

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?

federica

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
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

Anna

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.(

federica

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?
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]