A space to discuss online store customization, theme development, and Liquid templating.
Hi, I have an app proxy set up to redirect to xml files. I get a cryptic ASP.net error even though the xml is working fine on my server:
1) FROM SHOP: https://leisure-38.myshopify.com/apps/seo-images-sitemaps/leisure-38.myshopify.com/images-sitemap.xm... (SHOWS ERROR)
2) FROM SERVER: https://seoimages.sonshaw.com/sitemaps/leisure-38.myshopify.com/images-sitemap.xml (WORKS FINE)
3) APP PROXY: apps/seo-images-sitemaps/
4) CRYPTIC ERROR MESSAGE: error on line 1 at column 2: StartTag: invalid element name
Can you please look into this asap? I need this working immediately...
Look at the actual source of the page you're linking to. It's not an xml file and that's why your browser would be showing an error.
The page that is loading in your first link is a 404 page. I suspect your proxy isn't set up correctly.
Jason,
This is the XML file -> https://seoimages.sonshaw.com/sitemaps/leisure-38.myshopify.com/images-sitemap.xml
Its correct no?
Hi Jason, here's a screenshot of my app proxy settings. What do you think is wrong with them?
https://www.dropbox.com/s/5rexaylhqfuboop/Screenshot%202018-12-27%2020.48.42.png?dl=0
Its not the settings.
LOOK AT THIS: (EXTENSION IS PHP) - GOES TO 404
EXTENSION IS XML GOES TO ASP.NET ERROR
The error is from your browser since the extension doesn't match what it's trying to parse (being xml, but it's totally not xml).
I question why you are using myshopify.com in your own path - that feels weird and could see how internal routing might be effected. Total conjecture of course. I would use a differ subfolder that removes the myshopify.com path you're adding on your server and test again. If that still fails, it's still likely do with your set up but it gets a step closer.
Jason, I think you are using a lot of words, but I don't think you are actually saying anything.
Whats wrong with the XML?
Whats wrong with having the myshopify in the url?
Did you see my example with the PHP vs. the XML extension? Does that prove anything?