BugLogHQ Plugin for MuraCMS not working

16 views
Skip to first unread message

Joost van der Drift

unread,
Feb 6, 2017, 6:35:40 AM2/6/17
to BugLogHQ
Hi

I have MURA CMS 6.2.6539 and BugLogHQ Plugin for Mura 1.2

The onGlobalError event does not seem to fire when an error occurs, I just see the errormessage generated by config\appcfc\onError_include.cfm

After installing the Plugin, are there additional modifications I need to make in the Application?

Regards
Joost


Juan Aguilar

unread,
Feb 8, 2017, 11:05:51 AM2/8/17
to BugLogHQ
I posted this in the Slack channel (probably in reply to Joost!) but am posting it here for folks not on the Slack channel.

We’ve had a similar experience. It looks like the issue is intertwined with SES URLs: config/appcfc/onError_include.cfm doesn’t do anything if request.muraTemplateMissing is defined. That’s almost always the case on a site where indexfileinurls=0 since that causes request.muraTemplateMissing to be set to true but is ignored as a Global Error. The workaround is to modify config/appcfc/onError_include.cfm to run everytime a real error occurs, even if request.muraTemplateMissing is defined. I’m trying out <cfif not isDefined('request.muraTemplateMissing') || isDefined(”exception.rootCause")> since it appears exception.cause and exception.rootCause are defined for a real error but not a request.muraTemplateMissing error. (You can see for yourself by dumping exception outside the if statement in onError_include.cfm.)

Oscar Arevalo

unread,
Feb 8, 2017, 2:16:44 PM2/8/17
to bugl...@googlegroups.com
I'm not really familiar with the using Buglog within Mura; but sounds like Juan may have a good direction for you to explore.

Btw, @Juan, which Slack channel are you referring to?

--

---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Juan Aguilar

unread,
Feb 8, 2017, 2:58:45 PM2/8/17
to BugLogHQ
Hi Oscar,

I followed up with the following:

I downloaded a “new" version of the plugin (riaforge is back?!) and compared it with what I had installed. It seems that I did modify plugins/BugLogHQ/plugin/eventHandler.cfc: (https://gist.github.com/jeaguilar/fcba7c6272e110ab7d278f2bd462b288) to explicitly load application.bugLogService.
Memory lane: https://groups.google.com/forum/?fromgroups=#!topic/bugloghq/O2zDf8pwjlY

I saw a message from Joost on the #mura channel on cfml.slack.com (https://cfml.slack.com/archives/mura/p1486546906000248)

Thanks,

Juan

Oscar Arevalo

unread,
Feb 8, 2017, 3:02:24 PM2/8/17
to bugl...@googlegroups.com
Thanks Juan, I wasn't aware of the CFML channel in Slack. Good info!

--

---
You received this message because you are subscribed to the Google Groups "BugLogHQ" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bugloghq+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages