Fatal error: Call to a member function getCfg()

Phoca Download - download manager
Codeka
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jan 2011, 11:14

Fatal error: Call to a member function getCfg()

Post by Codeka »

If email on download feature is set in PhocaDownload RC 2.0.0, then you get
Fatal error: Call to a member function getCfg() on a non-object in /mnt/raid1/www/tagok/kurusa/_site/administrator/components/com_phocadownload/helpers/phocadownload.php on line 832
This can be corrected by replacing that line to
$mainframe = JFactory::getApplication();
Then everyíthing is working well.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Call to a member function getCfg()

Post by Jan »

Ok, thank for this info. Will be fixed in next release.

Jan
If you find Phoca extensions useful, please support the project
Codeka
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jan 2011, 11:14

Re: Fatal error: Call to a member function getCfg()

Post by Codeka »

Other problem, I have not yet had time to clear up is that the category filter does not work in the administration-lists. It allways sets itself back to "choose".
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Fatal error: Call to a member function getCfg()

Post by Jan »

Will take a look at it.

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