The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Simplepie issues

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #34904

    I’m trying to use simplepie within a wordpress template. I know there’s a simplepie plugin out there but i really want to get myself away from using plugins and try doing things myself.

    Following Chris’ screencast on the subject, i’ve done the following:

    1. Created two new directories in my wordpress theme folder, “cache” and “inc”.

    2. Placed the file into the “inc” folder.

    3. Included the following at the top of my header.php file.

    //get the simplepie library

    //grab the feed
    $feed = new SimplePie();


    //enable caching

    //provide the caching folder

    //set the amount of seconds you want to cache the feed

    //init the process

    //let simplepie handle the content type (atom, RSS...)


    4. Set the file permissions on the “cache” folder to 777 (tried 755 also)

    Unfortunately these errors appear at the top of my page:

    Warning: cache/5b60105eb4ce277db99d436af8b812b9.spc is not writeable in /nfs/c08/h01/mnt/120506/domains/ on line 1773

    Warning: cache/570cbd2a6f5e3c8d32b539d47fb9dc41.spc is not writeable in /nfs/c08/h01/mnt/120506/domains/ on line 1668

    Warning: cache/4f00777ba735f7a90601c8c02fadd110.spc is not writeable in /nfs/c08/h01/mnt/120506/domains/ on line 1773

    From looking at those errors i can’t work out if it’s a path error or a permissions error?

    Any ideas?

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.