Support » Plugins » [Plugin: AmR iCal Events List] Plugin not working – Error writing cache file

  • Resolved scole_direct

    (@scole_direct)


    Hi,
    Trying to get the AmR iCal plugin working on WP 2.8.4 and not having any luck. Have tried the suggestions on troubleshooting page (including different calendar files, pointing to local calendar files, changing URL parameters, etc). PHP 5.2 installed and DateTime class enabled. I am noticing I get a “Error writing cache file” message when I first load the page (have also tried using the nocache parameter in URL). I’ve checked and have RW permissions on wp-content directory. Any help or suggestions would be great!
    Thanks,
    Stuart

    http://wordpress.org/extend/plugins/amr-ical-events-list/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter scole_direct

    (@scole_direct)

    Addendum: Just tried testing on a local version of WP (2.8.4 as well) and was able to view the calendar as expected. I then took the corresponding file from the local wp-content/uploads/ical-events-cache directory and copied it to the remote server folder (the file there existed but with no content). This backend hacking worked but only a temporary fix to test it. So I think my question is, what would cause the initial cache file creation to fail and how can I fix it?
    Thanks!
    Stuart

    anmari

    (@anmari)

    Sounds almost definitely like a permissions problem then.

    See
    http://wordpress.org/support/topic/287597

    The plugin needed to be able to create the ical-events-cache folder under the uploads folders and then needs to be able to write to it.

    Thread Starter scole_direct

    (@scole_direct)

    Thanks for the response and link suggestion. Have tried all of the permissions settings but still no joy:
    – wp-content/uploads and child directories recursively set to 777
    – Misc: “Store uploads in this folder” set to “wp-content/uploads”
    – left “Full URL path to files” blank

    I can upload new media to the uploads directory no problem. And the plugin seems to be writing a (zero byte) cache file to the subdirectory when I load a new page with a calendar reference. The cache directory is set to 777 but for some reason the new cache files show up 644 (rw by owner, read only by group and others).

    Not sure I’m going to be able to resolve this with this host provider.

    anmari

    (@anmari)

    Hi scole – I have just double checked the refresh here on this site and I have no problem, also no one else has flagged a problem.

    If you like to be sure that it is your setup, try registering at http://icalevents.anmari.com (you will be created as a contributor and able to create a draft – then do a preview). Create a post with your ics file, preview, update your ical refresh and see it working with your ics file.

    anmari

    (@anmari)

    Hi Scole,

    Are you on a shared server – possibly with safe mode enabled?

    I think there may be a problem with wp_mkdir_p in that situation. I have made some changes and done some testing, but it is late here so will not upload new version till tomorrow and another test.

    Once i have done that, I’d appreciate if you would try it again.

    Thanks

    Thread Starter scole_direct

    (@scole_direct)

    Hi,

    Not sure what the problem was, but resolved when I moved to a different host (all other things being equal). Working fairly well now. Just figuring out some of the configuration parameters.

    Thanks,
    Stuart

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: AmR iCal Events List] Plugin not working – Error writing cache file’ is closed to new replies.