Search trouble Search trouble
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Search trouble

Started by mitko, June 10, 2012, 10:27:16 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mitko

Hi there!
I moved my site from one hosting to another one. Everything seems working fine except search. I try to search image by some keyword, i.e.:
http://www.lightphotos.net/photos/thumbnails.php?album=search&keywords=on&search=australia
Search provide reasonable photos in thumbnails. But if i try to click any of this thumbnails - sometimes opened image is different than thumbnail (and the same for all search results) sometimes i don't get any picture - just mistake and that's all. But the link it self to new image is different everytime and looks like:
http://www.lightphotos.net/photos/displayimage.php?album=search&cat=0&pid=1553#top_display_media
What could be the problem?


mitko


Joe Carver

You have much more customizing than only the theme...

Try:
Move plugins up and down the list.

Remove plugins one at a time.

Remove / change the custom headers and footers.

Replace any modified cpg files one at a time.

Turn on debug (please don't post the output) and if you don't
want to leave it on for a long time, re-post so someone can take a look.

Review / change the keyword settings in Config.

Validate the pages: http://validator.w3.org/

mitko

Hi Joe! Thanks for the advices.
I made second copy of gallery for testing. In this copy i disabled plugins, removed headers/footers, played with settings and themes. Problem still exist.
Here you can check again http://www.lightphotos.net/photos1/thumbnails.php?album=search&keywords=on&search=england
I don't want to overwrite all changed files at this stage, may be somebody can check debug information first, debug is now switched on.
All thumbnails are showing mistakes or displaying wrong files in opened single image page.

Joe Carver

Quote from: mitko on June 12, 2012, 03:42:08 PM
I don't want to overwrite all changed files at this stage, may be somebody can check debug information first, debug is now switched on.

There are quite a few notices, most with Supercage. If you have modified search.php or search.inc.php, and other core files, then start with...

Reading the docs on using Supercage.

Isolating the problem - change one file at a time and back out of some of your modifications.

mitko

Problem found.
it was accidentally added <tab> before <?php at thumbnails.php
Strange but in old server everything worked well.
Many thanks for advices Joe!