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 > update.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." > > 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 > LocalSettings.php > > 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 different user which doesn't have read access? Is your file printed if from the folder you do php update.php you run cat ../LocalSettings.php ? _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
