Hi
Upgraded Drupal from 4.7.7 to 5.2. Installed the latest 5.x.1 version (14 aug. 2007). update.php gave me som warnings during run: WARNING! Obsolete gmap_location update #@num was triggered! Please verify the schema of your location table manually!
The macro-builder is working just fine, and a node with a map was looking just fine, BUT reloading the node and the map just dissaperd. Checked it with Safari and Firefox but they are gone!
If I run a web-debugger like Firebug in Firefox it rapport one error viewing a node with a map:
Drupal is not defined:
I have no other errors in my apache and drupal logs. I have tested the same Gmap version on a Drupal 5.2 that not had gmap prev. installed and it is running just fine, so some problems with a upgraded gmap module?
I could just reinstall gmap i someone could tell me how.
--
SMB
Comments
Comment #1
steinmb commentedI have tried to delete all gmap entry in SYSTEM table
Deletet all gmap settings in table VARIABLE (left the google API-key)
Installed gmap module again, but I still have the same error.
Comment #2
ray007 commented"Drupal is not defined" sounds like a problem loading jquery.js
Comment #3
steinmb commentedOkey... it could be it, but I'm not a JS wiz. so it kind of hard for me to track down the problem, any sugg where to look? The strange thing that sometime I can see the map but reloading the page make it disappear again???
I have duplicated my problem to my testsite, http://test.tbsk.no
I also went back to default Garland theme.
--
SMB
Comment #4
steinmb commentedSolved it!!
Looking on the browsercode loading a node with a map I found that noen of the js scripts was loaded or defined in section, so it was not a problem with jQuery.
Going into admin/settings/filters. Klicking on Configure - Gmap, changed some of the settings, saved and set them back again solved it! I have verified it with on two different Drupal servers and it solves the problem on both of them. I think it is something in the installation system that are not setting up the filter settings properly on a upgrade or a installation if it finds gmap input filter already defined.
--
steinmb