Announcement

  •  » Beta testing
  •  » Piwigo 15 beta3 - Search killed by Piwigo-openstreetmap

#1 2024-09-11 17:03:41

Michael High
Member
Co. Offaly, Ireland
2022-12-15
24

Piwigo 15 beta3 - Search killed by Piwigo-openstreetmap

Thanks for the third (and final?) beta version. I loaded it up in a fresh install in the following environment ;-

Piwigo 15.0.0beta3
Installed on 11 September 2024, 2 hours ago
Operating system: Linux
PHP: 8.2.23 (Show info) [2024-09-11 16:29:10]
MySQL: 8.0.36 [2024-09-11 16:29:10]
Graphics Library: External ImageMagick 6.9.11-60
Cache size 530.19 Mo   calculated 51 minutes ago

Activated plugin list
Exif View
LocalFiles Editor

Everything worked very well until I loaded the Piwigo-OpenStreetMap plugin. When I completed the configuration page, the following error came up in the header area...

Warning: Cannot modify header information - headers already sent by
(output started at /.../Piwigo15/plugins/piwigo-openstreetmap/admin/admin_config.php:201)
in /.../Piwigo15/include/page_header.php on line 99

I was relieved to find that the maps displayed in all the right ways in all the forms. However, when I clicked on any of the search icons or menu items, the system crashed with the following error message...

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in
.../_data/templates_c/1h8zxyh_oq3t4z^46bd87d4662d522a1232baa486ee5f0dc7668d90_0.file.search_filters.inc.tpl.php:170 Stack trace: #0
.../include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66e19a557cef08_45714334() #1
.../include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #2
.../include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #3
.../include/smarty/libs/sysplugins/smarty_internal_template.php(386): Smarty_Internal_Template->render() #4
.../_data/templates_c/1h8zxyh_oq3t4z^be1efccaad99d1104e06f1d787f36e5b175c231d_0.file.index.tpl.php(371): Smarty_Internal_Template->_subTemplateRender() #5
.../include/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66e199cce51bb1_05844833() #6
.../include/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #7
.../include/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render() #8
.../include/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render() #9
.../include/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #10
.../include/template.class.php(486): Smarty_Internal_TemplateBase->fetch() #11
.../include/template.class.php(506): Template->parse() #12
.../index.php(370): Template->pparse() #13 {main} thrown in
.../_data/templates_c/1h8zxyh_oq3t4z^46bd87d4662d522a1232baa486ee5f0dc7668d90_0.file.search_filters.inc.tpl.php on line 170

Much as I like the greatly improved search function, particularly the search by ratio to pull up my panoramas, I would not be taking the update to Piwigo 15 until this plugin problem is resolved.

Piwigo URL: https://piwigo15.thehighs.org

Offline

 

#2 2024-09-26 13:25:33

Michael High
Member
Co. Offaly, Ireland
2022-12-15
24

Re: Piwigo 15 beta3 - Search killed by Piwigo-openstreetmap

An update on testing RC1...
The good news is that OpenStreetMap can be enabled without killing Piwigo 15.
The bad news is that the default settings for OpenStreetMap must be changed as follows;-

Display map on category page

Add a map in category's description : Yes No 

Show a world map menu on category's description, will display all the images in the gallery.

Show the map on all pages of the category : Yes No
This will show a map on all pages of a category, not just in the category's description

Other places the map is displayed
Main menu
Add a map in main menu : Yes No

Show a world map menu on main menu, will display all the images in the gallery.

My conclusions,  wrote:

It seems to me that Piwigo 15 not only has a significantly improved search function, it also has a new name for that function. This seems to be unavailable to plugins like OpenStreetMap that draw data from both the Category level and the Image level.
I do not know where to take this issue. Would someone please point me in the right direction.

Offline

 
  •  » Beta testing
  •  » Piwigo 15 beta3 - Search killed by Piwigo-openstreetmap

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact