Announcement

#1 2024-01-21 17:42:37

tarka0
Member
2024-01-21
6

Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

Hello,
Piwigo 14.1.0 new search doesn't work if local config has:
$conf['question_mark_in_urls'] = false;

Offline

 

#2 2024-01-22 14:46:30

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13793

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

looks like [Forum, topic 33359] Search in this Set / Piwigo 14 (but I haven't started to work on it yet)

Offline

 

#3 2024-02-01 20:48:03

tarka0
Member
2024-01-21
6

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

is this problem fixed in Piwigo 14.2.0 ?

Offline

 

#4 2024-02-09 17:18:18

Ralf
Member
Dorsten-Lembeck
2012-05-08
230

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

Hi,
are there any news on this?

Version 14.2 has the same problem.

BR
Ralf


There are only two kinds of music:
Rock and Roll

https://www.ralf-kerkhoff.de

Offline

 

#5 2024-02-13 16:38:09

tarka0
Member
2024-01-21
6

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

has anybody solved this issue using Apache mod_rewrite rules?

Offline

 

#6 2024-02-13 17:50:48

Ralf
Member
Dorsten-Lembeck
2012-05-08
230

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

Tried several "solutions" - but found no one which does not break the site.


There are only two kinds of music:
Rock and Roll

https://www.ralf-kerkhoff.de

Offline

 

#7 2024-02-14 20:54:35

tarka0
Member
2024-01-21
6

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

temporary fix, works for me:

file: include/functions_url.inc.php
function make_index_url($params = array())
before line 159 (return $url;)
I have inserted:

  if (!$conf['question_mark_in_urls'] && str_contains($url, 'index/search'))
  {
    $url = str_replace('index/search', 'index?/search', $url);
  }

Offline

 

#8 2024-02-15 17:12:09

Ralf
Member
Dorsten-Lembeck
2012-05-08
230

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

Hi,
the temporary "fix" works for me too :-)

Thanks a lot!


There are only two kinds of music:
Rock and Roll

https://www.ralf-kerkhoff.de

Offline

 

#9 2024-03-05 09:00:31

tarka0
Member
2024-01-21
6

Re: Piwigo 14.1.0 search doesn't work with question_mark_in_urls=false

The problem was not fixed in 14.3.0 yet, so I am still using my temporary "fix".

Offline

 

Board footer

Powered by FluxBB

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