Member
Member
vincent3569   03-03-2015, 15:10
#1

hi

I tried zp_openstreetmap on zpardoise, but it doesn't work for me.
html flow is broken after ``, but I can't see any error in debug log

Administrator
Administrator
acrylian   03-03-2015, 15:39
#2

Do you have an example link and did you look into the server log?

Member
Member
vincent3569   05-03-2015, 09:09
#3

hi

the map is supposed to be displayed after album

http://test.vincentbourganel.fr/20140629-vacances-ete-corse/

Administrator
Administrator
fretzl   05-03-2015, 10:59
#4

Just tried with Zenphoto 1.4.7 and zpArdoise 1.4.6 (the version for Zenphoto 1.4.6) and the map is displayed just fine.

I could not download your latest version (for Zenphoto 1.4.7) because none of your downloads seem to work :-(
(Zenphoto Error: the requested object was not found.)

UPDATE:
Sorry, forget about the downloads. I was trying to download from your [i]test[/i] install.

The map works for me with Zenphoto 1.4.7 and zpArdoise 1.4.6 (latest version)

Administrator
Administrator
acrylian   05-03-2015, 11:58
#5

Since part of the page is missing there must be a kind of fatal error somewhere.

Member
Member
vincent3569   05-03-2015, 12:13
#6

so...
I disabled googlemap plugin
I enabled zp_OpenStreetMap plugin
in album.php, I replace my code about google map by this one :

`

and it doesn't work

Administrator
Administrator
acrylian   05-03-2015, 12:34
#7

Please try to remove the favorites and the comment form parts to find out if there is a conflict. But in any case there must be any error (browser log, server, ZP logs) or we keep guessing…

Btw, I assume you just include theme custom comment form? You don't need to do it that way. Just create /comment_form/comment_form.php (aka same names as on the plugin) within your theme's folder and it loads automatically the theme based one with the standard function. Same works with the contact_form plugin.

Member
Member
vincent3569   05-03-2015, 13:20
#8

I removed some code around printOpenStreetMap.
It still doesn't work and I still have any browser and, ZP logs.
Can you explain to me how to enable server log and how to see them ?

I use standard comment and contact forms in zpArdoise ;-)

Member
Member
vincent3569   05-03-2015, 13:29
#9

I changed TEST_RELEASE to true and I have this error in my browser :

Fatal error: Call to a member function getImages() on a non-object in /home2/avbo7291/public_html/zenphoto_test/plugins/zp_openstreetmap.php on line 426

Administrator
Administrator
acrylian   05-03-2015, 13:58
#10

[i]Can you explain to me how to enable server log and how to see them ?[/i]
No, that is different on every host. Please ask them where to find that.

Thanks, the error gives a clue at least. WIll take a look.

Member
Member
vincent3569   05-03-2015, 16:18
#11

I have a look to your code, and I am unable to understand where is the issue
line 426 it should be an album object and I don't see a reason why it isn't...

Administrator
Administrator
acrylian   05-03-2015, 16:42
#12

I could reproduce the issue and I should have fixed it. Try the master of the plugin please.

Member
Member
vincent3569   05-03-2015, 17:02
#13

hi
the fix allows to display a map (both in album and image page).
but I can't see any markers.

Administrator
Administrator
acrylian   05-03-2015, 17:44
#14

Did you set the right options? In my test I got markers both on the album and the image.

Member
Member
vincent3569   06-03-2015, 11:09
#15

what option could affect display of markers ?
you can see the link here : http://test.vincentbourganel.fr/20140629-vacances-ete-corse/

Administrator
Administrator
acrylian   06-03-2015, 12:09
#16

Ahm, I do see lots of markers on both maps, all looks as it should to me:
http://www.zenphoto.org/test/maps.jpg.html

Member
Member
vincent3569   06-03-2015, 19:07
#17

I don't know how you can see makers and not me.
I try at home (personnal PC) and at work (PC behind an secure access to the net), and I can't see any markers on both.
WTF ?

Administrator
Administrator
acrylian   06-03-2015, 19:47
#18

I have really no idea. I have tried Safari, Firefox and Chrome and all fine for me. Do you have anything in your browser console log? Maybe something is blocked by something?

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.