HI all,
First of all thanks for you tremendous work and effort.
I guess my issue is know by you all.
I tried to find out how to install properly Openlayers.
I tried to reproduce Nigel Openlayers video tutorial on http://drupalovereasy.com.
I was able to add a geofield in one of my content types. A geopoint was found.
But when opening Openlayers settings I have array warnings. I checked similar issues in the issue queue but did not found any solutions yet.
Till now I do not have any default maps. see attachment.
Here are my config settings:
Drupal 7.23
Address Field 7.x-1.0-beta4
Geofield 7.x-1.2
GeoCode 7.x-1.2
Geofield Map 7.x-1.2
geoPHP 7.x-1.7
Openlayers 7.x-2.0-beta7+18-dev
Libraries 7.x-2.1
Proj4JS 7.x-1.2
If you need any extra feedback just let me know.
Thanks in advance,
Cheers,
Pascalli
Comment | File | Size | Author |
---|---|---|---|
#2 | Google ChromeScreenSnapz004.png | 157.01 KB | pascalli |
Google ChromeScreenSnapz003.png | 13.73 KB | pascalli | |
#9 | OpenLayersInstallIssues-2082471-8.patch | 929 bytes | sysosmaster |
Google ChromeScreenSnapz002.png | 158.04 KB | pascalli |
Comments
Comment #1
PolHello Pascal :)
Which version of PHP ?
Also, you should use Geofield 2.x...
Comment #2
pascalli CreditAttribution: pascalli commentedHey Pol,
Thanks for your quick reply.
PHP 5.3.2
See attachment here next for full specs.
Cheers,
Pascal
NB: I'm running Drupal with MAMP PRO 1.9.4
PHP log err : [05-Sep-2013 16:05:14] PHP Fatal error: Call to a member function getProjections() on a non-object in /Users/pascallisot/Sites/student.be/sites/all/modules/contrib/openlayers/modules/openlayers_ui/openlayers_ui.module on line 206
Comment #3
PolI'm not able to reproduce the problem at home...
Did you upgraded an old version of OL or you installed it brand new ?
Thx
Comment #4
pascalli CreditAttribution: pascalli commentedHi Pol,
It seems to be related to my MacBook settings somewhere at MAMP Pro level.
Need to do some root cause or reinstall.
On the other hand, I installed successfully OL on another server without any issue.
Thanks again for your follow up.
See you around in Leuven and Prague.
Cheers.
Comment #5
pascalli CreditAttribution: pascalli commentedHi Pol,
I found the root cause.
As strange as it might be I changed my php cache setting from eAccelator to XCache and everything seems to work.
Thx again for your time.
Pascal
Comment #6
PolComment #8
sysosmaster CreditAttribution: sysosmaster at 040lab commentedI discovered that the issue #2 is most likely totally unrelated to the Cache.
After some root cause analysis of this issue I discovered that in some cases a Layer can be empty. and on an empty layer you can not perform actions.
I have written a patch that addresses this issue and logs when it happens to the watchdog.
Comment #9
sysosmaster CreditAttribution: sysosmaster at 040lab commentedComment #10
sysosmaster CreditAttribution: sysosmaster at 040lab commentedComment #11
PolThanks!