Jump to content

Topic on Extension talk:HitCounters

Updating Database Not Working

3
Cozbaldwin (talkcontribs)

Hi there. First time installing this extension. I put the folder in the extensions directory. I added the include to localsettings. I went to /mw-config to update the database and it's on the "installation complete" screen. So i went ahead and restarted the whole installation. Completed. But when I load a page full of code not unlike what people have documented here previously. It seems like this would be simple enough but I don't know what else to do.

I'm guessing the database was not updated and looking at it, I'm not seeing a hitcounters table either, so yeah. How can I force the database to add the HitCounters tables? Do I need to have the include turned ON in localsettings when running the upgrade? (I had to turn it off because the wiki was inaccessible to my users)...

Cozbaldwin (talkcontribs)

UPDATE! yes! in fact, you DO need to have the loadextension in localsettings turned on when running the database update/restart installation. It now works!

Wikidev23 (talkcontribs)

Thanks for noting that you have to Restart the update script, not mentioned anywhere else.

Reply to "Updating Database Not Working"