alanstylez
Member
I just updated from github and I'm getting the following notice, warning and consequential error when trying to load my homepage:
Notice: Use of undefined constant DS - assumed 'DS' in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 22
Notice: Use of undefined constant DS - assumed 'DS' in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 22
Warning: require_once(/Library/Server/Web/Data/Sites/Default/administratorDScomponents/com_fabrik/models/fabrik.php) [function.require-once]: failed to open stream: No such file or directory in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 53
Fatal error: require_once() [function.require]: Failed opening required '/Library/Server/Web/Data/Sites/Default/administratorDScomponents/com_fabrik/models/fabrik.php' (include_path='.:') in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 53
The notice goes away if I change defines.php, line 22 to:
define("COM_FABRIK_BASE", str_replace('DS' . 'administrator', '', JPATH_BASE) . 'DS');
and, I can comment out lines 53-61 to bypass the fatal error, but I think this causes more problems later on.
Any solutions?
Notice: Use of undefined constant DS - assumed 'DS' in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 22
Notice: Use of undefined constant DS - assumed 'DS' in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 22
Warning: require_once(/Library/Server/Web/Data/Sites/Default/administratorDScomponents/com_fabrik/models/fabrik.php) [function.require-once]: failed to open stream: No such file or directory in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 53
Fatal error: require_once() [function.require]: Failed opening required '/Library/Server/Web/Data/Sites/Default/administratorDScomponents/com_fabrik/models/fabrik.php' (include_path='.:') in /Library/Server/Web/Data/Sites/Default/plugins/system/fabrik/defines.php on line 53
The notice goes away if I change defines.php, line 22 to:
define("COM_FABRIK_BASE", str_replace('DS' . 'administrator', '', JPATH_BASE) . 'DS');
and, I can comment out lines 53-61 to bypass the fatal error, but I think this causes more problems later on.
Any solutions?