Hi Folks,

After added '#maxlength' => 10000, to the $element['wkt'] array, I got this:

----------
user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') FROM WHERE = ''' at line 1 query: SELECT DISTINCT(.) FROM WHERE = '' in /home/.valter/edalcin/megadiversidade.org/modules/geo/modules/geo_data/geo_data.module on line 202.
----------

Any thoughts?

Thanks in advance!

Comments

ultimike’s picture

Where exactly did you put the "'#maxlength' => 10000". See this patch.

-mike

allie micka’s picture

Status: Active » Postponed (maintainer needs more info)

Hi edalcin,

If this is still bugging you, please provide full details on the view you have created, including any geo-related field(s) and filters you have used.

The code has changed a lot lately, so if we don't hear back from you and can't reproduce it, we'll assume it's fixed.

Thanks!

allie micka’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)