Closed (fixed)
Project:
Corresponding Entity References
Version:
7.x-3.0-alpha2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2014 at 11:38 UTC
Updated:
7 Apr 2014 at 20:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aze2010 commentedComment #2
phenaproximaWhat is the error message that you get when going to the settings page?
And as for the MAINTENANCE_MODE thing...as of the latest dev, that will only be displayed once during update.
Comment #3
aze2010 commentedhi and thank you for your rapidly reaction.
there is only a white page with "Unexpected error has occurred..."
the MAINTENANCE_MODE thing comes EVERYtime, when i'm using "Update"-function in drupal.
i hope, you can help me out of this. A downgrade stil doesent fix this thing.
Comment #4
phenaproximaPlease check your watchdog logs. "Unexpected error" means that something threw an exception during update -- please post that.
Comment #5
aze2010 commented"Unexpected error" comes only, when i try to access the "settings-page" of the module "cer".
Comment #6
phenaproximaI understand that, but if you look in Watchdog, you should see the exception logged properly. I need that in order to diagnose this. You can get to your Watchdog log under Admin > Reports > Recent Log Messages.
Comment #7
aze2010 commentedokay..here it comes:
"Exception: Cannot get instance of invalid plugin node:contenttype:field_ref_links. in CerField::getPlugin() (Zeile 271 von /var/www/sites/all/modules/cer/includes/CerField.inc)."
Comment #8
phenaproximaAhhh...I think I know what's happening here -- I think CER is failing to check for deleted field instances. A total oversight on my part.
Please try the attached patch, and let me know if it fixes your problem. If it does, I will commit it right away.
Comment #9
aze2010 commentedi patched the file, i cleaned the cache, but the error stil exists like above :(
Comment #10
phenaproximaHmmm...that's strange. Can you send me dumps of your field_config, field_config_instance, and cer database tables?
Comment #11
aze2010 commentedi will go to lunch now, but i will do it later. How can i send you those dumps?
Thanks in advanced!
P.s: Which Version should i use for those test right now?
Comment #12
phenaproximaIf you have phpMyAdmin, you can easily generate the dumps (use the "export" tab) -- just export those tables as CSV files or something similar and I'll see if I can't figure out what's going on.
P.S. Your best bet is to use the latest dev.
Comment #13
aze2010 commentedokay thank you..i know how to export, but how can i send this dumps to you? email oder pn?
How can i clean up "cer" modul and re-install? But i dont want to loose my references.
Many greetings and i will come back later.
Thank you!
Comment #14
phenaproximaNo problem, I'm happy to help!
You can e-mail me the table dumps: djphenaproxima AT gmail DOT com
It sounds like there's no real "mess" here -- from what you've told me, it doesn't sound like your database is corrupted -- but if you want to, it's OK to uninstall CER and re-install it. Your existing references will stay in place. (Just be sure to dump the contents of the cer table so you can re-insert all your presets.)
Comment #16
aze2010 commentedhere i am again :-)
okay, now i get it!!! =)
old and non existend field-entries in the table "cer" causes the error!
i manualy deleted those field from the table over "phpmyadmin". no it all works!
Thank you very much for your support and keep it going for this great module!
Many, many greetings from germany.
Axel
Comment #17
phenaproximaThanks, Axel. I have built in a few safeguards against CER trying to use old/deleted fields, so hopefully the previous commit will address these issues for everyone.
Comment #18
aze2010 commentedi just want to thank you for your valuable, great work & support!!!
Thank you very much! :-)