We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

Bug 6279 - Some generic plugins don't work after install/upgrade
Some generic plugins don't work after install/upgrade
Product: OJS
Classification: Unclassified
Component: Installer
All All
: P3 normal
Assigned To: Michael Felczak
Depends on:
  Show dependency treegraph
Reported: 2010-12-03 18:55 PST by Michael Felczak
Modified: 2011-01-31 12:15 PST (History)
4 users (show)

See Also:
Version Reported In:
Also Affects:

Patch against OJS 2.3.3 (3.99 KB, patch)
2010-12-07 22:00 PST, Michael Felczak
Details | Diff
MYSQL to add missing records to versions table (503 bytes, text/plain)
2010-12-08 10:56 PST, Michael Felczak

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Felczak 2010-12-03 18:55:37 PST
pageTag not being displayed in footer.

The versions table doesn't include an entry for GA post-install.
Comment 1 Alec Smecher 2010-12-06 10:18:07 PST
Michael, I suspect plugin version information is missing from the DB for that plugin. The upgrade script (php tools/upgrade.php) should cause addPluginVersions to run -- could you try that?
Comment 2 Michael Felczak 2010-12-07 21:51:12 PST
The following generic plugins are affected:

- Coins
- CustomBlockManager
- GoogleAnalytics
- PhpMyVisites
- RoundedCorners
Comment 3 Michael Felczak 2010-12-07 21:56:54 PST
Installer::addPluginVersions uses the plugin registry to enumerate plugins and to add corresponding entries to the versions table.

The affected plugins check whether OJS is installed and return false when called to register. As a result, they don't get added to the versions table on install/upgrade.
Comment 4 Michael Felczak 2010-12-07 22:00:30 PST
Created attachment 3388 [details]
Patch against OJS 2.3.3
Comment 6 Michael Felczak 2010-12-08 10:56:29 PST
Created attachment 3389 [details]
MYSQL to add missing records to versions table
Comment 7 Michael Felczak 2010-12-08 11:00:02 PST
To fix this issue, apply the provided patch for OJS 2.3.3

You can then redo your install/upgrade


Use the provided MySQL statements to add the missing records to your versions table.
Comment 8 Vitor Martins 2010-12-09 09:16:30 PST
and Reviewer Index: http://pkp.sfu.ca/support/forum/viewtopic.php?f=28&t=4381&start=15#p26746
Comment 9 Michael Felczak 2010-12-09 12:22:36 PST
Hi Vitor,

Since Reviewer Index is a third-party plugin, you will need to contact the maintainer of the plugin (either via the forum or directly) about bugs that you may be experiencing with the plugin and OJS 2.3.3.

It's likely that the plugin may need to be updated for 2.3.3 compatibility.