Problem displaying recent album on home page

Hi,

I don't know why the code I use to display the recent album on my wordpress website home page stop working. I'm using a 2.8 wordpress version and 1.2.4 Zenphoto version integrated with my website. [http://www.ziguline.com/gallery ]

The code used to display recent album on the home page is the following:

`
<?php define('gallery', 'zp-core');
define('WEBPATH', 'gallery');
require_once(WEBPATH . "/" . gallery . "/template-functions.php"); ?>



DAL PHOTOBLOG


<?php $counter = 0; while (next_album() and $counter < 4): ?>

<?php $counter++; endwhile; ?>


`
Thanks for your precious help.

Dimitri

ziguline.it

Comments

  • acrylian Administrator, Developer
    You don't search the forum before posting, do you? We just have a thread about that, please see my answer here:
    http://www.zenphoto.org/support/topic.php?id=6622#post-38680
  • Hi Acrylian,

    I didn't find it cause I dind't know that was a Mysql error.. anyway your answer is that there is no solution at the moment right?

    Thank you for your quick response.

    Dimitri
  • acrylian Administrator, Developer
    I admit the thread title is not obvious... Yes, there is no solution as we don't know what is going wrong there. Responsible might be a recent change either in Zenphoto or Wordpress or both. Since you encounter it with an old Zenphoto version it might be indeed on Wordpress' side. If anyone has any idea about that we gladly would like to hear about.
Sign In or Register to comment.