Error: Constant DS already defined

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun May 25, 2014 11:18 pm
Reply with quote
Report this post
I am seeing the following error when I go to the "Tabs Banner" Module under 'Basic' section.

Code: Select all
Notice: Constant DS already defined in C:\wamp\www\game-template\modules\mod_tabs_gk5\admin\elements\configmanager.php on line 5


I have installed the Joomla 3.3 version of Game Quickstart package in my localhost. Here are the screen dumps:
User avatar
Senior Boarder

GK User
Mon May 26, 2014 9:14 am
Reply with quote
Report this post
This is not Error message but just Notice info. If you need to remove this Notice info please open mod_tabs_gk5/admin/elements/configmanager.php file and change this code :

Code: Select all
define('DS', DIRECTORY_SEPARATOR);


to

Code: Select all
if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); }
User avatar
Platinum Boarder

GK User
Mon May 26, 2014 2:48 pm
Reply with quote
Report this post
Thanks bkrztuk . If its not an error and if the notices can be neglected, what is the purpose of showing them? Similar to the above, I am also seeing many other notices in various sections in the Quickstart package (like here and here). I dont see these when I was testing out the original Joomla package that I downloaded from Joomla site before I downloaded the quickstart for this template. Each time I see these notices, it stresses me out wondering what went wrong. So do I need to make manual edits to the template files like you had suggested in your post above for each of these notices? Is it safe to ignore these? Why are they showing in the first place?
User avatar
Senior Boarder

GK User
Tue May 27, 2014 8:03 am
Reply with quote
Report this post
For the completion of this thread, here the post that answered my questions:
bkrztuk wrote:You have full debug mode enabled in your server and you need to configure your PHP according to Joomla requirements, all necessary informations you will find here https://www.gavick.com/documentation/ge ... ic-method/
User avatar
Senior Boarder

GK User
Tue May 27, 2014 8:30 am
Reply with quote
Report this post
it stresses me out wondering what went wrong


You should configure your PHP server according to Joomla requirements, it is not our template issue that you see Notice messages but just your hosting setting.
User avatar
Platinum Boarder


cron