Used to work, now can't access albums

hello,
Zenphoto worked great for me from the very beginning, and for months after that.
and now, for no reason whatsoever, I can't link to my albums. If I click on a thumbnail, the resulting page just says, "<a href=". That's it.
Switching the mod-rewrite on & off yields same results. Index page has paths all wrong.
This problem has been solved on many topics but my htaccess page is correct and always has been.
Do you think my host server is messing w/ my files?
link is: http://www. hideme.net/galleries/
Any help is much appreciated.

Comments

  • I'm not sure if they'd be messing with your files, but it's possible that they could've been working on the server and unknowingly broke something.

    It could also be that maybe your album.php file got corrupted somehow. Are you running the latest version of zenphoto? Have you tried reinstalling it?
  • Thanks for the help. I tried reinstalling the latest version... same dealy.
    I think my next step is to create another database and start from scratch.
    It's probably because I'm using DreamHost. .ugh.
  • Can we see a copy of your album.php code (in whatever theme you are using) please Dantelobster? I'm still not convinced there isn't a code syntax issue in there somewhere. It's executing the page, but just truncating the first link there in your header section under the gallerytitle div. Might be a syntax error or a missing `}` in the PHP code.

    The most important thing with Dreamhost to remember is to change the MySQL database reference from localhost to mysql.yourwebsite.com for Zenphoto.
  • Thanks for the help.
    I double-checked and I do have mysql.mywebsite.com
    Do you want me to actually copy/paste the album.php code in here?
    Thanks.
  • Sure. Make sure you enclose it within `backticks` to display the code properly. That way we can get an idea of what might be causing the issue.
  • Was just playing with the themes that came with V1.0.7
    All the themes, as you say, truncate the first link -- except Stopdesign.

    Here is the code from the album.php based off one of the themes.
    Thanks again.

    `





    <?php printGalleryTitle(); ?> | <?php echo getAlbumTitle();?>

    /zen.css" type="text/css" />

    <?php zenJavascript(); ?>









    <?php printAlbumDesc(true); ?>



    <?php printPageListWithNav("« prev", "next »"); ?>



    <?php printSortableAlbumLink('Click to sort album', 'Manual sorting', NULL, 'credit'); ?>









    `
  • I am having the same problem, also on Dreamhost. It's been working for a long time until today. When I click on an album I get

    <!--

    and that's it. Otherwise, everything else seems to be fine including administration.

    Here's my blog: http://www.nuttyfamily.com - click on any of my entries with the zenpress thubnails and you'll see.

    I also get a blank page now when I go to my WP plugins page.

    Here's my album.php:

    <?php if (!defined('WEBPATH')) die(); ?>
    <html>
    <head>
    <title><?php printGalleryTitle(); ?> | <?php echo getAlbumTitle();?></title>
    <!-- <?php zenJavascript(); ?> -->

    </head>

    <body>

    <div id="main">
    <!--
    <div id="gallerytitle">
    <h2g><span>" title="Gallery Index"><?php echo getGalleryTitle();?> | </span> <?php printAlbumTitle(true);?></h2g>
    </div>
    -->
    <h3><?php printAlbumDesc(true); ?></h3>

    <div id="images">
    <?php while (next_image()): ?>
    <div class="image">
    <div class="imagethumb">" title="<?php echo getImageTitle();?>"><?php printImageThumb(getImageTitle()); ?></div>
    </div>
    <?php endwhile; ?>
    </div>

    <?php printPageListWithNav("« prev", "next »"); ?>

    <div id="enableSorting">
    </div>

    </div>

    </body>
    </html>
  • Ny888-

    Some things I'm not sure of in your code:

    1. Why do have zenJavascript commented out in HTML? (i.e. enclosed in ``)
    2. Why are you commenting out the "gallerytitle" section?
    3. You have a tag I've not seen before in your "gallerytitle" section ``

    Dreamhost is also upgrading PHP code to 5.2.0. My zen cart broke last night due to a bug in PHP 5.2.0 with session handling, so these may be related.

    Tristan, do you have any input into this issue? Hopefully it's something easy.
  • Now I understand where you got the tag `` after reading your previous post http://www.zenphoto.org/support/topic.php?id=718. Intertesting way to do it, but may get confusing over time if left like that.
  • My albums are working again. Weird.
    Perhaps it was Dreamhost-related, as described above by Thinkdreams.
  • According to Dreamhost, who just upgraded me to PHP 5.2.0, they will probably be going back to PHP 5.1.2 as it looks like they are having a lot of customer complaints due to the move. This is based on a support ticket I have with them due to my zen cart issues. I don't know how this roll-out will affect every user, but it's something to keep an eye out for....
  • trisweb Administrator
    Seems to definitely be a PHP upgrade-related problem, which should not break Zenphoto, but could be unpredictable...

    I'd have liked to test it more. Perhaps I'll install 5.2.0 locally and see what happens...
  • Even though the supposedly reverted back, I'm getting the exact behavior as dantelobster originally. Click on a thumbnail and get <a href= only.

    I even had them restore everything as of 2 days ago and it's not working.

    Now my zenpress plugin is not working and my wp plugins admin page is blank !
Sign In or Register to comment.