Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 12:04
    Asif Malik
    0

    Cached XML file not getting created

    Hi Darren,

    Am havign a bit of a problem getting your plugin to work. I am running Umbraco 4.6.1 and installed your version 2. I have checked and can confirm that the config file got created, the scheudled task was also created and all the files are in the correct place. I believe it is an issue with the scehduled taks because i can navigate to the umbraco/plugins/FergusonMoriyama/FeedCache2/FmFeedCache.aspx via the web browser and it creates the file as well as updates it. My settings are below

    <Configuration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <CachePath>D:\XXXXXXX\XXXXXX\XXXX\XXXXXXXXXX\www\App_Data\FeedCache</CachePath>
      <Feeds>
        <Feed>
          <Url>http://twitter.com/statuses/user_timeline/xxxxxxxxx.rss</Url>
          <LocalFile>twitter.xml</LocalFile>
        </Feed>
      </Feeds>
    </Configuration>

    The scheduled task is defined as

    <task log="true" alias="feedcache2" interval="60" url="http://XXXXXXXXXXXXXXX/umbraco/plugins/FergusonMoriyama/FeedCache2/FmFeedCache.aspx" />

    Your help is greatly appreciated


  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 12:07
    Asif Malik
    0

    Forgot to include the Umbraco log ... PS no errors are reported by the feed cacher

    Administrator -1 02/03/2011
    11:04:45
    Custom [FmFeedCache2] Loading config from disc
    Administrator -1 02/03/2011
    11:04:45
    Custom [FmFeedCache2] Ferguson Moriyama Feed Cache for Umbraco 4.5 is starting.
    Administrator -1 02/03/2011
    11:04:45
    Custom [FmFeedCache2] Looking for configuration in xx\xxxxxxx\xxxxxxx\xxxx\xxxxxxxx\www\config\feedcache2.config
    Administrator -1 02/03/2011
    11:04:45
    Debug [FmFeedCache2] Found feed: http://twitter.com/statuses/user_timeline/xxxxx.rss, twitter.xml
    Administrator -1 02/03/2011
    11:04:45
    Custom [FmFeedCache2] Loaded config from disc
    Administrator -1 02/03/2011
    11:04:45
    Custom [FmFeedCache2] Ferguson Moriyama Feed Cache for Umbraco 4.5 started.
  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Mar 02, 2011 @ 12:18
    Darren Ferguson
    0

    Do you get anything in the logs regarding the scheduled task?

     

  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 12:21
    Asif Malik
    0

    Thanks for your quick response. I have just checked through the log file and unfortunately no i couldnt find anything. The ability to run scheduled tasks doesnt have to be turned on does it ?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Mar 02, 2011 @ 12:38
    Darren Ferguson
    0

    No, but I have known there to be issues with them in certain hosting environments.

    If you can copy the URL directly from the scheduled tasks config file directly to your browser and everything works fine then troubleshooting scheduled tasks is where you need to focus your effort.

    I don't have access to an Umbraco environment right now but I do believe Umbraco logs when it runs a task - unless you have DEBUG disabled.

     

  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 12:41
    Asif Malik
    0

    I have checked the web.config and currently i have customerrors switched off, as well as debug set to true, is there somewhere else where DEBUG could be disabled ?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Mar 02, 2011 @ 12:52
    Darren Ferguson
    0

    Sorry I'm talking about umbraco logging - see config/umbraosettings.config

    Somewhere in there you can disable certain log types.

     

  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 12:54
    Asif Malik
    0
      <logging>
        <enableLogging>true</enableLogging>
        <enableAsyncLogging>true</enableAsyncLogging>
        <disabledLogTypes>
          <!-- <logTypeAlias>[alias-of-log-type-in-lowercase]</logTypeAlias> -->
        </disabledLogTypes>
      </logging>

    All logging is in its default state. Not sure if this helps but the site was originally made as a 4.5.2 and then upgraded to version 4.6.

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Mar 02, 2011 @ 13:05
    Darren Ferguson
    0

    I'm sorry - I can't help debug your install - but i'd firmly suggest you have an issue around scheduled tasks rather than with my package.

     

     

  • Asif Malik 203 posts 339 karma points
    Mar 02, 2011 @ 13:08
    Asif Malik
    0

    thanks for your help, will investigate scheduled tasks further.

Please Sign in or register to post replies

Write your reply to:

Draft