ZenphotoCMS Forum
Page 2, 3, 4, ... in search don't works - 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: Page 2, 3, 4, ... in search don't works (/thread-2202.html)



Page 2, 3, 4, ... in search don't works - DirkSohler - 2008-02-06

Hi there,

i set up my gallery and all works fine, except the search. There are more pages shown, but if i click on one of the links it says, that there are no results ("Sorry, no image matches. Try refining your search.")

Have a look at this two screenshots, please:

http://img264.imageshack.us/img264/4204/bildschirmfoto4ii1.png
http://img112.imageshack.us/img112/7708/bildschirmfoto5hq3.png

Any hints what to do?

TIA,
Dirk




Page 2, 3, 4, ... in search don't works - acrylian - 2008-02-06

Oh, yeah, there is a mistake in the htaccess file of 1.1.4... you can solve it yourself easily:
Open the file and look at the last two lines of the "rewrite rule addition for search" block:
`RewriteRule ^page/([A-Za-z0-9-_]+)/(.*)/?$ index.php?p=$1&words=$2 [L,QSA]

RewriteRule ^page/([A-Za-z0-9-_]+)/(.*)/([0-9]+)/?$ index.php?p=$1&words=$2&page=$3 [L,QSA]

`
Just reverse the order of these two lines.




Page 2, 3, 4, ... in search don't works - DirkSohler - 2008-02-06

hooray! that fixed it! thank you!