26 Март 2013 г. 14:16:09 пользователь Platonides
On 25/03/13 23:19, Rahul Maliakkal wrote:
> I installed SMW extension in my local wiki yesterday and now when i visit a
> page in my local wiki i get this message "A database query syntax error has
> occurred. This may indicate a bug in the software. The last attempted
> database query was:
> (SQL query hidden)
> from within function "ShortUrlUtils::encodeTitle". Database returned
> error "1146:
> Table 'my_wiki.w1_shorturls' doesn't exist (127.0.0.1)""
> Along with the page being displayed untidily.
> So i tried to fix the problem ,as suggested by people i tried to run "php
> Then i got the following error message
> "A copy of your installation's LocalSettings.php
> must exist and be readable in the source directory.
> Use --conf to specify it."
It would be nice if maintenance scripts displayed the requested path to
LocalSettins.php in case of such error.
I have my
LocalSettings.php in the same place where my default index.php is
located,earlier i had made some logo changes to my wiki and they were
succesfully reflected in my wiki,so the localhost has access to the
I am working on Ubuntu and have mediawiki 1.20 installed
Please Help!!Its Urgent
Thanks In Advance
That's very odd. Perhaps you are running the script as a
which doesn't have read access? Is your file printed if from the folder
you do php update.php you run cat ../LocalSettings.php ?
Also one may have MW_INSTALL_PATH environment variable set pointing to different
directory. I had such weirdness at one hosting sharing two different versions of MediaWiki
in wrong way.