Closed (fixed)
Project:
GMap Module
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Jul 2006 at 21:27 UTC
Updated:
21 Jul 2006 at 03:30 UTC
On trying to show the user location map i get the following error below - when i edited my location in the admin account it then crashed my entire site with blank pages everywhere. I had everything working until i upgraded to the new release of the gmap module.
* warning: ksort() expects parameter 1 to be array, null given in C:\apache2triad\htdocs\modules\gmap\gmap_location.module on line 116.
* warning: Invalid argument supplied for foreach() in C:\apache2triad\htdocs\modules\gmap\gmap_location.module on line 117.
I reinstalled the backup i had made before i installed the new gmap module and now can't re-create the error, but have managed to add my location and the map now shows user locations.
I'm running:
- drupal 4.7
- the location module is installed but user functionality within location.module is disabled as recommended
- and the gmap and gmpa location module are both installed (4.7.0, 30/06/2006 - 14:16, 113.07 KB)
Comments
Comment #1
webgeer commentedThanks for this. I know what the problem is. It would only show up if there are no users in the database that have a location set and you try to view the users map.
I will fix it soon....
Comment #2
webgeer commentedShould be fixed now. It should also be noted that you had to have buddies module installed for this error to occur.
Comment #3
webgeer commentedComment #4
(not verified) commented