Hi Michael,
What DBMS and version are you running? This may be an ADODB bug -- if the schema is being correctly updated according to the schema descriptor, you shouldn't receive the message about last_run being null. (The subsequent error occurs because the updater is trying to insert a row that has already been inserted -- you can ignore this.)
I'd suggest the following. Update OJS's versions list manually with the following:
- Code: Select all
UPDATE versions SET current = 0;
INSERT INTO versions (major, minor, revision, build, date_installed, current) VALUES (2, 1, 1, 0, now(), 1);
Now try running tools/upgrade.php with the "upgrade" command to re-sync the database schema with the XML descriptor.
Let me know if this works and if you're still receiving error messages.
Regards,
Alec Smecher
Open Journal Systems Team