Bug In Upper Right Corner

Is there a setting I missed to have that bug appear in the upper right hand corner of the storefront? I am still putting the site together to go live in a month or so, but I don’t think it should be there :)

Hello,



It is a built-in debugger:

Debugger — CS-Cart 4.2.x documentation



Check your config.php file for the following line of code:

define('DEBUG_MODE', true);

and comment it out.

[quote name=‘simtechdev’ timestamp=‘1409839722’ post=‘191477’]

Hello,



It is a built-in debugger:

http://docs.cs-cart…s/debugger.html



Check your config.php file for the following line of code:

define('DEBUG_MODE', true);
```<br />
and comment it out.<br />
[/quote]<br />
<br />
Ah-ha.....interesting......too bad I don't know how to use it <img src="upload://rA9Qa8gnUPZzRZRdI8kt3dpjkrs.png" class="bbc_emoticon" alt=":)">  Thanks for the fix <img src="upload://rA9Qa8gnUPZzRZRdI8kt3dpjkrs.png" class="bbc_emoticon" alt=":)">

I just checked and found what I think is it being already commented out…but not quite sure:



//Uncomment to enable the developer tools: debugger, PHP and SQL loggers, etc.

//define('DEBUG_MODE', true);

[quote name='DawnG' timestamp='1409845866' post='191490']

I just checked and found what I think is it being already commented out…but not quite sure:[/quote]



In this case, you can close the debugger using the following link:

http://[YOUR_STORE].com/index.php?dispatch=debugger.quit&redirect_url=index.php



I hope this will help.

[quote name=‘simtechdev’ timestamp=‘1409852561’ post=‘191496’]

In this case, you can close the debugger using the following link:

http://[YOUR_STORE].com/index.php?dispatch=debugger.quit&redirect_url=index.php



I hope this will help.

[/quote]



Until the new cart goes live i have it in a subdirectory and put it in like this:

http://[my_STORE].com/subdirectory/index.php?dispatch=debugger.quit&redirect_url=index.php



Even running the clear cache in admin, it is still there :( What did I do wrong?

Isn't there a setting in “General” that turns on/off the debugger.?

It doesn't turn it on/off, it enables it to be on/off. If the setting is N then (I believe) that no one other than root admins can enable the debugger.

I can't find any other reference to it…but then again I am not sure where to look. Who would be the 'root' admin? I am the only one who is registered as an admin.

if you are getting a bug on your customer pages AFTER you have closed and re-opened a new browser then as ecomm said, you have define('DEBUG_MODE', true) somewhere in your config or a 3rd party addon you've installed.

[quote name=‘tbirnseth’ timestamp=‘1409869341’ post=‘191516’]

if you are getting a bug on your customer pages AFTER you have closed and re-opened a new browser then as ecomm said, you have define(‘DEBUG_MODE’, true) somewhere in your config or a 3rd party addon you’ve installed.

[/quote]



I don’t have any 3rd party addon installed…not yet anyway. He mentioned config.php but I just checked for this string in 'config.local and found it. Commented it out in local and now it’s gone whew



Thanks for pursuing this and giving me a hint of where I needed to look :)

The question I would ask is who put it there? It's not even in there (commented out) by default. Think you should have a talk with your developer(s).

Did you have any experience with CS-Cart support team? May be they defined this constant somewhere in the other file when making the changes or examining any issue?