Hi there,
The website we've created will not publish on the date/time that we set. I have looked on the internet and seen that this was an issue that was raised and closed:
umbraco.codeplex.com/.../View.aspx?...Id=22816
1. Create a new folder2. Add in our content3. Press 'SAVE' in Properties4. Set a date and time for this to publish.
What we've found is that going back into Umbraco, this does not publish and it removes the 'Publish At' date.
We've even tried publishing and unpublishing, then setting a date, (in case it was an issue with just saving).
Nothing seems to work.
Site is on Umbraco 4.0.3, and across two servers. (Neither of which show the folder as published).
Any help would be appreciated.
Thanks
Lisa
Hi Lisa,
Swap around the last two steps:
It took me a while to figure out, NOT to press the "Save and Publish" button ... just Save it.
Good luck, Lee.
Hi Lee,
Thanks for the advise. I tried that, but what happens is:
1. Create the content folder2. Update the content3. Set the date/time "Publish at"4. Hit Save
After the date/time has passed, going back into Umbraco the folder is still unpublished, and the 'Last Edited' time is when I saved it, but the "Publish at" field is now empty. The "Publish at" date is in the field up until the time set for it to publish. Its like it recognises once that date/time has occured and the date is then reset/removed, but the folder still does not publish.
You could possibly look in the UmbracoLog database table and see if there is any errors in there.
It seems that this is a problem in 4.0.3, Calvin and Mat are having the same issue in this thread: our.umbraco.org/.../5934-Date-Picker-doesn't-work
I've had the same issue with sites on our NLB.
I don't think it relates to the "Date picker doesn't work" thread because the date is actually correctly save and able to be reloaded during the time before the "Publish At" date is hit.
The issue I get is...
Error publishing node: System.TypeInitializationException: The type initializer for 'umbraco.cms.businesslogic.datatype.controls.Factory' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object. at umbraco.BusinessLogic.Utils.TypeFinder.FindClassesOfType[T](Boolean useSeperateAppDomain) at umbraco.cms.businesslogic.datatype.controls.Factory.Initialize() at umbraco.cms.businesslogic.datatype.controls.Factory..cctor() --- End of inner exception stack trace --- at umbraco.cms.businesslogic.datatype.DataTypeDefinition.get_DataType() at umbraco.cms.businesslogic.property.Property.MakeNew(PropertyType pt, Content c, Guid versionId) at umbraco.cms.businesslogic.Content.createNewVersion() at umbraco.cms.businesslogic.web.Document.PublishWithResult(User u) at umbraco.cms.businesslogic.web.Document.Publish(User u) at umbraco.presentation.publishingService.CheckPublishing(Object sender)
The app pool has standard parameters (1 web garden), except for Identity, where we use an Active Directory user for integrated authentication to the db and umbracoUseDirectoryUrls & umbracoHideTopLevelNodeFromPath is set to true.
Hello,
We are having the same problem with load balanced 4.0.3 install.
We have updated Umbraco from 4.0.2 to the nightly release that was posted in the "Date picker doesn't work" thread. The update did not fix the issue with the "Publish at" feild going blank and the content remaining unpublished after the date/time has passed.
We were having a similar problem with the "Remove at" not unpublishing content properly but that appears to have been fixed after performing update.
We are having the same or a similar problem with two IIS7.5 (2008 R2) web nodes load balancing.
We've set up the balancing correctly as everything is being published when you do it by hand.
I've observed that the items appear to be published, but are not actually publsihed when I go to the live site.
We have definitely upgraded to 4.0.3, as we did this on all (40 or so) umbraco instances to fix this specific issue - which the release notes indicated was fixed.
I can't see anything in umbracoLog but I do see this quite frequently:
Error removing node from umbraco index: 'System.IO.IOException: No sub-file with id _10c.f12 found at Lucene.Net.Index.CompoundFileReader.OpenInput(String id) at Lucene.Net.Index.SegmentReader.OpenNorms(Directory cfsDir) at Lucene.Net.Index.SegmentReader.Initialize(SegmentInfo si) at Lucene.Net.Index.SegmentReader.Get(Directory dir, SegmentInfo si, SegmentInfos sis, Boolean closeDir, Boolean ownDir) at Lucene.Net.Index.IndexReader.AnonymousClassWith.DoBody() at Lucene.Net.Store.Lock.With.Run() at Lucene.Net.Index.IndexReader.Open(Directory directory, Boolean closeDirectory) at umbraco.cms.businesslogic.index.Indexer.ContentIndexReader() at umbraco.cms.businesslogic.index.Indexer.RemoveNode(Int32 Id)'
Which I don't think is related.
The "hotfix" linked to from the linked post above (which is just a nightly build) is now 404'ing.
Gareth
I don't have a solution for the publish at problem, however Gareth, you might want to consider installing Win2008 SP2 on your server as it seems to have fixed the indexing problem you're having. After the install run /umbraco/reindex.aspx to fix your indexes.
Didn't think of this, but until this problem is fixed with publishing content - this is what i've done...
added a new date field to my document type
wrote xslt to only show the items which should be published
and published everything
<xsl:variable name="currentDate" select="umbraco.library:CurrentDate()"/><xsl:variable name="articleDate" select="$currentPage/data[@alias='showContentIfAfter']"/>
<xsl:if test="(string($articleDate) = '' or (string($articleDate) != '' and umbraco.library:DateGreaterThan($currentDate, $articleDate)))">