Closed (fixed)
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2012 at 11:39 UTC
Updated:
18 Nov 2014 at 16:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chefnelone commentedSame problem here. I get this message when running database updates
Comment #2
garrettc commentedI'm seeing the same thing when trying to update from 7.x-1.0-alpha2 to 7.x-1.0-beta1 with both
drush updband/update.php.Comment #3
plachwft, let's try this one :(
Apply the patch and run the updates, you should be ok then.
Comment #4
Georgique commented@plach Applied patch, updated successfully. Let's wait several more reviews.
Comment #5
garrettc commentedPatch applied cleanly and the updates ran (7002 - 7004), but when trying to load the site it white-screened.
Watchdog had the following error:
Clearing the cache failed with the same error. I rolled back to a previous version of the database that hadn't been touched by the pre-patched beta1 upgrade and it all updated okay. Perhaps some cruft got left in the database by the failed update? Something to watch out for anyway.
Site is back and the new UI work looks great.
Comment #6
plachOk, I committed #3, a -dev snapshot will be out in some hours. You can safely use that one instead of beta1.
Feel free to reopen this if it does not work for you. I'll roll a new beta soon, but I'd like to wait and see whether new bad bugs come up so I'll wait for a while.
Comment #7
Vito Andolini commentedJust a note that I went from alpha2 to beta 1 (10 minutes ago) and get this error:
Exception: Cannot initialize entity translation path variables (invalid path scheme). in EntityTranslationDefaultHandler->initPathVariables() (line 1401 of /xxxxxxxxx/docroot/sites/all/modules/entity_translation/includes/translation.handler.inc).
Comment #8
Vito Andolini commentedI also tried the current 7.x-1.x-dev and got the same error.
Comment #9
plachDoes clearing caches fix it?
Comment #10
pyry commentedDrush cc all and drupal_static_reset() neither helped. Didnt try the patch.
Comment #11
plachGuys if you are talking about the error in #7, please open a new issue. This is a mess right now.
Comment #12
albert.aribaud commentedPatch from #3 also fixed issue for me. Thanks plach!
Comment #13
pyry commented- Disabled and deleted alpha2
- Downloaded and enabled latest dev
Seems to work with small testing and the errors are gone.
Comment #14
Vito Andolini commented-Installed latest dev
-Cleared Cache
Seems to be working again. Thanks for the help.
Comment #15
astutonetI'm using the dev version and I am too having this issue.
The patch in #3 solves the question.
Tks.
Comment #16
ianthomas_uk#7 raised as http://drupal.org/node/1833496
Comment #17
jdflorez commentedI can confirm #3 worked for me (using alpha).
Thanks
Comment #18
FreeFox commentedDeleted alpha1 directory from /all/modules
drush dl entity_translation
drush updb
All ok so I think its a leftover of alpha1 that breaks beta1
Cheers
Comment #19
jalves commentedInstalling the last dev version solved my problem.
Comment #20
plachCommitted this follow-up: the quick fix above turned on workflow permissions by default, which is not what we want.
Comment #21
mac_weber commentedAny chances this fix gets soon applied to a stable version?
Right now the latest stable version is unusable without this patch.
Comment #22
plachThis is completely false, every new site can happily use beta1 :)
Moreover a new stable version would be more or less the current dev.
Comment #23
mac_weber commented@plach I tried to install ET in a clean Drupal and I got this error. I had opened issue #1842178: Errors after enabling module for the very first time before finding this one.
When I said it was unusable is because beta1 is not being installed in a clean install.
Comment #24
plachYou are right, sorry, I didn't realize this happens also on clean installations. I guess we need a new beta asap, then.
Comment #25
leonevers commentedI get the same problem than posted initially by chefnelone. After a little debugging it seems to happens in the install file, in line 133 - 136. The permissions "edit [entity_type] original values" and "edit [entity_type] translation shared fields" is not known by the system yet (in the case of a new install), because it will be established in the hook_permission later on when the module file is called.
If someone can confirm this this observation, I would try to bring up a little patch for that.
Comment #26
leonevers commentedThis patch avoided the PDOException while enable/install the module at my host. Please try if it works for You.
Comment #27
plachThis issue is already fixed in the latest dev...
Comment #28
leonevers commentedYou are right, thanks.
Comment #29
plachBeta2 is out :)
Comment #30
mac_weber commentedplach thanks for that.
You have been doing a great job!