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.

Magpie cache not refreshing

January 13, 2011 11:43am

Subscribe [3]
  • #1 / Jan 13, 2011 11:43am

    Airtype Studio

    14 posts

    Hello,

    I am using Magpie in two templates of a project and I’m having the same problem in both cases.

    Magpie is pulling in the feed correctly, but the cache will never refresh.

    The cache/magpie_cache folder is set to 777. The files inside are set to 666 (not sure whether this is as it should be - the server will not let me manually change them).

    The feed does have the new items in it (I can’t give the proper link as it is behind an htaccess password).

    The cache files have not been modified since January 7. If I delete them, the new items from the feed will show up in my rendered template.

    Here are the two code snippets from my templates (truncated to only show the relevant sections - please note again that the feed url will not work for you unless you know the password. I hardcode the password into the link during development.):

    pages/home

    {exp:magpie parse="inward" url="http://www.website.com/feed/" limit="3" refresh="60"}{magpie:items}
    <dt><a href="http://{magpie:link}">{magpie:title}</a></dt>
    <dd>{exp:trunchtml chars="140" inline="…"}{magpie:description}{/exp:trunchtml}</dd>
    {/magpie:items}{/exp:magpie}

    pages/performance

    {exp:magpie url="http://www.website.com/feed/" refresh="60"}{items}
    <div><blockquote>{description}<cite>{title}</cite></blockquote></div>
    {/items}{/exp:magpie}

    Any help would be appreciated. Thanks!
    Marcus

  • #2 / Jan 14, 2011 2:11am

    John Henry Donovan

    12339 posts

    Marcus ,

    What version and build of EE are you using?

    Can you test with a feed you don’t have to authenticate.
    Like this one for example

  • #3 / Jan 14, 2011 12:40pm

    Airtype Studio

    14 posts

    Hi,

    We’ve been under the gun on it so we just wrote a cron job to delete the cache files every hour. This will take care of it for now - we’ll let you know if we see any other issues.

  • #4 / Jan 14, 2011 6:18pm

    Sue Crocker

    26054 posts

    Sounds good. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases