View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10580Bug reportsPluginspublic2016-02-25 17:18
Reporterjlpoole Assigned Toollehar  
PriorityhighSeveritycrash 
Status closedResolutionfixed 
Product Version2.50.x 
Fixed in Version2.50.x 
Summary10580: Using OSM fails:
Description

When testing a simple 1 question survey(attached) using the location service with Open Street Map ("OSM"), Firebug in Firefox tells me there is an error:

ReferenceError: L is not defined

var mapquestOSM = L.tileLayer("http://{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}....

Steps To Reproduce

Create survey
create question group
create question, short text.
Select Location Service, select OSM
Run

Additional Information

L is typically the root object for Leaflet, so it looks like the leaflet.js file is not being correctly loaded.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)commit 2295f722911c86cb4d5a1
I will donate to the project if issue is resolvedNo
BrowserFirefox 44.0.2
Database type & versionPostgreSQL 9.4.5-r2
Server OS (if known)Gentoo Linux 4.1.12-gentoo
Webserver software & version (if known)Apache 2.2.31
PHP Version5.6.17(

Users monitoring this issue

There are no users monitoring this issue.

Activities

jlpoole

jlpoole

2016-02-25 05:45

reporter   ~35677

I should add that no map displays.

ollehar

ollehar

2016-02-25 12:13

administrator   ~35702

The attached survey is incorrect: "XMLWriter class not compiled into PHP, please contact your system administrator"

jlpoole

jlpoole

2016-02-25 14:31

reporter   ~35705

Thank you, that is correct: XMLWriter is not compiled into PHP.

[I] dev-lang/php
Available versions:
(5.4) [M]5.4.45
(5.5) 5.5.30 5.5.31
(5.6) 5.6.14 5.6.17 ~5.6.17-r2
(7.0) ~7.0.2-r2
{apache2 bcmath berkdb bzip2 calendar cdb cgi cjk +cli crypt +ctype curl curlwrappers debug embed enchant exif +fileinfo +filter firebird flatfile fpm frontbase f tp gd gdbm gmp +hash +iconv imap inifile intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libmysqlclient mhash mssql mysql mysqli mysqlnd nls oci8-instant-client od bc +opcache pcntl pdo +phar phpdbg +posix postgres qdbm readline recode selinux +session sharedmem +simplexml snmp soap sockets spell sqlite ssl sybase-ct systemd sysvip c threads tidy +tokenizer truetype unicode vpx wddx +xml xmlreader xmlrpc xmlwriter xpm xslt zip zlib}
Installed versions: 5.6.17(5.6)(01:46:32 PM 01/27/2016)(apache2 berkdb bzip2 cli crypt ctype fileinfo filter gd gdbm hash iconv ipv6 json nls opcache pdo phar posi x postgres readline session simplexml sqlite ssl tokenizer truetype unicode xml xmlreader zip zlib -bcmath -calendar -cdb -cgi -cjk -curl -debug -embed -enchant -exif -f irebird -flatfile -fpm -frontbase -ftp -gmp -imap -inifile -intl -iodbc -kerberos -ldap -ldap-sasl -libedit -libmysqlclient -mhash -mssql -mysql -mysqli -oci8-instant-cl ient -odbc -pcntl -qdbm -recode -selinux -sharedmem -snmp -soap -sockets -spell -sybase-ct -systemd -sysvipc -threads -tidy -vpx -wddx -xmlrpc -xmlwriter -xpm -xslt)
Homepage: http://php.net/
Description: The PHP language runtime engine: CLI, CGI, FPM/FastCGI, Apache2 and embed SAPIs

The "XMLWriter class..." error message was the sole contents of the exported survey. I thought the file size seemed small but do not recall seeing any error message when I exported it; I did not open the file to inspect it. I'll recompile PHP, test, export the survey, and then update this bug.

ollehar

ollehar

2016-02-25 14:40

administrator   ~35706

You might want that. In any case, I can confirm your bug.

ollehar

ollehar

2016-02-25 15:20

administrator   ~35710

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17642

jlpoole

jlpoole

2016-02-25 15:46

reporter   ~35714

Confirmed, the map appears now. Thank you.

c_schmitz

c_schmitz

2016-02-25 17:18

administrator   ~35722

2.50+ Build 160225 released

Related Changesets

LimeSurvey: master c3d8c09e

2016-02-25 13:48:29

ollehar

Details Diff
Fixed issue 10580: Using OSM fails Affected Issues
10580
mod - application/config/third_party.php Diff File

LimeSurvey: master 6bf915c8

2016-02-25 14:19:11

ollehar

Details Diff
Fixed issue 10580: Using OSM fails Affected Issues
10580
mod - application/helpers/qanda_helper.php Diff File

Issue History

Date Modified Username Field Change
2016-02-25 05:43 jlpoole New Issue
2016-02-25 05:43 jlpoole File Added: limesurvey_survey_984767.lss
2016-02-25 05:45 jlpoole Note Added: 35677
2016-02-25 11:51 c_schmitz Priority normal => high
2016-02-25 12:10 ollehar Assigned To => ollehar
2016-02-25 12:10 ollehar Status new => assigned
2016-02-25 12:13 ollehar Note Added: 35702
2016-02-25 14:31 jlpoole Note Added: 35705
2016-02-25 14:40 ollehar Note Added: 35706
2016-02-25 14:40 ollehar Status assigned => confirmed
2016-02-25 15:20 ollehar Changeset attached => LimeSurvey master c3d8c09e
2016-02-25 15:20 ollehar Changeset attached => LimeSurvey master 6bf915c8
2016-02-25 15:20 ollehar Note Added: 35710
2016-02-25 15:20 ollehar Resolution open => fixed
2016-02-25 15:24 ollehar Status confirmed => resolved
2016-02-25 15:24 ollehar Fixed in Version => 2.5
2016-02-25 15:46 jlpoole Note Added: 35714
2016-02-25 17:18 c_schmitz Note Added: 35722
2016-02-25 17:18 c_schmitz Status resolved => closed