I was wondering if anybody can help. We have had our new website about 3 months ago redone using umbaraco 3.0. All was working fine until about 2 - 3 weeks ago. On our website where there should be a picture it says Error parsing XSLT file: \xslt\HomePageHotspots.xslt . Website address. www.fdcap.com it is referencing a file which I have check is located in the correct directory. I have even garn back to the files we where sent by the company that did the website and still no joy.
I am wondering if anybody would be able to say is this error is code or hosting server related?
Many thanks for your reply to this. I am unfortunately not a programmer, more on the technical side of things. I am not 100% sure about what you are wanting me to try? The error is on the home page at www.fdcap.com on the bottom left.
Right you are, should replace the first code snippet with the second, but the '...' is the first code snippet content, didn't want to repeat/copy/paste that...
Here's the complete snippet now
[code]
Conferences & Events
[/code]
If no parsing error occurs.. then it should be the issue. After that, we'll work on the issue (what is causing $FirstEventId to be empty)
Sorry I was not expecting such a prompt reply and was just trying a few thing buy replacing the currant xslt with another xslt file that was working and seeing if it works, which it did. Then deleted it but forgot to put back the old file. Have hopefully updated the file correctly. the file now is as follows:
Many thanks Dirk for your help with this. The error has now been resolved with Dirk Help and guidance.
Problem was due to an event that had expired and the original coding done by the original developers did not account for this. Once we added the if statement in the remainder 2 icons came back, but not the third icon. Once I republished the event the 3rd tab came back as it should.
Main problem was due to coding issue, and then the event expiring.
Once again Dirk many thanks for you help in putting me in the right direction and helping resolve this. Much appreciated to all who spend time helping out others on this forum.
Error parsing XSLT file
Hi all
I was wondering if anybody can help. We have had our new website about 3 months ago redone using umbaraco 3.0. All was working fine until about 2 - 3 weeks ago. On our website where there should be a picture it says Error parsing XSLT file: \xslt\HomePageHotspots.xslt . Website address. www.fdcap.com it is referencing a file which I have check is located in the correct directory. I have even garn back to the files we where sent by the company that did the website and still no joy.
I am wondering if anybody would be able to say is this error is code or hosting server related?
Code for file mentioned:
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
Research
Corporate Finance
Conferences & Events
Any help would be much apriciated.
Regards
Matt
Hi,
I'm guessing it's the last one which is troubling, right (the one that uses FirstEventId)?
Error parsing XSLT HomePageHotspots.xslt
Value was either too large or too small for an Int32.
A first solution would be to surround the
[code]
Conferences & Events
with an
Hi Dirk
Many thanks for your reply to this. I am unfortunately not a programmer, more on the technical side of things. I am not 100% sure about what you are wanting me to try? The error is on the home page at www.fdcap.com on the bottom left.
Are you wanting me to replace:
[code]
Conferences & Events
with
[code][/code]
To see if the error comes up still?
many thanks for your help with this.
Matt
Hi Matt,
Right you are, should replace the first code snippet with the second, but the '...' is the first code snippet content, didn't want to repeat/copy/paste that...
Here's the complete snippet now
[code]
Conferences & Events
[/code]
If no parsing error occurs.. then it should be the issue. After that, we'll work on the issue (what is causing $FirstEventId to be empty)
Regards,
/Dirk
Hi MAtt,
Just checked the website again. Have received a different error message...
Error loading XSLT HomePageHotspots.xslt
The variable or parameter 'FirstEventId' is either not defined or it is out of scope.
Can you re-post the xslt if it has changed since last time you've posted the xslt.
TIA,
Dirk
Hmm,
I'm getting different error messages each time when visiting the home page.
Error loading XSLT HomePageHotspots.xslt
XSLT compile error.
at System.Xml.Xsl.Xslt.XsltLoader.LoadStylesheet(XmlReader reader, Boolean include)
at System.Xml.Xsl.Xslt.XsltLoader.Load(Compiler compiler, Object stylesheet, XmlResolver xmlResolver)
at System.Xml.Xsl.Xslt.Compiler.Compile(Object stylesheet, XmlResolver xmlResolver, QilExpression& qil)
at System.Xml.Xsl.XslCompiledTransform.LoadInternal(Object stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
at System.Xml.Xsl.XslCompiledTransform.Load(XmlReader stylesheet, XsltSettings settings, XmlResolver stylesheetResolver)
at umbraco.macro.getXslt(String XsltFile)
at umbraco.macro.loadMacroXSLT(macro macro, Hashtable attributes, page umbPage)
Are you sure the xslt file is still there?
Regards,
/Dirk
Hi Dirk
Sorry I was not expecting such a prompt reply and was just trying a few thing buy replacing the currant xslt with another xslt file that was working and seeing if it works, which it did. Then deleted it but forgot to put back the old file. Have hopefully updated the file correctly. the file now is as follows:
[code]
]>
version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxml="urn:schemas-microsoft-com:xslt"
xmlns:umbraco.library="urn:umbraco.library"
exclude-result-prefixes="msxml umbraco.library">
Conferences & Events
[/code]
hope this is correct.
Matt
Hi Matt,
Have sent a mail with instructions on how to resolve the issue.
Regards,
/Dirk
Many thanks Dirk for your help with this. The error has now been resolved with Dirk Help and guidance.
Problem was due to an event that had expired and the original coding done by the original developers did not account for this. Once we added the if statement in the remainder 2 icons came back, but not the third icon. Once I republished the event the 3rd tab came back as it should.
Main problem was due to coding issue, and then the event expiring.
Once again Dirk many thanks for you help in putting me in the right direction and helping resolve this. Much appreciated to all who spend time helping out others on this forum.
five star forum :d/
is working on a reply...