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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Pol’s picture

Hello Pascal :)

Which version of PHP ?
Also, you should use Geofield 2.x...

pascalli’s picture

Hey 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

Pol’s picture

I'm not able to reproduce the problem at home...

Did you upgraded an old version of OL or you installed it brand new ?

Thx

pascalli’s picture

Hi 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.

pascalli’s picture

Hi 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

Pol’s picture

Status: Active » Fixed

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

sysosmaster’s picture

Assigned: Unassigned » sysosmaster
Issue summary: View changes

I 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.

sysosmaster’s picture

Component: Miscellaneous » Code
FileSize
929 bytes
sysosmaster’s picture

Assigned: sysosmaster » Unassigned
Pol’s picture

Thanks!