|
|
Rank: Devotee
Joined: 11/16/2006 Posts: 55 Location: Scotland
|
Hi all,
Existing Umbraco 2.1 site. When I change the sort order of the nodes, the change is not immediately reflected on the site. If I delete umbraco.xml and restart the worker process, the new sort order suddenly kicks in. If I do not delete the umbraco.xml but publish a page change, the sort order is *not* updated on the site. I take it this is a bug in the 2.1 code? Unfortunately the 'publish all nodes' option has been removed in this installation, so I can't do that either.
Now the rest of the problem. This site is sitting on a crusty old 2000 server machine, with several other sites. No application pools, and doing a stop-start of the site doesn't re-create the umbraco.xml. Even now, the site is running happily, with no umbraco.xml, and refuses to rebuild it.
So, how can I.. a). Force Umbraco.xml to be re-built without resorting to an iisreset? b). Otherwise force the site to pick up the correct sort order?
Thanks!
Craig
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 573 Location: NL
|
Hi Craig,
please check the permission of the umbraco.xml file. 99 out of 100 times the file doesn't get updated is because of missing permissions. ASPNET and NETWORK SERVICE need to have change-rights to that file.
To force the file being re-built, open the web.config, add a space somewhere (where it can't do harm) and save the file. That will cause the application to restart and to re-built the file.
Hope this helps,
PeterD
Check out the calendar with recurrence at my blog.
|
|
 Rank: Umbracoholic
Joined: 9/8/2006 Posts: 1,831 Location: MA, USA
|
Another way to force the /data/umbraco.config (called /data/umbraco.xml in earlier versions) is to right-click on the top-most CONTENT item in the treeview and select the 'publish entire site' menu. cheers, doug.
MVP 2007-2009 - Percipient Studios
|
|
Rank: Devotee
Joined: 11/16/2006 Posts: 55 Location: Scotland
|
Hi guys,
Sadly 'publish entire site' has been removed from this installation, and I've tried setting everyone full control on the file and it doesn't help. Any more ideas?
thanks,
Craig
|
|
Rank: Enthusiast
Joined: 9/7/2007 Posts: 27 Location: UK
|
Did you try resaving the web.config file as PeterD described above?
|
|
Rank: Devotee
Joined: 11/16/2006 Posts: 55 Location: Scotland
|
D'oh! Sorry, I did not read that part closely enough! Changing the config did indeed cause the file to be written!
Now to figure out how to fix it long term.
Thanks PeterD!
Craig
|
|
 Rank: Addict
Joined: 7/20/2006 Posts: 573 Location: NL
|
Craig,
I'm glad that the file got written :-) As for the long-term fix, please check the file-permissions as I wrote in my previous post. Can you confirm that ASPNET and NETWORK SERVICE both have change-rights to that file? Is updating to a newer version of umbraco an option for you maybe?
Cheers, PeterD
Check out the calendar with recurrence at my blog.
|
|
Rank: Devotee
Joined: 11/16/2006 Posts: 55 Location: Scotland
|
Well everyone has full control on that file, just to check, and it still doesn't write :)
I think that the only fix would be some kind of upgrade, which will be tricky as the source has been modified.
I'm curious though, was this a known bug in this version?
Craig
|
|
|
Guest |