Every time cron jobs run automatically, i get these errors:

/tmp/ddc5039d9fb6cb8b3619f34b005e6e91.spc is not writeable in /home/feedad/public_html/modules/activitystream/activitystream_feed/simplepie.inc on line 1762.

file_put_contents(/tmp/ddc5039d9fb6cb8b3619f34b005e6e91.spc) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in /home/feedad/public_html/modules/activitystream/activitystream_feed/simplepie.inc on line 8209.

i have set up cron jobs run every 15minustes but cron jobs run 3 times per hour.

Comments

akalsey’s picture

This looks like a config problem on your server. Every user (including the one that the web server runs under) should have write permissions to /tmp

Can you check with your server admin about this?

akalsey’s picture

Status: Active » Postponed (maintainer needs more info)
akalsey’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closing since there's been no response on this in several weeks.

motorbikematt’s picture

Version: 5.x-1.x-dev » 6.x-2.x-dev
Assigned: Unassigned » motorbikematt
Category: bug » support
Status: Closed (fixed) » Postponed (maintainer needs more info)

I too am getting the same problem as described by skullJ. I should forewarn you, I am a novice, meaning far more dangerous than your typical n00b, though so far I've not gotten into trouble that I could not backtrack out of. :)

I am actually having success with the module. I see activity streams from all my accounts EXCEPT I cannot see the actual photos for the Flickr entires. I can only see the photograph's filename. I have also entered my API key into the Admin settings.

Whenever I run cron manually, I get a series of 9 errors that generally appear like the following:

  • user warning: /tmp/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.spc is not writeable in X:\(path truncated)\wwwroot\notes\sites\all\modules\activitystream\activitystream_feed\simplepie.inc on line 1762.
  • Googling the error message suggests two things: 1) It's a widespread problem & 2) it's an issue with Simplepie script wanting permission to write to the database.

    My database (phpMyAdmin - 2.9.2) has two tables: "activitystream" & "activitystream_accounts". These tables do not have any apparent problems with the permissions.

    Coincidentally, I see a number of things that convince me it's Flickr. First, I only have 9 photos on Flickr. Secondly, the following SQL querys produce interesting results:

    SELECT COUNT( * ) AS `Rows` , `data`FROM `activitystream`GROUP BY `data`ORDER BY `data`LIMIT 0 , 30
    Rows 	data
    9 	 
    20 	a:2:{s:7:"favicon";b:0;s:9:"feedtitle";s:45:"Motorbikematt's shared items in Google Reader";}
    14 	a:2:{s:7:"favicon";s:27:"http://digg.com/favicon.ico";s:9:"feedtitle";s:30:"digg / motorbikematt / history";}
    22 	a:2:{s:7:"favicon";s:30:"http://twitter.com/favicon.ico";s:9:"feedtitle";s:23:"Twitter / motorbikematt";}
    39 	a:2:{s:7:"favicon";s:30:"http://www.last.fm/favicon.ico";s:9:"feedtitle";s:38:"motorbikematt's Recently Played Tracks";}
    15 	a:2:{s:7:"favicon";s:32:"http://delicious.com/favicon.ico";s:9:"feedtitle";s:23:"Delicious/motorbikematt";}
    
    SQL query: SELECT COUNT( * ) AS `Rows` , `module` FROM `activitystream` GROUP BY `module` ORDER BY `module` LIMIT 0, 30 ; 
    Rows 	module
    15 	activitystream_delicious
    14 	activitystream_digg
    20 	activitystream_feed
    9 	activitystream_flickr
    39 	activitystream_lastfm
    22 	activitystream_twitter
    

    Additionally, I have noticed the following:

    FIELD  	TYPE  	COLLATION  	ATTRIBUTES  	NULL  	DEFAULT
    data  	text   	utf8_general_ci  	  	Yes    	 NULL
    

    My questions are:

      A) Does Activity Stream normally display the Flickr photo within the assigned node or block
      B) Is the apparent coincidence a legit correlation?
      C) For the 'data' FIELD under the 'activitystream' TABLE, should the TYPE be set to 'text' or some other data?

      Let me know what you think, or if you need additional data..Thanks!

    akalsey’s picture

    Status: Postponed (maintainer needs more info) » Fixed

    Aahhh. You're on Windows.

    This was fixed in 5.x a long time ago. The same fix is now in CVS for 6.x and should show up in the development snapshot within 24 hours.

    akalsey’s picture

    The fix, in case anyone cares, is that I was using /tmp for the simplepie temp directory. That path doesn't exist on Windows, so it failed. I'm now using the global temp directory set in the Drupal settings.

    Anonymous’s picture

    Status: Fixed » Closed (fixed)

    Automatically closed -- issue fixed for two weeks with no activity.