Page 1 of 1

[SOLVED] Mediawiki installation [user] error

Posted: Fri Mar 30, 2012 4:29 am
by spaceman
I had some layout issues with my installation of mediawiki so I decided to start from scratch.

I have removed and reinstalled a couple of times. This is the error page I get when browsing to mediawiki now:

Code: Select all

A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: http://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script Query: SELECT value,exptime FROM `objectcache` WHERE keyname = 'mediawiki:messages:en' LIMIT 1 Function: SqlBagOStuff::get Error: 1146 Table 'mediawiki.objectcache' doesn't exist (localhost)
Suggestions? :mrgreen:

Re: Mediawiki installation error

Posted: Fri Mar 30, 2012 5:25 am
by bigfoot65
Uninstall the app, then look in /var/hda/dbs for anything that has mediawiki in the file name. Remove those files, then try reinstalling.

When you uninstall any app with a database, Amahi backs that up. Some apps have been configured to look for that backup file and restore it when you install the app.

If that does not resolve you issue, please check the app install log for errors. I will take a look at the app when I get home from work.

BTW, as an alternative you can get your own online wiki for FREE at http://wikkii.com/wiki/Free_Wiki_Hosting. It works well from anywhere.

Re: Mediawiki installation error

Posted: Mon Apr 02, 2012 5:40 am
by spaceman
:oops: Man, I'm so embarrassed I removed and reinstalled several times through the GUI. I used phpMyAdmin to double check that the database had been removed and didn't give a first thought to the wiki files in /var/hda/webapps never mind any back up of these files!

Of course I browsed straight there (backed up) and deleted the whole mediawiki folder. Job done. Really I should've fixed this myself...utterly rudimentary. Sorry to have wasted your time. Many thanks for the swift response and resolution! :idea: