Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Bug In Upper Right Corner Rate Topic   - - - - -

 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 01:16 PM #1

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 :)

 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3627 posts

Posted 04 September 2014 - 02:08 PM #2

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);
and comment it out.

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 03:46 PM #3

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);
and comment it out.


Ah-ha.....interesting......too bad I don't know how to use it :) Thanks for the fix :)

 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 03:51 PM #4

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);

 
  • galtinbaeva
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 06-Dec 13
  • 3627 posts

Posted 04 September 2014 - 05:42 PM #5

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


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.

Simtech Development | sales@simtechdev.com | www.simtechdev.com
CERTIFIED CS-CART PARTNER | LICENSES | DEVELOPMENT | ADD-ONS | DESIGN | UPGRADE

Google Analytics Enhanced Ecommerce - get advanced ecommerce analytics


 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 06:02 PM #6

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.


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?

 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3969 posts

Posted 04 September 2014 - 08:55 PM #7

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

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 04 September 2014 - 09:53 PM #8

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.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 10:05 PM #9

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.

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 04 September 2014 - 10:22 PM #10

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.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • DawnG
  • Senior Member
  • Members
  • Join Date: 02-Jun 09
  • 330 posts

Posted 04 September 2014 - 10:37 PM #11

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.


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 :)

 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 05 September 2014 - 01:58 AM #12

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).

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21914 posts

Posted 05 September 2014 - 07:46 AM #13

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?
GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)