PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Search links don't open

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Search links don't open

    Hi, i have installed your software with xampp. Everything works well until..... When i click on the search results to open a local file..... nothing happens. A pdf or doc should open but nothing happens.
    If i copy the link into a new internetpage (a link like "file:///g:/SPN/OPENME.pdf") that works fine

    I work with Windows 7, acrobat reader 10 and Office 2007. I have installed opera, firefox, chrome and internet explorer.

    Can you advise what is going on???


    TX, anyone, anytime, anywhere , anyhow, Peter

  • #2
    Do any of the search results open at all? Or is it just the PDF and DOCs that don't open?

    If none of the search results open, I'd say it's because your browser is blocking you from crossing security zones. If your XAMPP setup is such that you are accessing the search page via a HTTP url such as:

    http://localhost/mysearch/search.php

    Then the search results are linking to:

    file:///g:/SPN/OPENME.pdf

    Then most browsers (but particularly IE) will not allow the link to work (with no warning or indication whatsoever! You'd have to ask Microsoft why they think that's a good idea). Because you are crossing between a "Web zone" (starting with http://) and an "Offline/Local disk" zone.

    To workaround this, you'd either have to:

    (a) Host all the content files (the pdfs, docs) under the web server setup so they can be accessed via a http:// URL and index the files accordingly so that they have this base URL. Then everything goes through the web server / web zone and your browser will happily cooperate.

    (b) Change your browser settings to allow this to happen. Of course, this means the changes need to be applied on every browser you wish to do this from.

    More information here for Firefox (you can search for similar issues on other browsers):
    http://kb.mozillazine.org/Firefox_:_Issues_:_Links_to_Local_Pages_Don't_Work

    (c) Use the JavaScript search platform option in Zoom (which creates a search page that runs entirely on the client-side so it can be served via a file URL such as file:///c:/mysearch/search.html) but there's technical limitations to this over PHP, etc. (no context descriptions, slower to download for other intranet computers, limit on maximum pages indexed)
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment

    Working...
    X