hiding.unhiding images doesn't work anymore..

on my site.. if I flag an image as invisible it just appears at the end of my manually ordered images..

if I flag a previously (two weeks ago..) flagged as invisble image to visible it stays invisible..
..

this happens in my own theme as well as the default theme of the 1.1.3 nightly build...

hiding/unhiding albums works without a problem... any ideas?

Comments

  • I am not able to reproduce this. (Using the nightly build.)

    When you have saved after marking the image visible, it the visible checkbox checked?

    Is the image invisible when you are logged in or just when you are viewing as a visitor?
  • I am also not able to reproducethis on other servers i run.

    but on my own domain it still is like this. flagging an image invisible gets saved to the database as show = 0 (checked with myphpadmin) but keeps on showing in my album (both logged in and as visitor) at the bottom, cq last iamge in the album. if I check another image as invisible this becomes the last image..

    also i can change previously marked as invisble to visible with phpmyadmin but they stay invisible when browsing the album..

    I get the feeling I can write to my database but it does not read from it..
  • After you set the image to invisible, is the check box unchecked?

    As for the image showing up at the bottom of the album: are you selectig sort order of `date`?
  • yes.. when I set it to invisible the checkbox is unchecked.
    ..and stays unchecked, after saving /logging out-in etc...
    my sort order is manual for most of my folders..

    could it be the problem is server side, either my database or mysql configuration( 3.23.58)because when I copy the same folders to another domain with the same zenphoto build (but neweer mysql 4.3.10) I can get the images to disseapear as usual...
  • Who knows. If the box is unchecked after the save, then the read from the database worked at least in Admin. Maybe you can get the server's mysql updated? Be interesting if that fixes the problem.
  • yes, the state of the box get's saved.. yesterday i also copied the mysql database to an other domain together with the albums and there it worked as intended..

    Also when I downgrade to the tags_1.1.2-r983 version things are working as they should..

    so it could be that indeed with all the recent updates on zenphoto my mysql version became incompatible..
  • sbillard..

    I did some tests with the versions from trunk..

    i always only upgraded but this time i did run the setup starting from zenphoto 2007-12-08-trunk

    everything (the hiding unhiding) works fine up till and including version 2007-12-11.
    setting up version 2007-11-12 gives an error on mysql; "mySQL version 3.2.3 or greater [version is ]"

    neglecting this warning and just doing the upgrade reproduces the hiding/unhiding problem.

    so I think indeed my sql version 3.23.58 although in absolute numbers is higher then 3.2.3 is the problem.

    I'll get it upgraded
  • Interesting.

    A comparison of the 2007-11-11 nightly to the 2007-11-12 nightly reveals 3 changes.

    1. The .htaccess file has had some changes for mod_rewrite to support searches
    2. There were some spelling corrections in admin.php
    3. There was a correction to the akismet.php plugin.

    Not sure why any of these would have caused a difference, but #1 would be the only one that is even suspect.
  • I have the same problem and since checked thumb have class assigned to it I solve it by adding .not_visible {display:none;} in style sheet file. Maybe this wouldn't be the nicest solution but I like it because it don't show thumbnails even when you are in admin mode.
  • Found the problem. It will be fixed in tonight's build.
  • Sbillard..? did you already fix it? because 5 minutes ago a downloaded the nightly build to try 'enes's workaround..but even without his workaround everything suddenly works nice again ..

    only thing that happened during setup was this:

    mySQL access rights [insufficient rights]

    Your mySQL user must have Select, Insert, Update, and Delete rights.

    The SHOW GRANTS query failed.

    doesn't seem to cause any problem..
  • The Fix I found has not been uploaded yet. However, Sometimes it seems to work, but now I am not sure why.

    As to the setup issue, This means that setup.php did not have enough rights to ask what rights it had. As long as everything else is working it is not an issue. But the warning is there in case other problems also show up. Then you would have a clue as to where to start looking.
  • eww Member
    I installed build 1.3 6/24/2010 and the visible option doesn't work. I'm guessing its a problem with the providers setup since I don't see any recent posts about this problem. What could I tell them to fix?

    This is what hapened:
    When I clear the checkbox the picture still displays when I logout and view the alubum. I checked back to make sure it was still cleared and it was. I did a fresh build and it still works the same. Also on the Overview tab it displays: 187 images (4 not visible). I installed this using FTP.
  • Most likely this is a browser or server caching issue. If either caches the page and does not check that it might be different you will get the original page no matter what you have done. You can check this by making a new never published image and see if it is visible.
  • acrylian Administrator, Developer
    Or you have the static_html_cache plugin enabled.
  • eww Member
    It is a problem with IE caching. I thought I had tested that adequately by clearing my chache a restarting the browser and having the setting "Check for new version every time". I used a new computer and the image was invisible.

    So do I need to add some code to each php page to stop them from chaching? I would like my users to see the most current version.

    Would this work? <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE">
  • acrylian Administrator, Developer
    It actually should
  • eww Member
    The mystery continues. I had someone else check on their computer and everytime I make a change it is reflected in their IE7.0. So what's up with mine, IE8.0? Now I need to try 8.0 on another machine...

    Here are some more things I have checked:
    -I do not have the static_html_cache plugin enabled.
    -A virgin browser does not display the image
    -I am logged out as admin.
    -I have added a new picture via ftp to the album and it displays along with the invisible picture.
    -I have gone Admin and done all of the clearing and refreshing options.
    -I have renamed the picture and gave it a new title, which to me makes no sense why it would still display.
  • eww Member
    Ok so now I tested IE7.0 as the admin. When I changed the visibility it displayed correctly in the IE 7.0 browser. But when I went back to my computer with v8.0 it still displayed the old way, it didn't reflect the changes I made in 7.0 on the other computer.

    The one thing I noticed was that in 7.0 when I logged out, the log in option didn't display anymore. But in 8.0 the log in option still displays......
  • acrylian Administrator, Developer
    This means that your browser and/or server is not clearing the login data correctly. That also explains why the visible/invisible does not work. You might have to clear cookies or sessions manually then.
Sign In or Register to comment.