Error loading stylesheet problem after setting up Cron Job
« on: August 31, 2010, 01:29:19 PM »
When I run the standalone Sitemap Generator on my site and then visit [ External links are visible to forum administrators only ], I am able to view it fine. However, when a sitemap is generated via Cron Job and then I visit sitemap.xml I get the following error:

Error loading stylesheet: A network error occured loading an XSLT stylesheet:http://www.myurl.com/home/dogged/public_html/generator/pages/mods/sitemap.xsl

The difference is that when the generator is run manually it produces the following reference to the stylesheet (with the correct location for the stylesheet):
<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]"?>

But when it is run via Cron Job it produces this (with an incorrect location for the stylesheet, resulting in the error):
<?xml-stylesheet type="text/xsl" href="[ External links are visible to forum administrators only ]"?>

Please inform me as to how I can correct this inconsistency.
Re: Error loading stylesheet problem after setting up Cron Job
« Reply #2 on: September 01, 2010, 02:43:59 PM »
That did the trick. Thanks!