WordPress.org

Support

Support » How-To and Troubleshooting » Image Safari – All Archives hack problem calling D

Image Safari – All Archives hack problem calling D

  • Bedingfield

    @bedingfield

    Hi there,
    I have tried to install the hack that was on the Image Safari site (http://www.imagesafari.com), this hach would show all archives by date and month but although I have been able to get the page to view it does not connect to my DB.
    I get these errors:
    No Database Selected
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/rin/public_html/all_archives/jon_getarchives.php on line 12
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/rin/public_html/all_archives/jon_getarchives.php on line 66
    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/rin/public_html/all_archives/jon_getarchives.php on line 68
    There were no instructions with this hack, has anyone else got it running? Hope you can advise 🙂
    Thanks
    Karl

Viewing 1 replies (of 1 total)
  • jonanhold

    @jonanhold

    Make sure you’re including blog.header.php in your all_archives.php file..
    On my side, I created my own header/footer/etc pages that I include all over the place. This hack will _not_ drop in and work if you just grab my files and drop them on your webserver.
    The jon_getallarchives() function _should_ work if you just drop it onto a page.
    -j

Viewing 1 replies (of 1 total)
  • The topic ‘Image Safari – All Archives hack problem calling D’ is closed to new replies.
Skip to toolbar