Hi, I recently did an upgrade from d6 to d7 and in d6 was using the modr8 module 1.3,
When upgrading/migrating from drupal 6 to drupal 7 after installing the drupal 7 dev build of modr8 site goes on error untill I unistal the module, any idea what could be causing this? here's what I get on the update page.
modr8 module
Update #7001
Failed: DatabaseSchemaObjectDoesNotExistException: Cannot rename modr8_moderate to modr8: table modr8_moderate doesn't exist. in DatabaseSchema_mysql->renameTable() (line 304 of C:\dev\spacebdev\includes\database\mysql\schema.inc).
i'm attaching the screen shots below
Comment | File | Size | Author |
---|---|---|---|
#8 | modr8-d6to7-updatedb-1.patch | 1.72 KB | nshelms |
#7 | modr8-upgrade-error-1.patch | 571 bytes | hargobind |
error-on-every-page-of-dev-site.jpg | 17.72 KB | vusani | |
update-error.jpg | 50.44 KB | vusani |
Comments
Comment #1
mathankumarc CreditAttribution: mathankumarc commentedYet to look into the upgrade.
Comment #2
drzraf CreditAttribution: drzraf commentedthis lock the website with 100% success. But hopefully we can still disable the module later (drupal bootstrap isn't locked).
I had no
modr8_moderate
table in my D6 DB, so :1) This table should not be renamed if it does not exists
2) This table should be created (
modr8_schema
?) if it can't be upgrade.In D6 I only had
modr8_log
and AFAIR it worked.Comment #3
mathankumarc CreditAttribution: mathankumarc commentedPreviously we had a plan to have separate table to store modr8 information. However now we decided to add the modr8 field like in D6.
This needs few hours of my work and extensive testing that I can't put it now. Hopefully before new year I will try to give a alpha release.
Comment #4
Z2222 CreditAttribution: Z2222 commentedI'm getting this same error:
Here is a sample from the logs, which happens even after I disable the half-upgraded module:
I'm about 12 hours into a difficult upgrade from D6 to D7 and I can't seem to remove the module completely either. Is there a step-by-step way that we could fix it or remove the entire module manually? Something like:
1. create (or delete) a new table called ___ in your database
2. [do something else?]
I don't need the Modr8 module on the site at the moment, but I'm trying to either find a way to remove it or fix it so I can finish the upgrade...
Comment #5
drzraf CreditAttribution: drzraf commenteddisable and uninstall it from your D6 DB before the upgrade.
Comment #6
Countzero CreditAttribution: Countzero commentedOK but what if I can't do that, because I upgraded many modules and don't want to do it again ? Any alternative solution ?
Comment #7
hargobindAttached is a patch against the latest 7.x-dev branch that fixes the source of the error. This came from the fact that the update script was trying to rename "modr8_moderate" instead of "modr8_log" which was the actual table name used in D6.Nevermind about this patch. While it fixes the table name, it doesn't correctly migrate the moderated nodes into the {node} table. I haven't had a chance to evaluate whether or not this module even works... maybe one day after I'm done with this upgrade.
Comment #8
nshelms CreditAttribution: nshelms as a volunteer commentedI ran into the same error described by the OP (vusani) when upgrading my Drupal 6 site to Drupal 7. The modr8 version was 6.x-1.3 before upgrade. At the time of this comment the Drupal 7 modr8 version is 7.x-1.x-dev.
I ended up creating a patch for myself to fix this issue with help from hargobind's patch (#7). Hopefully it can help the next person that comes across this issue.