Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Pete van Zyl 13 posts 28 karma points
    Aug 28, 2009 @ 18:46
    Pete van Zyl
    0

    Blank homepage

    Hi,

    I have an Umbraco site (v 4.0.0, ASP.NET 3.5, Windows Server 2003), and a while ago the home page came up blank - no markup or anything. This happened at the time of a scheduled publish, or after - I am not sure when exactly, but the next week the home page was blank. Only the home page, all other pages displayed correctly. In the Umbraco back-end, the home page seemed to be in order, and the back-end said that the page was published. So I re-published, and the home page displayed correctly again.

    This week it happened again (I am told, I have since handed the site off to an in-house developer).

    I am looking through the Windows Application event log, the website logs and the Umbraco log, and I am stumped! There are quite a few Lucene index errors in the Umbraco log, but I'm not sure it's related? I tried all sorts of publishing and scheduled publishing on a staged version of the site to try and recreate the issue, but cannot.

    I have actually seen this happen once, and apparently it has happened again, but I cannot duplicate it, and I have no idea where to go from here. Any ideas?

    Thanks!

  • Peter Dijksterhuis 1442 posts 1722 karma points
    Aug 28, 2009 @ 19:38
    Peter Dijksterhuis
    0

    You could try to delete all files in the data\_systemUmbracoIndexDontDelete folder and after that, run umbraco/reindex.aspx.

    That should fix the lucene-errors.

    BTW: this section of the forum is for bugs regarding this forum only.

    HTH,

    Peter

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Aug 28, 2009 @ 20:34
    Dirk De Grave
    0

    Moved post to this category

     

    /Dirk

  • Pete van Zyl 13 posts 28 karma points
    Aug 29, 2009 @ 01:33
    Pete van Zyl
    0

    Thanks for the lucene error fix suggestion Peter - I will try that. I wonder if that is the cause of the blank home page though.

    And cheers for moving my post to the correct category. (Sorry!)

  • Pete van Zyl 13 posts 28 karma points
    Aug 30, 2009 @ 14:59
    Pete van Zyl
    0

    Peter, I ran your lucene error fix - thanks again for that.

    Luckily (!?) this happened again, and I had a look at the trace, and the error is "Master template is the same as the current template. It would course an endless loop!"

    The home page template is using a master template, and the master template uses the Umbraco default master, so I cannot see anything wrong here.

    I found two related posts (here and here). The one poster re-published the site, which is what I've been doing, and the other post seems unresolved.

  • Pete van Zyl 13 posts 28 karma points
    Aug 30, 2009 @ 15:30
    Pete van Zyl
    0

    Ah! Think I found it, in case anyone else comes across the same. I had a rotating banner which saved (and published) the last displayed banner's id in the homepage as a property via the api in a user control. Thinking about it, not the best plan constantly re-publishing the homepage. I have updated the control to an XSLT function that randomly selects the banner, instead of storing the last banner id and displaying the next one every time.

  • Lee Kelleher 3945 posts 15163 karma points MVP 10x admin c-trib
    Sep 09, 2009 @ 14:02
    Lee Kelleher
    0

    One of  my Umbraco installs has been experience the exact same problem as PJ outlined (but not the rotating banner bit).

    For one reason or another, all the pages on the site go blank.  When I do a "umbDebugShowTrace", which comes up with the "Master template is the same as the current template. It would course an endless loop!" - but that is definitely not the issue (trust me, it's a red-herring, or side-effect!)

    The other symptom is that all the page URLs have their hyphens removed (i.e. "this-is-a-page.aspx" is now "thisisapage.aspx")

    To resolve this, I end-up re-publishing all the content pages - which is a pain because the site has over 800+ pages ... so it either times-out, or I have to re-publish section-by-section.

    I ask my client what actions/events lead up to the error... to which I am told that they have either published/unpublished or moved a page (to a child folder/page).

    Can anyone think of any reason why this might happen? Especially if a page is unpublished or moved?

    Thanks,

    - Lee

  • Dirk De Grave 4537 posts 6006 karma points MVP 3x admin c-trib
    Sep 09, 2009 @ 14:11
    Dirk De Grave
    2

    Lee, I think I've hit the same wall recently (well, same error), but should be more careful when creating a good repro path (because I don't exactly remember what I did)

    My issue was caused by setting a default template for a doc type for which I already had some documents (not sure if those docs had a template assigned before I've set the default one). I'll see if I can repro this tonight.

     

    Cheers,

    /Dirk

  • Garry Bain 149 posts 124 karma points
    Oct 22, 2009 @ 17:29
    Garry Bain
    0

    Im also getting this error now, as Im using replicating previous sites when creating new ones, I have about 5 sites all with this issue. I managed to fix my first one by removing the "-" from the urls - so "/news/brand-new-site" became "brandnewsite" - once I saved this it worked - and even when I put the dashes back in the url - it still worked.

    This seemed quite an odd bug - but now the same fix won't work on any of the other sites I'm working on - so there must be something else. Did anyone manage to replicate this or find a fix?

    Cheers, Garry.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies