+1-888-365-2779
Try Now
More in this section

Forums / Designing with Sitefinity / Duplicate Page Not Viewed on Live Site

Duplicate Page Not Viewed on Live Site

5 posts, 0 answered
  1. Indian Philosophical Congress
    Indian Philosophical Congress avatar
    19 posts
    Registered:
    09 Apr 2010
    12 Oct 2010
    Link to this post
    Hi !

    I Duplicated a sub-page (called Accommodation) under a Group Page (called AAPAC 2010) using the Duplicate Page option. I renamed the duplicated page to ProgramSchedules, made appropriate changes & published it. In the design view as well as the LiveSite view of SiteFinity, the Left Panel shows the two pages 'Accommodation' as well as 'ProgramSchedules' correctly. But when I access my site with FireFox independently of SiteFinity, I do not see ProgramSchedules on the Left Panel.

    I'm using SiteFinity Community Edition.

    What am I doing wrong?
     
  2. Indian Philosophical Congress
    Indian Philosophical Congress avatar
    19 posts
    Registered:
    09 Apr 2010
    13 Oct 2010
    Link to this post
    Hi !

    Any thoughts? I'm a little stuck here & we have to have this up in the next few hours.

    After clearing the cache of the browser, I do see my link 'Program and Schedules' in the left panel but when I click on it, I get the attached error.

    Hope you can help!
  3. Indian Philosophical Congress
    Indian Philosophical Congress avatar
    19 posts
    Registered:
    09 Apr 2010
    13 Oct 2010
    Link to this post
    Hi !

    After clearing the cache of the browser, I do see my link 'Program and Schedules' in the left panel but when I click on it, I get the attached error.

    Hope you can help!
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    13 Oct 2010
    Link to this post
    Hello,

    You are making some redirect and you are changing the HTTP request. If you take a look at the screenshot you have attached you will see that the request is made to htm file located in your file system "C" drive.
    Somehow you are changing the ICmsUrlContext and you are passing noting to the UrlHelper.CmsPageKey which results in invalid PageID or you are passing an ID of a page that does not exist in CmsSiteMap provider.
     You could get the page ID that is used for the current request using the code below. Then you can query sf_PageBase table to see whether this page exist

    1. Create a class that inherits from InternalPage class

    public class InternalPageCustom : InternalPage
    {
        public InternalPageCustom()
        {
        }
     
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
            // the key will return the PageID you are requesting
            var key = (ICmsUrlContext)this.Context.Items[UrlHelper.CmsPageKey];
            Response.Write(key);
        }
    }

    2. Replace the default internal page in /Sitefinity/cmsentrypoint.aspx

    <%@ Page Inherits="InternalPageCustom" MasterPageFile="~/Sitefinity/Dummy.master"%>


    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Indian Philosophical Congress
    Indian Philosophical Congress avatar
    19 posts
    Registered:
    09 Apr 2010
    15 Oct 2010
    Link to this post
    Hi Ivan!

    As far as I can tell, either HttpWatch or Firebug was causing my problem (of redirection?). I had installed both of these to trace the cause of an earlier bug. When I removed them both, things worked ok!

    If the above is true, it was disappointing to find that both (or either) product could be so badly designed!

    Thanks!
Register for webinar
5 posts, 0 answered