Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Search is broken  (Read 7441 times)

0 Members and 1 Guest are viewing this topic.

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« on: November 11, 2003, 01:19:00 am »

Hi

http://www.geoffmarchant.co.uk/

Search on this installation is partially broken.  If you search for something (say, 'police') an image is found but the link to the large image is 404 http://www.geoffmarchant.co.uk/displayimage.php?album=search&cat=0&pos=0.

I've just upgraded from 1.1 to 1.2.0 RC2 hoping it would fix the problem.  It didn't.

Any suggestions please?

David.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Search is broken
« Reply #1 on: November 11, 2003, 07:26:35 am »

And what exactly are we supposed to search for? You have greatly modified the theme and disabled a lot of stuff - seems like you're not using keywords at all. Give us an example of a search (url or term) that you think it should work.

GauGau
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #2 on: November 11, 2003, 11:57:16 am »

From O.P.
Quote
If you search for something (say, 'police') an image is found but the link to the large image is 404


Search for 'police'.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Search is broken
« Reply #3 on: November 12, 2003, 02:20:40 am »

Hmm. I did that yesterday and just did it again. 1 picture found, *clicked* I see the intermediate picture "POLICE SLOW" (which is not the thumbnail). Am I suppose to see a larger picture? I can't click any further.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Search is broken
« Reply #4 on: November 12, 2003, 02:27:59 am »

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.moorey.org%2Fmisc%2Fpolice.jpg&hash=be468168031a6b959ff19e8221e8538af2e99acf)
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #5 on: November 12, 2003, 11:08:01 am »

Thank for looking, moorey.

Weird. IE6 gives me 'No image to display' when I click the thumbnail.  If I do the same search in Mozilla/Firebird/Opera the image appears (as per your screen shot).

Any ideas?
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Search is broken
« Reply #6 on: November 12, 2003, 02:06:09 pm »

I'm guessing it's your firewall or proxy or some of your software settings . I'm at the other end of the world and I can see it so... :wink:

Try it on another computer.
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #7 on: November 12, 2003, 02:34:14 pm »

I thought it might be firewall-related so turned it off - same result.  I'll try another PC.  Thanks for checking it out.

P.S.  I'll be in Perth / Mandurah in 10 days for 3 months.  See you on Cottesloe Beach?   :D
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Search is broken
« Reply #8 on: November 12, 2003, 03:23:00 pm »

Surely you can see this?
http://www.geoffmarchant.co.uk/albums/PressPR/police.jpg

Interesting. What are you doing down there in Mandurah? I'll be in Singapore and travelling around to Borneo and Thailand in 10 days for about 2 months :D It's scorching over here last few days.. 40 degrees yesterday and today. You pommies would love that. *grin* :wink:
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #9 on: November 12, 2003, 04:02:20 pm »

http://www.geoffmarchant.co.uk/albums/PressPR/police.jpg actually kicks in the hot link prevention rewrite I've got on my server, so it won't show the image.

I can see the image if I navigate through the category / album list and get to http://www.geoffmarchant.co.uk/displayimage.php?album=11&pos=9.

Like you say, prolly something to do with proxies in IE.  I'll do some digging.

---

Sister and family in Mandurah, mate in Wembley Downs.  40?!!  :shock:   Better bring me factor 100 lotion.

Borneo was a great experience - loved it.  Thailand was a great experience for the mosquitos at my expense.  :wink:  Have fun.
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
Search is broken
« Reply #10 on: November 12, 2003, 04:19:57 pm »

Heh I think you just found the answer yourself. The .htaccess (I presume) you use to prevent hotlinking is stopping you from viewing it. I suggest you check that one out (or remove it to test) cos I can view it fine (direct link with that url and otherwise).
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #11 on: November 12, 2003, 06:18:45 pm »

Unfortunately not.  I removed it and same result.  Besides, it's server level and Mozilla / Firebird / Opera all work fine - so problem lies with IE configuration somewhere.  

I'll play with proxies and see if I get anywhere.

Thanks for your time - "good onya mate".   :wink:
Logged

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #12 on: November 12, 2003, 06:30:49 pm »

Unfortunately not.  I can see the image fine using Mozilla / Firebird / Opera - it's only IE6 that shows the problem from the search and with the hotlinking prevention (which I don't understand at the moment).  So I guess it's a proxie / IE setup issue.  I'll have a play later to try and figure it out.

Anyway, thanks for your time, appreciated - "good onya, mate".   :wink:
Logged

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
Search is broken
« Reply #13 on: November 17, 2003, 08:13:31 pm »

I think it could be a cookie problem...
I don't know for sure what coppermine relies on to store the searched term, but it is obvious that it uses that to determine what to display in the album "search". The reason you can't see anything is because the album "search" is empty, so there is nothing in the pos=0.

The reason I think this may be cookie related is because album "favorites" relies on cookies too... Does "My favorites" work for you? If it doesn't, it's most definitely cookie problems.
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org

David_1cog

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Search is broken
« Reply #14 on: November 17, 2003, 08:20:36 pm »

Quote
I think it could be a cookie problem...


Thanks for suggestion but that doesn't seem to be the case - I disabled firewall (with cookie control), set IE6 to accept all cookies and still the same problem.

I also set IE security to 'Low'.  That didn't help.

I'm not sure what else to try.   :?
Logged

Oasis

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 252
  • iNSiGNiA
    • Pixnet Gallery
Search is broken
« Reply #15 on: November 17, 2003, 08:38:32 pm »

Does the "My Favorites" album work for you?
Logged
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.