Extension talk:DynamicWikiSitemap/Archive 01

How do we add the require once line?
The instructions don't say how to do this. I followed all of the instructions by putting the sitemap.php and sitemap.xsl in the same folder as my LocalSettings.php file. I then added this to LocalSettings.php:

require_once("$IP/sitemap.php");

But then I get the following error page when I load a page in my site: Fatal error: Call to undefined function wfgetdb in /home/johnsmith/public_html/site.com/w/sitemap.php on line 86 The line in question is the require once statement. I'm using MediaWiki 1.16.5 --Holygamer 13:56, 4 June 2011 (UTC)

Installation
This is not the usual extension, is a separate page. No need to register the sitemap.php at LocalSettings.php(there you can only set configuration). After copying to the root directory, just open the sitemap.php page on your site (e.g. http://coding.bezslabostei.ru/sitemap.xml). --SimonLitt 05:53, 9 August 2011 (UTC)

Error loading stylesheet
I'm using MW 1.13 and can't get the php to work... it brings up a message: "Error loading stylesheet: A network error occured loading an XSLT stylesheet: (....)". Is it because of MW's version or something else? Of course, the sitemap.xsl gets empty.

Style
Hi. Sory, I have not tested the extension on older versions. However, this error is likely to occur for other reasons. Check your copy of the sitemap.xsl file or try comment following line at sitemap.php(stylesheet will be disabled): --SimonLitt 18:10, 28 October 2010 (UTC)