Fork me on GitHub

Archive module not working on my intranet site.  Bottom

  • Hello
    I hope this is something simple, but. I'm trying to use Archive ( 1.5 ) on my intranet based Postnuke site.
    I'm using .750 and can have put the archive folder in the modules folder. regernerated the modules menu and added the archive module to the site all hunky dory.

    When I click on the menu link for archived stories ( there are some I promise ! ) i ge the error message "You can't access this file directly..."

    Any idea's ? There is very little documentation for this module as I assume there is little to do to get it to work !!

    thanks in advance.
  • I'm having the exact same problem. I hope someone has solved this problem or knows how to go about doing it.
  • Figured it out. Change lines 38 and 39 in Archive/index.php to:

    if (!eregi("modules.php", $PHP_SELF)) {
    // die ("You can't access this file directly...");
    }
  • Thanks for that, It's not working for me unfortunatly I get the error :-

    1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER by time DESC' at line 1


    after commenting out the line in index.php. I'm certain that the code changes in .750 have broken the archive module but I'm not a coder and haven't got the time to get this module working.

    I've managed to get TiX_Archive working on my site by activating the Past nuke module. It's not quite what I wanted but it's good enough for now.

    Thanks again for posting the reply.
    Mark
  • It seems to be working for me in .760. I don't know about .750, though. Sorry I couldn't help more.

This list is based on users active over the last 60 minutes.