News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

DISPATCHER not working - [Fixed in 3.2.33!!!]

Started by rneissl, 27.05.2015 17:22:13

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rneissl

hi,

frontend:  components\com_jdownloads\controller\download.php

row 746:         $results = $dispatcher->trigger('onBeforeDownloadIsSendJD', array($files, $can_download, $user_rules, $download_in_parts));  //
change to         $results = $dispatcher->trigger('onBeforeDownloadIsSendJD', array(&$files, &$can_download, $user_rules, $download_in_parts));  //

otherwise you got Warning: Parameter 1 to plgJdownloadsAnalytics::onBeforeDownloadIsSendJD() expected to be a reference, value given in /var/www/libraries/joomla/event/event.php on line 69  and the plugins don't work;

joomla 3.4.1
jDownloads Version 3.2.32

lg
roland
  •  

Arno

Hi Roland,
many thanks for the fix. Is changed in 3.2.33 ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •