Hello,
trying to save changes to the template, I get this message
An error has occurred.
0 Undefined constant "DS"

I recently updated from joomla 3.10 to joomla 4.

Regards
Nicolas

Hi Nicolas,

I updated some files in templates/gk_quark/admin/elements folder by adding this line of code:

if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); }

You should be able to edit & save settings in template now.

Kindly check.

Great!
Problem solved!

But is this an issue that can appear in other modules as well?
Maybe a fix for template update available in the future?

Thanks you and kind regards
Nicolas

    3 months later

    Hello,
    I updated the three files as told here..
    https://www.joomlart.com/forums/d/40260-an-error-has-occurred-0-undefined-constant-ds/2
    on a new installation of GK PHOTO.
    Now I get this error message on Image Show GK4

    Mac OS X 2��ATTR�����%com.apple.metadata:kMDItemWhereFroms{=com.apple.quarantinebplist00�_;http://newrationale.de/administrator/?option=com_ffexplorer_Dhttp://newrationale.de/administrator/index.php?option=com_ffexplorerI�q/0081;61d5a527;Firefox;220B70BA-5E2C-4E7B-B426-E2344EC9C787

    Thanks in advance
    Nicolas

      Write a Reply...
      You need to Login to view replies.