From: nbv4 <cp3...@oh...> - 2010-06-18 01:59:14
|
Thomas Krueger-3 wrote: > > Hi nbv4, > > I had a similar problem after installing the SM extension in the wrong > order. > > Markus Krötzsch gave me the following hint, which solved the problems for > me: > "I suggest to do a complete reset of the SMW database tables as explained > in > the documentation [1]. Essentially, you run > > php SMW_setup.php --delete > > as a command line script, and then initialise SMW from scratch (first > creating > the tables running "php SMW_setup.php", then rebuilding the contents by > using > the repair button or by running the refresh script from the command line; > the > former is now the preferred method)." > > You can accelerate the rebuilding of the database by the "runjobs.php" > script. > > Thanks for the tip, but I'm having more problems. Here is the command I'm trying to run: export MW_INSTALL_PATH="/var/lib/mediawiki" && php SMW_setup.php --conf /etc/mediawiki/LocalSettings.php --aconf /etc/mediawiki/AdminSettings.php each of those paths are correct, I've checked them. This is how mediawiki is installed via the debian package. here is the output: ---------------------------- PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 Setting up standard database configuration for SMW ... Selected storage engine is "SMWSQLStore2" (or an extension thereof) DB connection error: No database connection ---------------------------- I'm using postgres, by the way. No matter what I try, I always get the same "DB connection error: No database connection" error. I know the user/pass in the AdminSettings.php file works, because I've verified it. I've also tried /var/lib in stead of /usr/share, yet I still get the same results. -- View this message in context: http://old.nabble.com/can%27t-get-geographic-coordinates-to-work-tp28919601p28921607.html Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com. |