Error Message when using "Link-->Create New Page" withTemplates

Ask a Question related to Macromedia Contribute General Discussion, Design and Development.

  1. #1

    Default Error Message when using "Link-->Create New Page" withTemplates

    I have a site that used a custom CMS before, but now we are porting it over to
    ASP and using contribute. I got all the files set up right and made templates
    from sample pages so that I can create news pages from a page they are
    currently editing. However, whenever I use the template to create a new file I
    get the message "You cannot perform this action in this region of the page."

    All that happens is that I click off the message, and then everything works
    exactly like it should have anyway. This does not bother me so much, but the
    client will not be happy with getting error messages every time they create a
    new page. I think maybe the problem is my templates, because I do not get this
    error when I choose a blank document rather than a template-based new page. I
    will attach code for the template to this message, minus any identifying
    information for the client company. If anyone can help me figure out what I
    might be doing wrong, I would appreciate it.

    thanks,
    -=Paul

    <%' begin spacer column %>
    <td width="2%"><img src="/images/spacer.gif" width="2%" height="1"
    border="0"></td>
    <%' end spacer column %>

    <td width="88%" valign="top">
    <%' begin about detail ------------------------------------------------- %>

    <table width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
    <td><img src="/images/spacer.gif" width="30" height="1"
    border="0"></td>
    <td width="99%" valign="top" class="siteTextBlack">
    <%
    '
    --------------------------------------------------------------------------------
    ------------
    ' begin
    content-----------------------------------------------------------------
    '
    --------------------------------------------------------------------------------
    ------------
    %>
    <p align="left"><font face="Verdana" size="3"><b> News:</b></font></p>
    <p>
    <!-- TemplateBeginEditable name="EditRegionContent" -->
    <p><font face="Verdana" size="2"><b>Press Release Title #1</b></font></p>
    <p><font face="Verdana" size="2">New York</font><font face="Verdana" size="2">,
    N.Y., August 31, 2001 -- Lorem ipsum dolor sit amet, consectetuer
    adipiscing
    elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    aliquam.&nbsp; Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
    euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    tincidunt
    ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer
    adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
    magna aliquam.</font></p>
    <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
    adipiscing
    elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    aliquam.&nbsp; Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
    euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    tincidunt
    ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor sit amet,
    consectetuer
    adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
    magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed
    diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam. Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed<br>
    diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam.&nbsp;
    Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
    euismod
    tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor sit amet,
    consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
    laoreet
    dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
    elit,
    sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    aliquam.</font></p>
    <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
    adipiscing
    elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    aliquam.&nbsp; Lorem
    ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh
    euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor
    sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    tincidunt
    ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer
    adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore
    magna aliquam.</font></p>
    <!-- TemplateEndEditable -->
    <p>&nbsp;</p>
    <p><font face="Verdana" size="2"><b><u>Contact Information:</u></b></font></p>
    <p><font face="Verdana" size="2">
    Company Name.<br>
    Company Address<br>
    Town, State 55555<br>
    (555) 555-5555</font><p>
    <%
    '
    --------------------------------------------------------------------------------
    ------------
    ' end
    content-----------------------------------------------------------------
    '
    --------------------------------------------------------------------------------
    ------------
    %>
    </td>
    </tr>
    </table>

    <%' end about detail ------------------------------------------------- %>
    </td>
    </tr>
    </table>
    <%'

    '-------------------------------------------------------------------------------
    -------
    '<!-- End Main Section
    Framework------------------------------------------------------------

    '-------------------------------------------------------------------------------
    -------
    %>
    <p>
    <%
    '---------------------------------
    '<!-- Begin Bottom Navigation-----------
    '---------------------------------
    %>
    <%' <!-- <p>&nbsp;</p> --> %>
    <!-- #include file="../include/genSiteBottomNav.asp" -->
    <%
    '---------------------------------
    '<!-- End Bottom Navigation-------------
    '---------------------------------
    %>
    <hr width="100%">
    <%
    '-------------------------------------------
    '<!-- Begin Copyright/Disclaimer Footer-----------
    '-------------------------------------------
    %>
    <!-- #include file="../include/genSiteCopyright.asp" -->
    <%
    '-------------------------------------------
    '<!-- End Copyright/Disclaimer Footer-----------
    '-------------------------------------------
    %>
    </body>
    </html>

    PDogg81 Guest

  2. Similar Questions and Discussions

    1. Help! Can not save anything in Illustrator format - Error message "unknown error has occured"
      I am using Illustrator CS on XP, I was trying to save my work, it was a template and about 10 layers. I got the error message "unknown error has...
    2. what is the "utility link" and "global link" supposed tobe for?
      I'm using a halo template to create a personal website for myself, and at the top of the page, there's options for "utility link" and "global link"...
    3. Can I create a link that goes to the middleof a page with an "Inherit Zoom" setting?
      I'm trying to create links from a Table of Contents that will jump to the middle of a page, but with an "Inherit Zoom" setting. I've been able to...
    4. Can I create a link to go "back" to the last pageviewed?
      Is there a simple command in DW that I can apply to an image so it will take the vistor back to the last page viewed?
    5. Longtime user, now getting the dreaded "You can't editthis page now because you are already editing it" message. Help!
      I've successfully used Contribute with several sites and several web hosts. The site I'm having an issue with was built specifically for...
  3. #2

    Default Re: Error Message when using "Link-->Create New Page" with Templates

    <p>
    <!-- TemplateBeginEditable name="EditRegionContent" -->

    You have in effect placed this editable region inside a <p> tag, and CT is
    going to bark at you for that.

    Whenever you get such errors, the first thing to do is to validate your
    code. This <p> tag should be closed.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "PDogg81" <webforumsuser@macromedia.com> wrote in message
    news:d5the4$fuk$1@forums.macromedia.com...
    >I have a site that used a custom CMS before, but now we are porting it over
    >to
    > ASP and using contribute. I got all the files set up right and made
    > templates
    > from sample pages so that I can create news pages from a page they are
    > currently editing. However, whenever I use the template to create a new
    > file I
    > get the message "You cannot perform this action in this region of the
    > page."
    >
    > All that happens is that I click off the message, and then everything
    > works
    > exactly like it should have anyway. This does not bother me so much, but
    > the
    > client will not be happy with getting error messages every time they
    > create a
    > new page. I think maybe the problem is my templates, because I do not get
    > this
    > error when I choose a blank document rather than a template-based new
    > page. I
    > will attach code for the template to this message, minus any identifying
    > information for the client company. If anyone can help me figure out what
    > I
    > might be doing wrong, I would appreciate it.
    >
    > thanks,
    > -=Paul
    >
    > <%' begin spacer column %>
    > <td width="2%"><img src="/images/spacer.gif" width="2%" height="1"
    > border="0"></td>
    > <%' end spacer column %>
    >
    > <td width="88%" valign="top">
    > <%' begin about detail -------------------------------------------------
    > %>
    >
    > <table width="100%" cellpadding="0" cellspacing="0" border="0">
    > <tr>
    > <td><img src="/images/spacer.gif" width="30" height="1"
    > border="0"></td>
    > <td width="99%" valign="top" class="siteTextBlack">
    > <%
    > '
    > --------------------------------------------------------------------------------
    > ------------
    > ' begin
    > content-----------------------------------------------------------------
    > '
    > --------------------------------------------------------------------------------
    > ------------
    > %>
    > <p align="left"><font face="Verdana" size="3"><b> News:</b></font></p>
    > <p>
    > <!-- TemplateBeginEditable name="EditRegionContent" -->
    > <p><font face="Verdana" size="2"><b>Press Release Title #1</b></font></p>
    > <p><font face="Verdana" size="2">New York</font><font face="Verdana"
    > size="2">,
    > N.Y., August 31, 2001 -- Lorem ipsum dolor sit amet, consectetuer
    > adipiscing
    > elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    > aliquam.&nbsp; Lorem
    > ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
    > nibh
    > euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum
    > dolor
    > sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    > tincidunt
    > ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet,
    > consectetuer
    > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
    > dolore
    > magna aliquam.</font></p>
    > <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
    > adipiscing
    > elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    > aliquam.&nbsp; Lorem
    > ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
    > nibh
    > euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum
    > dolor
    > sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    > tincidunt
    > ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor sit amet,
    > consectetuer
    > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
    > dolore
    > magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
    > elit, sed
    > diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam.
    > Lorem
    > ipsum dolor sit amet, consectetuer adipiscing elit, sed<br>
    > diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    > aliquam.&nbsp;
    > Lorem
    > ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
    > nibh
    > euismod
    > tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum dolor sit
    > amet,
    > consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut
    > laoreet
    > dolore magna aliquam.Lorem ipsum dolor sit amet, consectetuer adipiscing
    > elit,
    > sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    > aliquam.</font></p>
    > <p><font face="Verdana" size="2">Lorem ipsum dolor sit amet, consectetuer
    > adipiscing
    > elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
    > aliquam.&nbsp; Lorem
    > ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy
    > nibh
    > euismod tincidunt ut laoreet dolore magna aliquam.&nbsp; Lorem ipsum
    > dolor
    > sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod
    > tincidunt
    > ut laoreet dolore magna aliquam.Lorem ipsum dolor sit amet,
    > consectetuer
    > adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet
    > dolore
    > magna aliquam.</font></p>
    > <!-- TemplateEndEditable -->
    > <p>&nbsp;</p>
    > <p><font face="Verdana" size="2"><b><u>Contact
    > Information:</u></b></font></p>
    > <p><font face="Verdana" size="2">
    > Company Name.<br>
    > Company Address<br>
    > Town, State 55555<br>
    > (555) 555-5555</font><p>
    > <%
    > '
    > --------------------------------------------------------------------------------
    > ------------
    > ' end
    > content-----------------------------------------------------------------
    > '
    > --------------------------------------------------------------------------------
    > ------------
    > %>
    > </td>
    > </tr>
    > </table>
    >
    > <%' end about detail ------------------------------------------------- %>
    > </td>
    > </tr>
    > </table>
    > <%'
    >
    > '-------------------------------------------------------------------------------
    > -------
    > '<!-- End Main Section
    > Framework------------------------------------------------------------
    >
    > '-------------------------------------------------------------------------------
    > -------
    > %>
    > <p>
    > <%
    > '---------------------------------
    > '<!-- Begin Bottom Navigation-----------
    > '---------------------------------
    > %>
    > <%' <!-- <p>&nbsp;</p> --> %>
    > <!-- #include file="../include/genSiteBottomNav.asp" -->
    > <%
    > '---------------------------------
    > '<!-- End Bottom Navigation-------------
    > '---------------------------------
    > %>
    > <hr width="100%">
    > <%
    > '-------------------------------------------
    > '<!-- Begin Copyright/Disclaimer Footer-----------
    > '-------------------------------------------
    > %>
    > <!-- #include file="../include/genSiteCopyright.asp" -->
    > <%
    > '-------------------------------------------
    > '<!-- End Copyright/Disclaimer Footer-----------
    > '-------------------------------------------
    > %>
    > </body>
    > </html>
    >

    Murray *TMM* Guest

  4. #3

    Default Re: Error Message when using "Link-->Create New Page"with Templates

    thanks, I'll try that in the morning and see if that's the problem. I'll let you know if it works

    -=Paul
    PDogg81 Guest

  5. #4

    Default Re: Error Message when using "Link-->Create New Page" with Templates

    Good luck!

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "PDogg81" <webforumsuser@macromedia.com> wrote in message
    news:d5u168$88u$1@forums.macromedia.com...
    > thanks, I'll try that in the morning and see if that's the problem. I'll
    > let you know if it works
    >
    > -=Paul

    Murray *TMM* Guest

  6. #5

    Default Re: Error Message when using "Link-->Create New Page"with Templates

    No luck. I fixed that <p> tag and one other unclosed one toward the end, but
    my template is still a little screwy. I made a quick basic template earlier
    and got no message when I tried to use that, so there must be some kind of
    markup problem like you said. I'm going to look into the templates a little
    further to see if there are any obvious rules I'm breaking. I just took an
    existing page and made the center editable, then saved as a template. Thanks
    for your help so far, Murray; at least now I know there is something screwed up
    in the template itself

    PDogg81 Guest

  7. #6

    Default Re: Error Message when using "Link-->Create New Page" with Templates

    You're welcome.

    My experience is this - whenever I get errors like that, the answer is
    somewhere in the code - and maybe even in code well removed from editable
    regions....

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "PDogg81" <webforumsuser@macromedia.com> wrote in message
    news:d5vnei$oav$1@forums.macromedia.com...
    > No luck. I fixed that <p> tag and one other unclosed one toward the end,
    > but
    > my template is still a little screwy. I made a quick basic template
    > earlier
    > and got no message when I tried to use that, so there must be some kind of
    > markup problem like you said. I'm going to look into the templates a
    > little
    > further to see if there are any obvious rules I'm breaking. I just took
    > an
    > existing page and made the center editable, then saved as a template.
    > Thanks
    > for your help so far, Murray; at least now I know there is something
    > screwed up
    > in the template itself
    >

    Murray *TMM* Guest

  8. #7

    Default Re: Error Message when using "Link-->Create New Page"with Templates

    It has something to do with the includes, because I did the exact same thing
    with with the includes pasted in and the templates seemed to work magically.
    For now I'm just going to keep the few pages that need to be changed without
    the includes, and hopefully this won't be a problem in the future.

    PDogg81 Guest

  9. #8

    Default Re: Error Message when using "Link-->Create New Page" with Templates

    Aha - a new piece of critical information.

    Do your includes contain <html>, <head>, or <body> tags?

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "PDogg81" <webforumsuser@macromedia.com> wrote in message
    news:d5vran$16t$1@forums.macromedia.com...
    > It has something to do with the includes, because I did the exact same
    > thing
    > with with the includes pasted in and the templates seemed to work
    > magically.
    > For now I'm just going to keep the few pages that need to be changed
    > without
    > the includes, and hopefully this won't be a problem in the future.
    >

    Murray *TMM* Guest

  10. #9

    Default Re: Error Message when using "Link-->Create New Page"with Templates

    Nope, none of those tags were in the includes. I had one include that had some
    header information in it that would be displayed inside the tag, but when I
    replaced that with the actual code it still gave me an error. I didn't really
    have time to go through and pull out each include to see which was the most
    problematic, so I may just have to experiment on this more in the future.
    Thanks again for your help

    PDogg81 Guest

  11. #10

    Default Re: Error Message when using "Link-->Create New Page" with Templates

    Good luck - sorry I wasn't able to nail it better for you.

    --
    Murray --- ICQ 71997575
    Team Macromedia Volunteer for Dreamweaver
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================

    "PDogg81" <webforumsuser@macromedia.com> wrote in message
    news:d62uj2$r9b$1@forums.macromedia.com...
    > Nope, none of those tags were in the includes. I had one include that had
    > some
    > header information in it that would be displayed inside the tag, but when
    > I
    > replaced that with the actual code it still gave me an error. I didn't
    > really
    > have time to go through and pull out each include to see which was the
    > most
    > problematic, so I may just have to experiment on this more in the future.
    > Thanks again for your help
    >

    Murray *TMM* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139