Gk text menu undefined error line 27

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Fri Dec 18, 2015 3:07 am
Recntly my hosting provider made changes to the VPS envoirment that I am hosted in, and this error began to show. The update was to Mysql 5.5 and Joomla! 3.4. Please take a look below.



Code: Select all
[Thu Dec 17 20:01:00.432566 2015] [fcgid:warn] [pid 22464] [client 172.16.0.108:59018] mod_fcgid: stderr: PHP Notice:  Use of undefined constant DS - assumed 'DS' in /home/upncomershiphop/public_html/plugins/system/plg_gkextmenu/plg_gkextmenu.php on line 27 

Code: Select all
<?php

/**
* Menu parameters plugin
* @Copyright (C) 2009-2011 Gavick.com
* @ All rights reserved
* @ Joomla! is Free Software
* @ Released under GNU/GPL License : http://www.gnu.org/copyleft/gpl.html
* @version $Revision: GK4 1.0 $
**/

defined( '_JEXEC' ) or die();
jimport( 'joomla.plugin.plugin' );
jimport('joomla.application.module.helper');
jimport( 'joomla.event.plugin' );
jimport( 'joomla.html.parameter' );


class plgSystemGKExtMenu extends JPlugin {
   var $_params;
   var $_pluginPath;
   
   function __construct( &$subject ) {
      
      parent::__construct( $subject );
      $this->_plugin = JPluginHelper::getPlugin( 'system', 'gkextmenu' );
      $this->_params = new JRegistry( $this->_plugin->params );
      $this->_pluginPath = JPATH_PLUGINS."/system/gkextmenu/";
   }
   //Add Gavick menu parameter
   function onContentPrepareForm($form, $data) {
      
      
      if ($form->getName()=='com_menus.item') {
         JForm::addFormPath($this->_pluginPath);
         $form->loadFile('parameters', false);
      }
   }
}
?>
User avatar
Senior Boarder

GK User
Fri Dec 18, 2015 10:32 am
User avatar
Moderator

GK User
Sun Dec 20, 2015 5:22 pm
Thank you. I found that link just a moment before I read this post.
User avatar
Senior Boarder

GK User
Wed Dec 23, 2015 9:25 pm
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron