Technology Tools for Ministry

Community

Web-Empowered Church User Community
All Categories > Ministry Tools > Map Extension > Problems after update to V.2.0
Total Posts: 10 - Pages (1): [1]
Author: Frank Struck
Posted: Apr 09 2008 - 10:02 AM
Subject: Problems after update to V.2.0
Hello,

at present I'm using the map extension V. 1.36 on my website as plugins 'simple user map' and 'fe user map' and everything is working fine.

After updating to V.2.0 in a test environment I got the following problems, after having added the static template 'wec map api" (in main template and extension template as well) though.

'Simple User Map':

No map appears (no error message). (Tried it with address in flexform and in TS)

TS:

plugin.tx_wecmap_pi1 {
height = 580
width = 450
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1

zoomLevel = 13

marker {
title = TEXT
title.field = title
title.wrap = <h1>|</h1>

description = TEXT
description.field = description
description.wrap = <p>|</p>

address = COA
address {
10 = TEXT
10.field = street
10.wrap = | <br/>

20 = TEXT
20.field = zip
20.wrap = | &nbsp;

30 = TEXT
30.field = city
30.wrap = |<br/>

}
address.wrap = <p>|</p>
}

sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE


markers.1 {
title = "Tum Bur"
description = Ztr-Stammtisch-Lokal
street = Tippelstrasse 10
city = Hattingen
zip = 44795
}
markers.2 {
title =
description =
}

}

-------------------------------------------------------------------------------------------


'FE User Map':

Map appears, but without any marker and with the following error messages:


Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php on line 223

Warning: Invalid argument supplied for foreach() in /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_markergroup.php on line 81

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2907

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/ftest/typo3conf/ext/wec_map/class.tx_wecmap_map.php:223) in /www/htdocs/ftest/typo3/sysext/cms/tslib/class.tslib_fe.php on line 2920


TS:

plugin.tx_wecmap_pi2 {
height = 580
width = 700
controls.mapControlSize = 1
controls.showOverviewMap = 1
controls.showMapType = 1
controls.showScale = 1
#userGroups = everyone
pid = 55

zoomLevel = 5
centerLat = 51.482112
centerLong = 7.221214

# groups.everyone {
# zoom.min = 5
# zoom.max = 13
# }

marker {
title = TEXT
title.field = username
title.wrap = <font size=2><b>|</b></font><br><br>

description = COA
description {
10 = COA
10 {
10 = TEXT
10.field = name
10.wrap = <font style="font-size:13px;">| </font><br/>

20 = TEXT
20.field = zip
20.wrap = <font style="font-size:13px;">| &nbsp;</font>

30 = TEXT
30.field = city
30.wrap = <font style="font-size:13px;">| </font><br/>

40 = TEXT
40.field = country
40.wrap = <font style="font-size:13px;">| </font><br/><br/>

}

}
}


defaulttitle < tx_wecmap_api.defaulttitle
defaultdescription < tx_wecmap_api.defaultdescription
homeicon < tx_wecmap_api.homeicon
sidebar < tx_wecmap_api.sidebar
directions < tx_wecmap_api.directions
sidebarItem < tx_wecmap_api.sidebarItem
addressForm < tx_wecmap_api.addressForm
output < tx_wecmap_api.output
_CSS_DEFAULT_STYLE < tx_wecmap_api._CSS_DEFAULT_STYLE

}


-------------------------------------------------------------------------------------------

I tried it also by adding the only fe user group that exists (everyone), but the result is the same.

Can anybody tell me what's going wrong? Any help is appreciated. Thanks in advance.

Frank


user picture Author: Christoph Koehler
Posted: Apr 09 2008 - 11:02 AM
Subject: re: Problems after update to V.2.0
Frank,

Is the new WEC Map API static template included before (above) the other static templates?

Christoph
Author: Frank Struck
Posted: Apr 09 2008 - 11:49 AM
Subject: re: Problems after update to V.2.0
Christoph,

yes, the api template is included above all other map related templates.

Frank
Author: Peter Schott
Posted: Apr 09 2008 - 12:05 PM
Subject: re: Problems after update to V.2.0
When I'd tried earlier, mine was after the other Map-related templates and I had similar results. TYPO3 4.1.6, PHP 4.x, MySQL 4.x. (Don't remember the exact numbers.)
user picture Author: Christoph Koehler
Posted: Apr 09 2008 - 12:52 PM
Subject: re: Problems after update to V.2.0
Frank,

If you could get me a BE login so I can take a look around, that may help. My email is in my profile.
Alternatively, maybe check out the TS Object Browser in the template module and check the TS for all the plugins. It still sounds like a template problem since it affects all the plugins.

Christoph
Author: Frank Struck
Posted: Apr 09 2008 - 04:50 PM
Subject: re: Problems after update to V.2.0
Christoph,

I'm not really experienced in these things. . I would be nice if you could take a look to my templates. I sent you the access data by email. Thanks in advance.

Frank

user picture Author: Christoph Koehler
Posted: Apr 09 2008 - 07:34 PM
Subject: re: Problems after update to V.2.0
Frank,

See the email I sent you.
The problem was with PHP4 and passing variables by reference. It's already fixed in SVN and can be downloaded from there [1]. I am planning on doing some more PHP4 testing tomorrow and releasing 2.0.1 sometime tomorrow night.

Thanks for the feedback guys! Please let me know if the newest one works.

Christoph

[1] http://svn.webempoweredchurch.org/wec_map/downloads
Author: Frank Struck
Posted: Apr 10 2008 - 08:26 AM
Subject: re: Problems after update to V.2.0
Christoph,

thanks for your help. I've sent you an email with more test results.

Frank
Author: Peter Schott
Posted: Apr 10 2008 - 09:58 AM
Subject: re: Problems after update to V.2.0
Cristoph, the latest nightly seemed to work for me. Not sure what was going on before.

-Peter
user picture Author: Christoph Koehler
Posted: Apr 10 2008 - 10:03 AM
Subject: re: Problems after update to V.2.0
Peter,

Thanks for the confirmation. Frank found a few more little bugs that I will also fix and include in 2.0.1 sometime tonight.

Christoph
Total Posts: 10 - Pages (1): [1]
You must login to post a message to this conference.