Closed (fixed)
Project:
MongoDB
Version:
7.x-1.x-dev
Component:
Field storage
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
2 May 2011 at 08:38 UTC
Updated:
12 Jan 2017 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
strykaizerWill submit a patch
Comment #2
strykaizerThis patch will remove the field_storage_default variable again after disabling the module
This will make the default storage type active again.
Comment #3
Donaldd commented+1 for porting this to the module.
Thanks StryKaizer!
Comment #4
univate commentedComment #6
misc commentedA problem with formatting of the patch, corrected it, and applied it.
Comment #7
misc commentedPatch was applied to 7.x-1.x
Comment #8
misc commentedComment #10
ferrari commentedThis problem still persists.
Apply the patch above but still did not work. :-(
I disabled and uninstalled the module after the patch and still the error persisted.
Tried to find in another place but I could not =/
Can Anyone to help me ?
Comment #11
sebas5384 commentedThat patch doesn't resolve anything, because that variable is being set in every boot of the Drupal.
So now i cant create new fields when i disable+uninstall the mongodb_field_storage module, because the default field_storage is still mongodb.
The question is, how the mongodb_field_storage did to persist always even if i disable+uninstall the module?
This is some core bug? or the field_storage_default is being set in the wrong way.
Please some help! this really ruined my project.
Cheers,
Sebas.
Comment #12
sebas5384 commentedI resolved the problem.
When you install the mongodb_field_storage, must remove this line from the settings.php:
$conf['field_storage_default'] = 'mongodb_field_storage';
Doing that resolve all my problems :)
I think this must be a warning in some place in the README file or some warning message, i don't know which is the better approach.
Cheers,
Sebas.
Comment #13
ferrari commentedThanks Sebas.
Resolved my problem :-)
Comment #14
couloir007 commentedOld post I know, but curious, is there a way to disable MongoDB and bring data back into MySQL?