When I see different 7.x-3.x-dev versions come out, I update the location module on my website to the newest one. Recently after updating I am getting an error when I try to edit a node that already had location information in it.
The error occurs when trying to edit any part of a node, doesn't have to be a location field. When save is clicked it takes me to a screen that says:
Fatal error: Call to undefined function dpm() in /home/content/02/5984602/html/mydrupalsite/sites/all/modules/location/contrib/location_cck/location_cck.module on line 173
I tried update.php, is there anything else I might have to do. I also understand I am working with a development version, should I just rollback the version to the one I used when I originally created it?
Comments
Comment #1
acarpio commentedI'm having same problem with last March 28 release. I don't get the error message but a white screen.
Comment #2
worldlinemine commentedWe are also experiencing a similar issue:
Step 1: Edit piece of content with a location field which results in a lightbox edit window.
Step 2: Save content
Effect 1: Redirects from lightbox window to the edit url of the piece of content with the change missing.
Step 3: Edit same piece of content
Step 4: Save content
Effect 2: Redirects to white screen no errors in logs
Content is able to be saved once the Location CCK module is disabled.
I'd be happy to test any possible patches, and we will be looking at the module to see if we can decipher what might have changed. We are also using the March 28th, 2011 -- 7.x-3.x-dev .
One possible issue/solution could be this: http://api.drupal.org/api/devel/devel.module/function/dpm
Conditional checking for the devel module needs to be added so that when debugging it doesn't bomb out.
Thanks for working on a great module!
Comment #3
alexmalka commentedSubscribing same problem
Comment #4
vasikesubscribe. very strange
Comment #5
mirabuck commentedSame issue as well. Subscribe.
Comment #6
NathanM commentedSame as number 2, except I get the following error where they encounter a white screeen:
Fatal error: Call to undefined function dpm() in /home/asiascen/public_html/hkscene/sites/all/modules/location/contrib/location_cck/location_cck.module on line 173
Comment #7
pjcdawkins commentedSame issue here
(@ #1, #6: a 'white screen' usually means a fatal error occurred, but errors are suppressed - see http://drupal.org/node/158043)
Workaround: it seems to save properly when you install and enable the Devel module. I'm getting some weird short messages though ("en-GB", "en", "und" - probably another bug).
Comment #8
Ciraxis commented+1
E: Maybe a Workaround. Just //dpm($langcode);
But i think its not the right way ;-)
Comment #9
rooby commentedSuper sorry about that, I accidentally left that in.
Fixed.
http://drupalcode.org/project/location.git/commit/9e6c8fa
Comment #10
HunterT commentedthanks for fixing. I just rolled back to the version that worked for a temporary fix.
Comment #11
rooby commentedYou will want to get it from git until the next dev version is generated.
Comment #12
Foonaka commented#9 worked for me, as well.