ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Entries disappearing after edit

April 22, 2010 5:22am

Subscribe [2]
  • #1 / Apr 22, 2010 5:22am

    Mike Bean

    14 posts

    I’m having trouble with entries disappearing after they have been edited. It doesn’t seem to be the same problem discussed in http://ellislab.com/forums/viewthread/86504/ My statuses still show open, and I’m logged in as Super Admin.

    The entries are still showing in the entires list in the admin area, but they don’t show up in my templates. The template code should spit out a list of entries filtered by channel:

    {exp:channel:entries  channel="about" dynamic="no"}
    <a href="http://{url_title_path=about}">{title}</a>                    
    {/exp:channel:entries}

    All entries in this channel show up in the rendered template, except those that have been edited.

    Can anyone help me get to the bottom of this please?

  • #2 / Apr 22, 2010 6:32am

    Mike Bean

    14 posts

    Just a bit of addition information:

    I’ve just checked the database, and it looks like EE is ‘forgetting’ entries on edit. The entries list shows 6 entries in my ‘about’ channel but total_entries in exp_channels is 4.

    Any ideas?

  • #3 / Apr 22, 2010 8:41am

    Sue Crocker

    26054 posts

    Mike Bean, if you look closely, you’ll see that the entries are now in the future. This is a known bug, and to get around it you could add

    show_future_entries=“yes”

    to your exp:channel:entries tag.

  • #4 / Apr 22, 2010 8:47am

    Mike Bean

    14 posts

    Thanks for pointing me in the right direction. I’ve turned daylight saving off in my member profile and that seems to have fixed it.

  • #5 / Apr 22, 2010 9:39am

    Sue Crocker

    26054 posts

    So in your case, you were only an hour off? If you look at the bottom of your cp pages, what does it say for version number and build?

  • #6 / Apr 22, 2010 10:14am

    Mike Bean

    14 posts

    That’s right. Version and build: v2…0.2pb01

    I checked the time on my server, and then changed all my member settings to match. It seems to have fixed the problem. 

    I’m guessing you need to look at how times are calculated relative to the server time. Most users aren’t going to be able to change the server time, and for many it could be quite different to that in their physical location. If times are calculated differently on ‘create’ vs ‘update’ then that would likely cause a problem.

  • #7 / Apr 22, 2010 10:23am

    Sue Crocker

    26054 posts

    We found what may be the problem, but let’s leave your settings alone for the moment. 😊

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases