Author Topic: Book links don't work  (Read 4407 times)

Anna

  • Guest
Book links don't work
« 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

Offline dario

  • Amministratore
  • Volpe
  • *****
  • Posts: 340
  • Karma: +1/-0
    • Informatizzati.org: Computer, Linux, Windows, VMware
Re: Book links don't work
« Reply #1 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.

Anna

  • Guest
Re: Book links don't work
« Reply #2 on: 19 October 2012, 15:18:10 »
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?

Offline federica

  • Amministratore
  • Delfino
  • *****
  • Posts: 1.033
  • Karma: +1/-0
Re: Book links don't work
« Reply #3 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
Al mondo ci sono 10 tipi di persone, quelli che hanno capito il codice binario e quelli che non l'hanno capito.
http://www.antivirushelp.it
stacca la spina!

Anna

  • Guest
Re: Book links don't work
« Reply #4 on: 06 November 2012, 09:37:53 »
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.(

Offline federica

  • Amministratore
  • Delfino
  • *****
  • Posts: 1.033
  • Karma: +1/-0
Re: Book links don't work
« Reply #5 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
Code: [Select]
<a href="<?php echo JRoute::_(AbookHelperRoute::getCategoryRoute($item->slug));?>">to
Code: [Select]
<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.
http://www.antivirushelp.it
stacca la spina!