Hi, Sara.
Thanks for your response and you are correct. Turns out one of the
getElementsByTagName calls had the wrong tag name in it. Once I got that
sorted, I was able to step through the rest of rest of it and get it to
work!
Thanks again,
EMB
On Thursday, June 13, 2013 8:50:18 PM UTC+10, Scodazzi wrote:
>
>
> Hi EMB,
> just gave a quick look to your code and i'm trying to guess where is the
> problem.
>
> The problem of the loop could be the redirection you inserted in case of
> errors:
> If strErrors > "" Then
> Response.Redirect(Request.ServerVariables("script_name") &
> "?pluginaction=2&servererror=" & strErrors)
> End If
>
> So, you're getting an error somewhere (maybe after line 128)
>
> Try to comment all the redirection and maybe you'll find out the point of
> failure...
>
> Best Regards,
> Sara.
>
>
> On Thu, Jun 13, 2013 at 8:45 AM, <[email protected] <javascript:>>wrote:
>
>> Hi, guys.
>>
>> I'm working on a plugin that will grab do the following:
>>
>> 1) Grab all content class folders
>> 2) Search for two content classes within the folders: one Foundation
>> content class and one 'content' content class
>> 3) Take the foundation content class and get all instances
>> 4) Seed a new instance of the 'content' content class in a container of
>> each Foundation instance
>>
>> This plugin is meant to used for content migration purposes and ties in
>> with one of my previous posts. (Once I get all this working, I'll post the
>> details of what was done to resolve both of them.)
>>
>> So....currently my plugin works up to a point. I can get all the way to
>> step 3). But when I try to get to step 4), it loops back to step one.
>>
>> Now, this is my maiden voyage into the realm of writing a plugin so
>> please understand this is a learning experience for me.
>>
>> I've had great help from my colleagues and other members on this board. I
>> would normally trudge on with it a bit more but I'm on borrowed time for
>> completing this (and I'm tired of losing sleep).
>>
>> I've attached a copy of my asp code and the rdcms.log that shows the loop.
>>
>> My client is using v10.1 SP2 so I've following the RQL documentation on
>> that version.
>>
>> Any help is appreciated.
>>
>> Regards,
>> EMB
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "RedDot CMS Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected] <javascript:>.
>> To post to this group, send email to
>> [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en
>> .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
--
You received this message because you are subscribed to the Google Groups
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reddot-cms-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.