PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Date is always 01.01.1970 for .doc and .pdf Documents

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

  • Date is always 01.01.1970 for .doc and .pdf Documents

    The date in the results is always "01.01.1970". It should be the last modified date of the File.

    - i have ZSE 4.2
    - i used the Offline mode
    - i already disabled caching

    thanks for any help!

  • #2
    You should first check if you are using the most recent build of V4.2 available. This would be build 1013:
    http://www.wrensoft.com/zoom/version4history.html

    I could not reproduce the problem using that version.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      yes, i am using the most recent build of v 4.2 (1013)

      the problem still occurs. The files are on a network share (UNC-Path)

      Comment


      • #4
        Just tested it by indexing files from a UNC path, networked share folder. Still could not reproduce the problem. The correct dates and times were picked up correctly.

        What OS are you running on, and what OS is the machine that the network shared files are on?

        It might also be worth confirming that the Indexer stored the same dates you are seeing, and check if the problem might be on the scripting side. You can do this by simply opening zoom_datetime.zdat in a text editor.

        If you continue to have problems, e-mail us your ZCFG file, and we can take a closer look.
        --Ray
        Wrensoft Web Software
        Sydney, Australia
        Zoom Search Engine

        Comment


        • #5
          Thank yo very much for the hint!

          In the zoom_datetime.zdat are the correct dates. So it seemed like the search.php did not read the appropriate part of the date-file.

          On line 1647 the $datetime[$ipage] variable was empty.

          I could fix the problem by changing the line 704 from:

          PHP Code:
          while (!feof($fp_datetime) && $i $NumPages
          to:

          PHP Code:
          while (!feof($fp_datetime)) 
          This way the dates are right!

          Comment


          • #6
            Did you change the "search.php" script prior to this problem occurring? I suspect this must be the case since line 1647 in the source code provided with that build does not reference $datetime[$ipage] as you said.

            If you have, I believe your modifications to the script may have broken functionality. If you continue to have any problems, please revert back to the default "search.php" provided.
            --Ray
            Wrensoft Web Software
            Sydney, Australia
            Zoom Search Engine

            Comment

            Working...
            X