Follow us on Twitter
Welcome, Guest Create an account
Username Password:
JoomAce Support
AceSEF
Extensions Support
Solved Issues
POST LAYOUT (issues won't be answered unless the following questions have been answered):

Have you tried to search the support center?
What is your AceSEF component version?
What is your AceSEF extension version?
What is your component version (the component for the AceSEF extension)?
What is your Joomla version?
What is your PHP version?
What is your MySQL version?
Are you using a UNIX/Linux or Windows based server?
Confirmation that works as expected using the core Joomla SEF (with AceSEF disabled)?
Have you tried to change the Router from AceSEF=>Extensions page?
Are you using caches? If yes, have you tried to disable them all?
What is the SEF & Real URLs that you're facing this issue?
Any error output, behaviour, screenshot?

Please describe the issue below:
  • Page:
  • 1

TOPIC: Joomgallery 1.5.7.3 Download / Detail View Stopped

3 weeks ago #24087

Joomgallery 1.5.7.3 Download / Detail View Stopped

On an existing installation, that has been working fine for a long time, Joomgallery has stopped working. Specifically, when SEF and AceSef are enabled, the detail view does not load and download links result in a 500 - View not found [name, type, prefix]: frontpage,raw,contentView error.

An example of a working non-SEF detail view URL is:
index.php?view=image&format=raw&type=orig&id=101&option=com_joomgallery&Itemid=269

An example of a working SEF URL detail view URL, with AceSEF disabled is:
media-kit/gallery/ads/image?format=raw&type=orig&id=101

An example of a NOT working SEF URl detail view URL, with Ace SEF enabled is:
index.php?view=image&format=raw&type=orig&id=101

I've tried various settings and cannot get AceSEF to add the option and Itemid portion of the URL.

An example of a working non-SEF download URL is:
index.php?task=download&id=101&option=com_joomgallery&Itemid=269

An example of a working SEF URL download URL, with AceSEF disabled is:
media-kit/gallery/ads?task=download&id=101

An example of a NOT working SEF URl download URL, with Ace SEF enabled is:
gallery/ads/sticker-shock-the-good-kind/download


I've tried all of the suggested solutions at www.joomace.net/support/forums?func=view...atid=55&id=23462 with no luck.

Any help would be appreciated!

Best,

Matt
  • Matt
  • PRO Customer
  • Posts: 52
OFFLINE
The topic has been locked.
2 weeks, 6 days ago #24106

Re: Joomgallery 1.5.7.3 Download / Detail View Stopped

The problem is that the option variable is missing. Apply the following change to all results:

OPEN
components/com_joomgallery/views/category/tmpl/default_image.php


FIND
JRoute::_('index.php?


REPLACE
JRoute::_('index.php?option=com_joomgallery&



In fact it is missing in other files too which causes issues with SEF components so you should report it to JoomGallery devs. It works fine with Joomla SEF but not with SEF components.
1. Check the Documentation 2. Make a Search 3. Read Support Rules before posting
  • Denis Dulici
  • Lead Developer
  • Posts: 3947
Last Edit: 2 weeks, 6 days ago by Denis Dulici.
OFFLINE
The topic has been locked.
2 weeks, 6 days ago #24123

Re: Joomgallery 1.5.7.3 Download / Detail View Stopped

Hi Denis,

Thanks for the response. I have applied this change to Joomgallery. Now, in AceSEF, I see the "Real URL" as being
index.php?option=com_joomgallery&Itemid=269&id=100&task=download
however, when I click the download link, I still get a 500 error and the URl becomes
index.php?view=image&format=raw&id=100&download=1&type=orig
. Adding
option=com_joomgallery&
to that URL does trigger the download. Is there something in the AceSEF extension for Joomgallery that I need to change to not filter option=com_joomgallery?

Thanks again!

Best,

Matt
  • Matt
  • PRO Customer
  • Posts: 52
OFFLINE
The topic has been locked.
2 weeks, 6 days ago #24124

Re: Joomgallery 1.5.7.3 Download / Detail View Stopped

Apply that change to the following file too Matt:

components/com_joomgallery/controller.php


The download link is related with the following line:
$this->setRedirect(JRoute::_('index.php?view=image&format=raw&id='.JRequest::getInt('id').'&download=1&type='.$type, false));
1. Check the Documentation 2. Make a Search 3. Read Support Rules before posting
  • Denis Dulici
  • Lead Developer
  • Posts: 3947
OFFLINE
The topic has been locked.
2 weeks, 6 days ago #24126

Re: Joomgallery 1.5.7.3 Download / Detail View Stopped

YES, this does fix the issue! THANK YOU!

I will certainly report this fix to the Joomgallery devs and make sure that others are aware that they need to add option=com_foobar to JRoute.

Thanks again!

Best,

Matt
  • Matt
  • PRO Customer
  • Posts: 52
OFFLINE
The topic has been locked.
  • Page:
  • 1
JoomAce Support
AceSEF
Extensions Support
Solved Issues
Powered by Kunena
Time to create page: 0.35 seconds