Topic on Extension talk:HitCounters

Emikulic (talkcontribs)

Installing into 1.35.0 did not update the database. php update.php did nothing and I get errors on our wiki saying the table cannot be found.

[X9rTt6Dou00@cr2kmZ5c4AAAAMA] /index.php?title=Main_Page Wikimedia\Rdbms\DBQueryError from line 1699 of /var/www/mediawikis/wiki-1.35.0/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?

Ulf Dunkel (talkcontribs)

Did you run /maintenance/update.php or /extensions/HitCounters/update.php? You'd run the first one.

WikiForMen (talkcontribs)

I guess, what /maintenance/update.php will run /extensions/HitCounters/update.php of all extensions.--WikiForMen (talk) 17:50, 24 March 2021 (UTC)

WikiForMen (talkcontribs)

I have just done a new installation. If the checkbox "HitCounters" is ticked during the first installation, the DB table "hit_counter" is created immediately during the first installation. If the extension HitCounters is added after the initial installation, php update.php must be called up again on the command line and the DB table "hit_counter" is created subsequently. Both variants work.

Ulf Dunkel (talkcontribs)

I see two tables: hit_counter and hit_counter_extension, the latter being empty.

Emikulic (talkcontribs)

I will have to try again. Will let you all know how it goes.