Looking at the error message I believe the trigger fired because XQDebug install copies the zip file into the Documents database and from there it unzips and copies the files to the XQDebug DB.
Looks like I need to change that to copy the file to the XQDebug DB directly. Glad you are up and running. - Keith From: general-boun...@developer.marklogic.com [mailto:general-boun...@developer.marklogic.com] On Behalf Of Ton Long Hiep Sent: Thursday, May 05, 2011 1:34 AM To: General MarkLogic Developer Discussion Subject: Re: [MarkLogic Dev General] Error when installing xqdebug Dear Keith, I received this error when installing XQDebug. The information of my Marklogic: - Standard edition (Trial) - Version 4.2-3.2 Thank to your hint, I have just found out the reason: because I have installed a trigger which triggers for root directory on Triggers DB. Now, XQDebug is running! However, I have one thing which I don't understand is that I install a trigger on Triggers DB for another DB and HTTP App, why it affects this XQDebug DB which is new one? Long Hiep. On Wed, May 4, 2011 at 7:07 PM, Keith L. Breinholt <breinhol...@ldschurch.org<mailto:breinhol...@ldschurch.org>> wrote: XQDebug doesn't use triggers so you might start by looking at other software which has set up triggers. Was error received during the install? Which version of MarkLogic are you using? What other MarkLogic software do you have installed? - Keith From: general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com> [mailto:general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>] On Behalf Of Ton Long Hiep Sent: Wednesday, May 04, 2011 9:14 AM To: general@developer.marklogic.com<mailto:general@developer.marklogic.com> Subject: [MarkLogic Dev General] Error when installing xqdebug Dear All, I have downloaded xqdebug-1.0.2.zip and installed it. However, I receive the following: 500 Internal Server Error ALERT-TRIGGER (err:FOER0000): unknown trigger in /MarkLogic/alert/trigger.xqy, on line 22, in alert:do-trigger("/code/xqdebug/xqdebug.zip", <trgr:trigger xmlns:trgr="http://marklogic.com/xdmp/triggers"><trgr:trigger-id>10311344255506294147</trgr:trigger-id><trgr:tri...</trgr:trigger>) [1.0-ml] $uri = "/code/xqdebug/xqdebug.zip" $trigger = <trgr:trigger xmlns:trgr="http://marklogic.com/xdmp/triggers"><trgr:trigger-id>10311344255506294147</trgr:trigger-id><trgr:tri...</trgr:trigger> $doc = fn:doc("/code/xqdebug/xqdebug.zip") $alert-uris = () $when = text{"pre-commit"} in /MarkLogic/alert/trigger.xqy, on line 39 [1.0-ml] Could someone help me? Long Hiep. NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _______________________________________________ General mailing list General@developer.marklogic.com<mailto:General@developer.marklogic.com> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general