Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...


mobile.productslider XmlPackage error on initial load.

We get an XML error on the Related Products (mobile.productslider) in the mobile product page the 1st time the page loads when the user loads it from a posted URL or directly copy/paste the product url.

For example if I open my (mobile) browser and the URL to one of our product pages, it will display an xml error in related products the 1st time it loads. After that it will load correctly until the browser is closed.

Does anyone know what causes this error? Or have any suggestions on troubleshooting this?

This is happening in v9.3 and yes we plan to launch a newer version asap.

"Error in XmlPackage(.Load), Package=[mobile.productslider], Msg="The XmlPackage file could not be found. The search tree is: App_Templates/skin_{activeskinid}/SXmlPackages and then the /XmlPackages folders in your web site. Please make sure that you have FTP'd the file up to the server!]"

Thank you
asked Aug 30, 2017 in MultiStore by ehill (280 points)
edited Aug 30, 2017 by ehill

1 Answer

+1 vote
Best answer
That sounds similar to issues we've seen before in older versions of the software.  If the customer goes straight to the product page, they don't have any session info yet when the page first loads - things like customerID, skinID, etc.  In this case, it sounds like they're missing the skinID, so the software can't build up the right path to the skin to find the XML package.  On subsequent loads, that session info exists and the package is found OK.

You could try copying the mobile.productslider XML package into the root XmlPackages folder.  As long as you've only got one mobile skin so you don't need multiple copies of that, it ought to work OK - the app won't find the skin-specific copy, so it'll "fall back" on the root one.
answered Aug 30, 2017 by Vortx ScottS (13,500 points)
selected Aug 31, 2017 by ehill
It worked! Thank you so much.