XML problem with Text Link Ads
by Matt on , under Affiliate Programs
So yesterday I inserted the Text Link Ads code into the includes file for My Kewl Space fully oblivious to the fact that I’d just crippled the rest of the my site.
How? Why?
Well Text Link Ads seems to make use of an XML file which stores the ads that will appear on your site. By default this is a relative URL in the form of
$LOCAL_XML_FILENAME = “local_80767.xml”;
This will work fine as long as your site isn’t divided up into sub directories and the xml file is kept within the folder where the rest of the files appear. This isn’t the case with My Kewl Space which meant that most of the site was inaccessible for a period last night. D’oh!
I resolved the issue by inserting the absolute URL to the XML file, in my includes. The really annoying thing is I created a new Myspace Stalker tool last night which sent an extra wave of traffic to the website and I’ve failed to capitalise on it. Grrrr. These things happen though I guess.