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?
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.
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.
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?
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.
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?
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!
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
Moved post to this category
/Dirk
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!)
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.
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.
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
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
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.
is working on a reply...
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.