jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Bugs => Topic started by: rneissl on 27.05.2015 17:22:13

Title: DISPATCHER not working - [Fixed in 3.2.33!!!]
Post by: rneissl on 27.05.2015 17:22:13
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
Title: Re: DISPATCHER not working - [Fixed in 3.2.33!!!]
Post by: Arno on 28.05.2015 00:24:46
Hi Roland,
many thanks for the fix. Is changed in 3.2.33 ;)