Project:gProximity
Version:5.x-1.x-dev
Component:Documentation
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I followed every step documented in this thread: http://drupal.org/node/244312 and updated to newest dev-version of keys and gproximity, but i can't still choose any field on admin/build/gproximity/add. I use the location module and when outputing as a table-views, the nodes are shown up...
Thanks, Daniel Greitens

Comments

#1

There is an issue with using the Devel module and displaying the information from that like memory usage. If you have any of these turned on, try turning them off and see if it works.

#2

Assigned to:Anonymous» kyeranr

Hi, I'm having the same issue here.

I tested it out with a fresh install of drupal and have followed the instructions on the thread mentioned above but still have no luck.
I've gone through a whole load of tests, trying it out with the location module, GCG, plain cck text fields etc. but still cant get anything to appear in the Latitude and Longitude drop down list, but again outputing as table-views shows everything.
I don't have any modules installed except the default and the ones required to get this working.
Am i missing something?

Thanks

#3

Try loading the page in Firefox and use the Firebug extension and see on the console tab in Firebug if an error is given.

#4

Assigned to:kyeranr» Anonymous

Hi greenSkin thanks for the reply

Firebug shows the following messages in the console

POST http://www.coalcollections.org/admin/build/gproximity/get_view 404 1.88 sjquery.js (line 2)
GET http://www.coalcollections.org/admin/build/gproximity/get_fields?name=ma... 404 1.87 sjquery.js (line 2)
POST http://www.coalcollections.org/admin/build/gproximity/manage_groups 1.79 sjquery.js (line 2)

it seems to stop at a 404 error on either the 1st or 2nd line and i'm not sure why?
Your help is really appreciated.

#5

Are you using jQuery Update? If not try installing the 1.0 version making sure to copy the given jquery.js file to the /misc folder and see if that fixes it.

#6

I was using the new jquery_update-5.x-2.0-rc1 but have gone back to installing version 1 like you sauggested.
now i get a different error message appearing

t is undefined
[Break on this error] eval(function(p,a,c,k,e,d){e=function(c)...idth|absolute|PI|left'.split('|'),0,{}))
jquery.js (line 2)

Thanks

#7

Hi again,

Sorry ignore the error message above, i believe it was related to something completely different. I've done a number of test now with a basic install and have written down all the steps I've taken to help troubleshoot this.

Firstly I'm running running
PHP Version 5.2.4
Mysql version: 5.0.51a
Viewing it all through Firefox 3.0 with Firebug running

1) Downloaded and installed drupal-5.9 on my local system (http://drupal5.local)
2) Downloaded Views 5.x-1.6 and enabled Views & Views UI
3) Downloaded and enabled Keys 5.x-1.1
4) Downloaded and enabled Token 5.x-1.11
5) Downloaded location 5.x-3.x-dev and enabled location & location views
6) Downloaded and enabled gProximity 5.x-1.x-dev
7) Navigated to 'admin/settings/keys' and inserted my key generated for drupal5.local, set Domain to drupal5.local and Service to 'gProximity (Google Map Locations)'
8) Navigated to 'admin/content/types/add' and created a new content type adding the following details (everything else left as default)
Name: test
Type: test
Locative information > Number of locations > Maximum number of locations allowed for this type.: 1
Locative information > Number of locations > Default number of location forms: 1
9) Navigated to 'admin/settings/location/geocoding', selected 'Google Maps (Terms of Use)' hit Save then 'Configure parameters' and entered the same API key as above.
10) Navigated to 'admin/build/views/add' and entered the following details (everything else left as default)
Name: test_view
Page > URL: test_view
Page > View Type: 'gProximity: Google Map Locations'
Page > Use Pager: un-selected
Page > Nodes per Page: 0
Fields > Add Field: Location: Latitude (with the label 'Latitude')
Fields > Add Field: Location: Longitude (with the label 'Longitude')
Filters > Add Filter: Node: Type (Is One Of) (test)
11) Navigated to 'admin/build/gproximity/add'
The following errors appear in firebug
POST http://drupal5.local/admin/build/gproximity/get_view404 414msjquery.js (line 2)
GET http://drupal5.local/admin/build/gproximity/get_fields?name=test_view 410msjquery.js (line 2)
POST http://drupal5.local/admin/build/gproximity/manage_groups 366msjquery.js (line 2)
and Latitude and Longitude > Latitude & Latitude and Longitude > Longitude both say 'No fields available. Go to views and add fields to the gProxinity type you wish to use for this page.'

12) Downloaded and enabled jQuery Update 5.x-1.0, copied sites/all/modules/jquery_update/jquery.js to misc/jquery.js overwriting the old one
13) Navigated to 'admin/build/gproximity/add' same error as above.

14) reverted back to before installing jQuery update and then downloaded and installed and enabled jQuery Update 5.x-2.0 this time copying all the .js files from sites/all/modules/jquery_update/misc/ to the base misc folder
13) Navigated to 'admin/build/gproximity/add' again same error as above.

No doubt i'm doing something stupid hopefully you can point it out to me.

Cheers

#8

I'm getting the same issue as above, 'No fields available. Go to views and add fields to the gProxinity type you wish to use for this page.'

I have added the fields in the view type, but it's still the same error.

thanks

#9

Status:active» fixed

This should be fixed now.

#10

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here