ZenphotoCMS Forum
Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php (/thread-11212.html)



Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php - astepanyan - 2013-07-23

I recently enabled GoogleMap.php on my zenphoto page and started to see the following warnings:

Notice: Undefined variable: libarry in /homepages/45/d93956570/htdocs/zenphoto/zp-core/zp-extensions/GoogleMap.php on line 144

Warning: assert(): Assertion failed in /homepages/45/d93956570/htdocs/zenphoto/zp-core/zp-extensions/GoogleMap.php on line 144

My gut feeling was that "libarry" is "library" misspelled. I went ahead and changed it. Now I was getting the following errors:

107

Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d93956570/htdocs/zenphoto/zp-core/zp-extensions/GoogleMap.php:1) in /homepages/45/d93956570/htdocs/zenphoto/zp-core/index.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d93956570/htdocs/zenphoto/zp-core/zp-extensions/GoogleMap.php:1) in /homepages/45/d93956570/htdocs/zenphoto/zp-core/index.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /homepages/45/d93956570/htdocs/zenphoto/zp-core/zp-extensions/GoogleMap.php:1) in /homepages/45/d93956570/htdocs/zenphoto/zp-core/index.php on line 110

Now I am not so sure about it. I googled the warning message and found original assert() warning all over zenphoto albums out there. So it's not something I had done. Can someone help me to figure out if it's a bug and if I need to fix it.




Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php - sbillard - 2013-07-23

You should probably install the support build. See the download page for a link.




Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php - astepanyan - 2013-07-23

Thank you, sbillard, support build works. So this is something that had been fixed after 1.4.5 was released on July 2nd?

P.S. I can see it was "library" after all.




Undefined variable: libarry in zenphoto/zp-core/zp-extensions/GoogleMap.php - acrylian - 2013-07-23

[i] So this is something that had been fixed after 1.4.5 was released on July 2nd?[/i]
That's what it means. This later on becomes 1.4.5.1, probably beginning of August.