Xslt Search - Error parsing XSLT file Options
acl
Posted: Wednesday, September 12, 2007 9:52:58 AM
Rank: Devotee

Joined: 12/15/2006
Posts: 40
Thanks for getting on to this guys. I downloaded 2.5, dropped it in and it's all working. Thanks heaps!
tkahn
Posted: Friday, September 14, 2007 3:45:18 PM

Rank: Fanatic

Joined: 11/24/2006
Posts: 323
Location: Stockholm, Sweden
Douglas Robar wrote:

You have an item in the contentTree that has no @id, no @nodeName, and no path. But it is still there. It has a content value of 1057. What it is and how you created it I have no idea. But since it didn't have an @id, it made the umbraco.library calls blow up at runtime.


How do I delete this node?

Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
drobar
Posted: Friday, September 14, 2007 5:14:11 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Good question! I suspect you're looking at a database edit, but only do that after a solid backup :yes:

For XSLTsearch, it won't cause a problem because I check for that now. But it might be trouble for other XSLT files.

If you leave it hanging around then I suspect (but don't know since there isn't a path) that if you were to use the node id of your top-most content item in the content tree rather than "-1" you wouldn't see the "non-node" being passed into the XSLT.


cheers,
doug.


MVP 2007-2009 - Percipient Studios
tkahn
Posted: Monday, September 17, 2007 9:42:07 AM

Rank: Fanatic

Joined: 11/24/2006
Posts: 323
Location: Stockholm, Sweden
Douglas Robar wrote:

Good question! I suspect you're looking at a database edit, but only do that after a solid backup :yes:


Hmm, that sounds scary! :cry:
Isn't it true that Umbraco keeps a parallell XML-document with all the nodes of the site? I'm thinking that a discrepancy between the XML-document an the database can cause problems?

/Thomas K


Web Developer at Kärnhuset - http://www.karnhuset.net - Stockholm, Sweden
Arnim
Posted: Thursday, September 20, 2007 1:52:33 AM

Rank: Devotee

Joined: 5/31/2007
Posts: 54
Location: Kirchheim Teck, Germany
Hey Douglas!

EXCELLENT WORK! (Except a package would be nice for the many parameters)

Douglas Robar wrote:
I've updated XSLTsearch to v2.5, which incorporates these changes.


But I still have the TOP / BOTTOM error for the search field.

Greets, Arnim.

What the heck is PHP? ;-)
drobar
Posted: Thursday, September 20, 2007 2:53:26 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Tell me more about the problem so I can help you. Can you paste in your macro parameters from your template? Are you sure you're running 2.5?

thanks,
doug.

MVP 2007-2009 - Percipient Studios
mikew909
Posted: Wednesday, September 26, 2007 10:18:12 AM
Rank: Newbie

Joined: 9/26/2007
Posts: 10
Hey all, im a n00b user, just taken over the mammoth job of maintaining all these xslt files. I got exactly the same error as was mentioned here, so I thought I would just relay my observations.

The problem is able to be demonstrated when I apply a new piece of content to a page for example, then delete that piece of content - the page somehow thinks the content is still there. I havent cracked this one yet, but I thought I'd chime in all the same.

Awesome product btw :)

Mike
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.