Page 1 of 1

Error Code after installation: Use of undefined constant DS

Posted: 03 Nov 2015, 04:44
by EchoDelta
I'm having problem with Phoca Gallery, after installation I've got the error code:

Notice: Use of undefined constant DS - assumed 'DS' in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16

Notice: Use of undefined constant DS - assumed 'DS' in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16

Notice: Use of undefined constant DS - assumed 'DS' in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16

Notice: Use of undefined constant DS - assumed 'DS' in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16

Warning: require_once(C:\xampp\htdocs\pcup\administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php): failed to open stream: No such file or directory in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16

Fatal error: require_once(): Failed opening required 'C:\xampp\htdocs\pcup\administratorDScomponentsDScom_phocagalleryDSlibrariesDSloader.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\pcup\administrator\components\com_phocagallery\phocagallery.php on line 16


Pls. help...
I'm using com_phocagallery_v3.2.8.zip in Joomla version 3.4.5.

Thanks a lot

Re: Error Code after installation: Use of undefined constant

Posted: 03 Nov 2015, 16:31
by Benno
Hi,
I'm using com_phocagallery_v3.2.8.zip in Joomla version 3.4.5.
You use the wrong Phoca Gallery version.

This is the right version:
https://github.com/PhocaCz/PhocaGallery ... v4.2.1.zip

Kind regards,
Benno

Re: Error Code after installation: Use of undefined constant

Posted: 05 Nov 2015, 04:09
by EchoDelta
Thanks you so much Sir Benno.

I also have encountered error in installing the com_phocagallery_v4.2.1.zip (error in php.ini: upload_max_filesize and post _max_size) that is why I installed a lower version (com_phocagallery_v3.2.8.zip). Anyway, I tried to adjust the php.ini by increasing the filesize & max_size and then installed the latest version and it works!

Thanks so much, you're such a Phoca Hero.

Best Regards,

EchoDelta (Ed)

Re: Error Code after installation: Use of undefined constant

Posted: 06 Nov 2015, 01:59
by Benno
You're welcome!

Kind regards,
Benno