Tags links

Hi,

The links in the tags cloud in the image page seems to show results only when the tag consist of one word. I have tried all the available choices in Options-Search, with the same result. In case any of this matter, I'm using Zenpage, mod rewrite is activated, the gallery is in Spanish...

Thanks for any help on this!

Comments

  • acrylian Administrator, Developer
    Please provide minimum info of your install and best also an example link.
  • Hi acrylian,

    Thanks for your reply. I'm using Zenphoto 1.4.1.4 with the Zenpage theme. H-Sphere Apache, PHP5, MySQL.

    Here's an example of an image page:

    http://rubenalfu.com/zenphoto/competencias/_com0037.jpg.php

    There are 3 tags: "anastasia linares", "competencias" and "danza activa 2011", but only "competencias"returns results with that tag.

    A search for "anastasia linares" does shows all the photos with that label.

    Thanks!
  • The probem is with your tags somehow. If I search from your index page for 'danza activa 2011' it will not return a match. You might try enabling the tag suggest plugin. It will show us how the tags are represented.
  • Hi sbillard,

    Thanks for your help.

    The html_meta_tags plugin is enabled, also turned off mod rewrite.

    Sorry, I still can't figure out what's the problem...
  • acrylian Administrator, Developer
    The html_meta_tags plugin has not much to do with keyword tags. My collegue referred to the tag suggest plugin then we can see how the tags are setup. Also please post your search option settings.
  • I see acrylian, sorry about that. Ok, now the tag suggest plugin is activated.

    These are my search settings:

    1. Search password: no password

    2. Fields list:
    Author, Byline, Byline Title, Content, Custom Data, Description, Extra Content, File/Folder Name, Image Caption, Image Credit, Image Headline, Image Title,

    Tags - exact

    Title, TitleLink

    3. Search behavior settings: Treat spaces as AND

    4. Do not return...: All unchecked

    Many of the items in the Fields list are checked "just in case", actually I'm not sure how some of them relate to the metadata fields in Lightroom.
  • Ok, here is the analysis:

    searching for `adriana mercedes solanilla` encased in backward ticks works. But encasing the terms in single or double quotations does not work. So this would lead me to suspect a problem with `magic_quotes`. Is that enabled in your PHP?

    The only other thing I can think of to help is to enable the garland theme and search on it. The search page will re-display the search tags so we can see if they got preserved properly in the POSTing process.
  • Hi sbillard,

    According to my phpinfo():

    magic_quotes_gpc - ON

    magic_quotes_runtime - OFF

    magic_quotes_sybase - OFF

    If the hosting company cannot change these settings, would it means the end of the road :)?
  • While magic_quotes_gpc is undesireable it really should not be causing the problem. Still it is worth turning it off because it is a bad thing to be set.

    Most providers give you access to your PHP.ini file where you can edit this setting. Also it may be possible to set it in your .htaccess file (again, not all providers allow for this.)

    http://php.net/manual/en/configuration.changes.php
Sign In or Register to comment.