![]() |
|
Search not working on my site - 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: Search not working on my site (/thread-13851.html) Pages:
1
2
|
Search not working on my site - tplowe56 - 25-06-2023 Search is no longer working for me (at all, does not return anything). I am not sure when this started happening. But I presume sometime after 1.6. I get "Sorry, no matches found. Try refining your search." no matter what I enter. When I load archive view I can see all my tagged photos sorted by tag, and or date. I get results like this for dates "58 Hits for December 2022". The index is there but is not returning the search. There are also no errors in log. *search is configured to search all. Search not working on my site - acrylian - 25-06-2023 Did you clear the search cache or disable it? On our site search is working with 1.6. Search not working on my site - tplowe56 - 25-06-2023 Sorry,..... I see it is working on my local host. It must be a security setting. I'll figure it out. Search not working on my site - tplowe56 - 25-06-2023 FYI: I had turned "mod rewrite" off in Options>>General and it obstructs the search capability. Search not working on my site - acrylian - 26-06-2023 That is weird because search should work with both. Anyway, there will be updates in this area with the coming 1.6.1 release (e.g. fixing the broken frontend searchfields selector). Search not working on my site - RM25 - 17-07-2023 I got also the same problem with the search tool on my local Zenphoto 1.6 working with php7.4. But after updating and reinstalling, I have understood that it cames from the symlink on "albums" (the folder in zenphoto containing the photos of the Galerie). Search not working on my site - acrylian - 18-07-2023 Zenphoto actually does not use symlinks on the "albums" folder or individual albums at all. We use symlinks if available for not creating cache/resizes image versions if the original is already the same size as requested or has lower quality so nothing is upscaled (unless upscaling is enabled specifially).
If you like to use an "albums" folder outside the web root (or with another name), you actually define that via the config file. That is not using a symlink then. Please try that instead. Search not working on my site - RM25 - 18-07-2023 Symlink is actually not important for me. I was working with symlink with Piwigo but I don't like Piwigo and I prefere so much and so far the working process of Zenphoto. By curiosity, I have tried to modify the config file in /var/www/zenphoto/zp-data/zenphoto.cfg.php (editing the variables $conf['album_folder'] and $conf['album_folder_class'] with priorities 777 on my external folder) but it doesn't work; the setup.php always tell me "Error! You must create the folder". Thanks again for your help. Search not working on my site - acrylian - 18-07-2023 If you point setup to a "different" "albums" folder it must exist in that location. For outside/above the webpath the config would look like this:
Note that it must be on the same server as Zenphoto. Real external albums folders on different servers/domains etc are not supported because Zenphoto's gallery is file system based. Search not working on my site - Finage - 01-08-2023 I got also the same problem with the search tool on my local Zenphoto 1.6 working with php 8.0.29. Thanks for your help. Search not working on my site - acrylian - 02-08-2023 Are the albums and images actually published? Any errors? Search not working on my site - Finage - 02-08-2023 Albums published, images published. Errors on upload : {38033:Mon, 31 Jul 2023 21:06:46 GMT} Zenphoto v1.6 WARNING: Cannot modify header information - headers already sent by (output started at /home/haliimyn/public_html/zenphoto/zp-core/zp-extensions/uploader_jQuery/class-uploadhandler.php:1210) in /home/haliimyn/public_html/zenphoto/zp-core/zp-extensions/uploader_jQuery/uploader.php on line 61 (and lines 62 to 64). Search not working on my site - acrylian - 02-08-2023 That upload issue surely has nothing to do with the search results itself. If I recall right that is an issue we fix in 1.6.1a being in development already (not recommend to use yet as it is being worked on). Did you check the search options that really fields to search are enabled and also search results for albums anad images? That all should be set by default but if not for unknown reason the search would of course be empty. Search not working on my site - Finage - 02-08-2023 OK. What to do now ? Search not working on my site - Finage - 02-08-2023 In desperation, I applied tplowe56's solution (june25) :turned "mod rewrite" on in Options>>General. Search not working on my site - acrylian - 03-08-2023 Okay, weird, we will look into the non-modrewrite issue. But nowadays using modrewrite is and should be the standard generally ;-) And I admit we primarily test modrewrite as well. Search not working on my site - acrylian - 03-08-2023 Indeed in 1.6 search is broken without modrewrite. This is fixed in the 1.6.1a already so will be fixed with the next update. Also the search field selector on the search form that is also broken in 1.6 will be fixed. Search not working on my site - Finage - 03-08-2023 Thanks. Search not working on my site - imagepet - 21-12-2023 Firstly, I would like to appreciate the great work and knowledge that has been put into Zenphoto so far. Thank you very much for that. When testing for version 1.6 (and php 8.x) I found an additional issue to the one described in Search not working on my site - acrylian - 21-12-2023 You should have tested 1.6.1b already! Other than the forum post you referenced we are no aware of any issues related to search. But in 1.6 the pagination behaviour for transition pages - when albums and images share a page - changed in generaly for serach and album pages. You need to update your theme options regarding that. In this area nothing changes in 1.6.1 actually. Otherwise, we are actually about to release 1.6.1. |