when enabling phoca gallery plugin the system crashes in front- and backend
with the error "Use of undefined constant DS - assumed 'DS' "
using Joomla 4 and Phoca Gallery 4.5.2
adding the line:
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
to phocagalleryslideshow.php let's the system crash with error 500
Phoca Gallery Plugin crashes with undefined constant DS
-
- Phoca Newbie
- Posts: 4
- Joined: 21 Mar 2023, 09:32
- Benno
- Phoca Hero
- Posts: 9693
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Gallery Plugin crashes with undefined constant DS
Hi,
1.) Which version of Phoca Gallery Plugin do you use?
2.) Try to enable Joomla! Debug mode to get a complete error message with file and line (Call Stack).
Kind regasrds,
Benno
1.) Which version of Phoca Gallery Plugin do you use?
2.) Try to enable Joomla! Debug mode to get a complete error message with file and line (Call Stack).
Kind regasrds,
Benno
-
- Phoca Newbie
- Posts: 4
- Joined: 21 Mar 2023, 09:32
Re: Phoca Gallery Plugin crashes with undefined constant DS
oh sorry, was my mistake, i used an older version of the plugin (3.2.0), this was working with Joomla 4,
but now i have updated the plugin to 4.4.0 and now the backend doesnt crash anymore when activating the
plugin, but slideshow in frontend is not apearing!?
but now i have updated the plugin to 4.4.0 and now the backend doesnt crash anymore when activating the
plugin, but slideshow in frontend is not apearing!?
- Benno
- Phoca Hero
- Posts: 9693
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Gallery Plugin crashes with undefined constant DS
Hi,
Kind regards,
Benno
Current version of Phoca Gallery Plugin for J4 is v4.5.4i have updated the plugin to 4.4.0
Kind regards,
Benno
-
- Phoca Newbie
- Posts: 4
- Joined: 21 Mar 2023, 09:32
Re: Phoca Gallery Plugin crashes with undefined constant DS
sorry the phoca gallery plugin i installed is the 4.5.4
but phoca gallery slideshow plugin i installed is 4.4.0 and that causes the slideshow not to appear
but phoca gallery slideshow plugin i installed is 4.4.0 and that causes the slideshow not to appear
- Benno
- Phoca Hero
- Posts: 9693
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Phoca Gallery Plugin crashes with undefined constant DS
Hi,
see: https://www.phoca.cz/download/category/ ... how-plugin
There is no Phoca Gallery Slideshow Plugin available for J4 yet.
Kiund regards,
Benno
see: https://www.phoca.cz/download/category/ ... how-plugin
There is no Phoca Gallery Slideshow Plugin available for J4 yet.
Kiund regards,
Benno