Solved Class 'PhocaDownloadHelperRoute' not found

Phoca Download - download manager
liliwol
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Sep 2015, 09:32

Solved Class 'PhocaDownloadHelperRoute' not found

Post by liliwol »

Hi,

Since i've updated my website from Joomla 1.5 to Joomla 3, i've updated each of Phoca Component and Modules.

Unfortunately, i still get an error in a template html folder (in order to overwrite a default component view)
html/com_phocadownload/category/default_files.php

I use this command:
<!-- Lien vers la fiche Outil -->
<a class="more" title="Fiche de l'outil: <?php echo trim($this->escape($nom)); ?>" href="<?php echo JRoute::_(PhocaDownloadHelperRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid, 'file'). $this->tmpl['limitstarturl']); ?>">Fiche de l'outil</a>

I've this error message:
<b>Fatal error</b>: Class 'PhocaDownloadHelperRoute' not found in


Do you have any idea? Does this class still exists? Do i have to use another one?
Thanks for your help
N.
Last edited by liliwol on 15 Sep 2015, 13:51, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Class 'PhocaDownloadHelperRoute' not found

Post by Jan »

Hi, no, it is not more in Helper, it is now in Phoca Download Route class, example:

JRoute::_(PhocaDownloadRoute::getFileRoute($v->id, $v->catid,$v->alias, $v->categoryalias, $v->sectionid)

Jan
If you find Phoca extensions useful, please support the project
liliwol
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 07 Sep 2015, 09:32

Re: Class 'PhocaDownloadHelperRoute' not found

Post by liliwol »

Thanks, it works!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Solved Class 'PhocaDownloadHelperRoute' not found

Post by Jan »

Great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply