Flat URLs option doesnt work Options
Mitja
Posted: Tuesday, June 03, 2008 1:04:25 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
Hi,

I am trying to set up URL rewriting and reading through some online help I saw that what I need to do is to set up IIS (im running Windows XP/umbraco version 3.0.3) which I did:

Quote:
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll
.*
GET,HEAD,POST,TRACE
Script engine (checked)
Check that file exists (unchecked)


Then i turned the umbracoUseDirectoryUrls in both Web.config to True.

But even with all these settings the URL is get is:
http://localhost/1106.aspx?umbVersion=7f57ae99-32ea-451b-ae9f-101f07f01042

And link to document doesn't show and links at all.

Also, if I try to access the web site with just http://localhost, I get the no nodes page (http://localhost/config/splashes/noNodes.aspx)

The page says I have to publish some content, which i did, but still i get the no nodes page.



Anyone has an idea of what could be wrong here?


Thanks,
Mitja
kalpa
Posted: Tuesday, June 03, 2008 7:38:56 PM

Rank: Fanatic

Joined: 7/19/2006
Posts: 492
Location: Göteborg, Sweden
Hi Mitja!

Last time I activated flat urls on already published pages I had to first unpublish them and then republish them again to get them to work as expected...

Have you tried that?

// ; ) Kalle

" - Yeah I'd like to share your point of view, as long as it's my view too... (http://www.d-a-d.dk/lyrics/pointofview)
Mitja
Posted: Friday, June 06, 2008 4:13:34 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
Well I have reinstalled the whole CMS now and updated it to 3.0.5.

I don't know if theres something i am doing wrong, but everytime I install this CMS i have to find a fix for quite some errors. Its always returning some error about some URL dll, so i need to copy Bin folder into /umbraco/, the 3.0.5 was showing errors in folder permissions, even tho all the users, network service, aspnet engine had full control. When instaling CMS 3.0.3 and just overriding some folders it worked ok. And the 3.0.3 showed all folder permissions as successful.

Well now it seems to be working, but if I publish some content, and click the preview i get on page:
http://localhost/1044.aspx?umbVersion=e956eb47-6ad6-403a-93fa-3648c45cd23e

Which loads everything as it should. But when i click "Link to document /test" i get the noNodes screen.

The changes to umbracoUseDirectoryUrls and .* mapping didnt produce any different behaviour. Just doesnt work.

Also, whenever i try to save template i get error message:

Quote:
Error: umbraco is not defined
Source File: http://localhost/umbraco/settings/editTemplate.aspx?templateID=1046
Line: 18


Code:
Error: input has no properties
Source File: http://forum.umbraco.org/editors/yafEditor/yafEditor.js
Line: 211


Quote:
Error: Sys is not defined
Source File: http://localhost/umbraco/settings/editTemplate.aspx?templateID=1046
Line: 95


Now this only happens if i try to save template, if i try to save content, or document type, then it works fine.
Mitja
Posted: Friday, June 06, 2008 4:28:03 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
Actualy the templates and xslt produce those errors. The document type and content are working ok.

When i tested the web site i created a content document called "test". Now i was just trying to delete it and it doesnt let me. It shows as if file is deleted (blurs down to recyle bin), but on refresh the file content is still there. The rename worked, but i couldnt delete it even with different (not so generic) name.

The error that VS 08 showed was:
Method not found: 'Boolean umbraco.UmbracoSettings.get_CloneXmlCacheOnPublish()'.


P.S.: This topic is saved under Misc, but when looking at Misc, i cant see it.

Cheers,
Mitja
Mitja
Posted: Friday, June 06, 2008 4:55:08 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
Now thats funny, i've installed the package:
http://packages.umbraco.org/packages/website-packages/creative-web-site-package?callback=&version=

And now i can save both templates and xslt without any errors. Even the deleting that test page works.

Anyone has an idea what could cause such behavior?

Only the publishing part isn't working now, the link to link gives me noNodes page.

M.
Prle
Posted: Friday, June 06, 2008 8:38:35 PM
Rank: Newbie

Joined: 6/29/2007
Posts: 24
Location: Zagreb, Croatia
Hi,

since you say you upgraded to 3.0.5 you'll have to change this key's value to 3.0.5 in your web.config file

Code:


<add key="umbracoConfigurationStatus" value="3.0.3" />

Mitja
Posted: Friday, June 06, 2008 8:53:45 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
I changed that value to 3.0.5.

M.
Mitja
Posted: Monday, June 09, 2008 2:32:30 PM
Rank: Newbie

Joined: 5/22/2008
Posts: 21
Location: Slovenia
Heya,

found the solution to "noNodes" problem. Searching on the forums i found these two posts:
http://forum.umbraco.org/yaf_postst4144_No-nodes-found-page-after-publishing-content.aspx
http://forum.umbraco.org/yaf_postst1507_No-nodes-found-after-successful-publish.aspx


After i changed the umbracoSettings XmlCacheEnabled to False problem still persisted, but the server restart made it working.

Now I almost have a 100% running site :D

Cheers,
Mitja
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.