Plugin error: Use of undefined constant DS - assumed 'DS'

Phoca Download - download manager
mcanonic
Phoca Member
Phoca Member
Posts: 33
Joined: 19 Dec 2009, 02:46

Plugin error: Use of undefined constant DS - assumed 'DS'

Post by mcanonic »

Hi,
if I enabled the phoca download plugin I get these warning:
Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /web/htdocs/www.rivaronesi.it/home/administrator/co ... loader.php on line 43

Warning: Use of undefined constant DS - assumed 'DS' (this will throw an Error in a future version of PHP) in /web/htdocs/www.rivaronesi.it/home/administrator/co ... loader.php on line 47

I have the last version of joomla and phocadownload plugin.

How can I fix it, please?
M
christine
Phoca Hero
Phoca Hero
Posts: 2723
Joined: 28 Nov 2010, 17:20

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Post by christine »

mcanonic wrote: 31 Jul 2019, 13:41
I have the last version of joomla and phocadownload plugin.
also PD component? https://www.phoca.cz/download/category/ ... -component as there is also a warning, concerning: Warning: count(): Parameter must be an array or an object that implements Countable in ....

Kind regards
Christine
mcanonic
Phoca Member
Phoca Member
Posts: 33
Joined: 19 Dec 2009, 02:46

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Post by mcanonic »

Where do I get the exact version number installed in my site? By using "Info" in the menu, I did not get a number. By clickin on "update" I have been redirected to a phoca webpage with "no extesion" written:
https://www.phoca.cz/version/index.php?phocadownload=
Thanks,
M
mcanonic
Phoca Member
Phoca Member
Posts: 33
Joined: 19 Dec 2009, 02:46

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Post by mcanonic »

ok, I have an old one.
BTW, by install Phocadownload from the web, it proposed me the 3.1.3 version, but it is not the last one.
Now I'll check the new version.
Thanks,
M
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Plugin error: Use of undefined constant DS - assumed 'DS'

Post by Jan »

Hi, yes, the latest is always here available:
https://www.phoca.cz/download/category/ ... -component

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