I am running a multisite installation of Drupal 7.25. I updated Ocupload from version 7.x-1.5 to 7.x-1.6.
On some sites, when I try to run update.php, it aborts. The message reads:
"Fatal error: Call to undefined function ocupload_templates() in [path-to-drupal]/sites/all/modules/ocupload/ocupload.install on line 248". The results page says "The update process was aborted prematurely while running update #7105 in ocupload.module"
Inside the database, the table "ocupload_templates" contains a new field "link_template". Anyway, the update process not being finished properly, it remains in the update queue of that site.

Comments

kreatIL’s picture

Issue summary: View changes
xandeadx’s picture

xandeadx’s picture

Status: Active » Fixed
kreatIL’s picture

Status: Fixed » Needs work

With the 7.x-1.x-dev Version (dated 2013-01-12), the update process succeeded, but only on one website. On another website I get a new error: "Fatal error: Cannot use object of type stdClass as array in [path-to-drupal]/sites/all/modules/ocupload/ocupload.inc on line 450"

xandeadx’s picture

check last dev

kreatIL’s picture

Status: Needs work » Fixed

Latest dev works. Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.