debug error that I can't get rid of
jeh3 - July 30, 2009 - 18:54
| Project: | Carbon Account |
| Version: | 6.x-1.0 |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
After I install the module I am getting the following two errors anytime anyone logs on to the site:
14:48:01 #debugLog has been wiped out! carbon_debug initialised and logging14:48:01 #debugLog has been wiped out! carbon_debug initialised and logging
14:48:14 #debugLog has been wiped out! The page has 1 loadable elements and 0 editable elements
It happens anytime that a user tries to navigate the page.
I'm sure it must be something simple but I can't figure it out.
Any suggestions?
Thanks.
Johnathon

#1
Not sure what this is yet. I wouldn't expect that javascript (that's generating that message) to run unless you are loading content generated by the carbon module. If you look on http://my.carbonrationing.org.uk, you can see that 'ajax log' only appears on 'carbon' pages (running the 6 dev version). You could put a comment out the debug code but think something is still wrong. Could be namespace clash but doubt it. Any other unusual modules running, presume error occurs with firefox and ie? Will have a look tomorrow.
#2
Hi
I have had a look at the PHP. I would try commenting out
alert(Date().substr(16,8) + " #debugLog has been wiped out! " + text.substr(0,80) );
at line 71 (in my copy of) in carbon_debug.js
It should not have any impact on the application.
Also, you could try using the dev release. When we find out what this problem is, I'll make a new production release. The dev release and the existing production release are currently very similar.
Thanks John