Hi guys,
I'm using Zenphoto version 1.4.1.6 [8326] (Official Build)
When I perform a search using two words with spaces, the search returns the results just fine, however, when I try to go to page 2 (and on), I get this: Sorry, no image matches found. Try refining your search.
I notice that the URL looks like this: /gallery/page/search/"crate+exclusive"/2
If I remove the quotes, it displays normally.
To reproduce, visit my gallery at www.fishworldfyi.com/gallery and perform a search for: crate exclusive
Then try to go to page 2 of the search results.
I apologize if the answer is found somewhere and I just couldn't find it. Any help/direction to appropriate documentation is appreciated.
Thanks for your time, Ree
Comments
Sorry to bother and thanks again! I love ZenPhoto!!
This error occurred regardless if I ticked only Tags, only Description or all three.
Basically, I performed the search for the phrase crate exclusive and the search populated correctly showing 88 matches and 5 pages. But when I clicked the >> button or the 2,3,4,5 buttons, it would only give me the "error" Sorry, no image matches found. Try refining your search.
If you are around right now, I've changed it back to "spaces" on the Options: Search tab in Admin. I'll leave it there for a few if you'd like to give it a go.
I installed this on my test gallery which is basically an exact copy of my actual gallery. Anyways, changing to AND fixes it and I'll be sticking with the current version on my main gallery for now...
I may do a clean install on my test gallery and try again when I have time. I'm happy to supply any info you may want/need.
I really do appreciate all of your help and time!
Thanks for your help.
If I manually type the search into the browser bar:
http://www.moonshadeaux.com/Fish_Guide/page/search/crate+exclusive
Returns results correctly, but when I click to go to page two, the link looks like this:
http://www.moonshadeaux.com/Fish_Guide/page/search/"crate+exclusive"/2 (actual appearance in my address bar)
(When I paste into the forum, looks like this: http://www.moonshadeaux.com/Fish_Guide/page/search/"crate+exclusive"/2)
This returns "no matches found".
I probably won't have time to do a clean install until next week some time.
So if you can there are two more things. First switch to the Effervescence+ theme as it will display the "target" for a failed search. That way we can see what was actually passed.
Also check the settings for `magic quotes` in your PHP. Let us know how it is set.
The clean install should not be necessary.
[edit] I have done some more testing on your site. I am pretty sure that it is not handling quotation marks in URLs correctly.
The search function allows single and double quotes and peck marks (those things we use on the forum to mark code) as quotation brackets. I tried all three and found that
http://www.moonshadeaux.com/Fish_Guide/page/search/`crate+exclusive`/2 works, %60 is the peck mark. The other two do not.
Anyway, ask your hoster how to make changes to the php.ini file.
Notepad will open and allow you to edit the .htaccess file, but it is not a good choice since it does not deal well with Unix line endings. I suggest you get the free notepad++ editor. It really is a good tool to have.
But making the setting in .htaccess does not work on all servers.
You guys are great and I hope you have Happy Holidays!