Thread:Project:Support desk/generatesitemap.php/reply (2)

Thank you for your help. This is what happened when I changed directory: (note, I also changed the name of my site)

> cd /var/www/html/mediawiki/maintenance > php generateSitemap.php SemanticLaw.net This script must be run from the command line

Since I thought I was at the command line, this just confused me. I asked tech support at my host. Here is what they said:

Nick D: When I run it I get other errors. Nick D: php generateSitemap.php PHP Warning: include_once(extensions/GoogleAdSense.php): failed to open stream: No such file or directory in /var/www/html/mediawiki/LocalSettings.php on line 136 PHP Warning: include_once: Failed opening 'extensions/GoogleAdSense.php' for inclusion (include_path='/var/www/html/mediawiki:/var/www/html/mediawiki/includes:/var/www/html/mediawiki/languages:.:/usr/share/pear:/usr/share/php') in /var/www/html/mediawiki/LocalSettings.php on line 136 PHP Warning: require_once($IP/extensions/googleAnalytics/googleAnalytics.php): failed to open stream: No such file or directory in /var/www/html/mediawiki/LocalSettings.php on line 138 PHP Fatal error: require_once: Failed opening required '$IP/extensions/googleAnalytics/googleAnalytics.php' (include_path='/var/www/html/mediawiki:/var/www/html/mediawiki/includes:/var/www/html/mediawiki/languages:.:/usr/share/pear:/usr/share/php') in /var/www/html/mediawiki/LocalSettings.php on line 138 Nick D: The inclusion paths seem to be wrong within the code. -

So,two questions:

1. Why do all these extensions come up when all I'm trying to do is get a sitemap? 2. How do I fix this? thx