Closed (fixed)
Project:
Activity Stream
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
20 May 2008 at 21:58 UTC
Updated:
14 Aug 2008 at 17:52 UTC
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
Comment #1
akalsey commentedThis 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?
Comment #2
akalsey commentedComment #3
akalsey commentedClosing since there's been no response on this in several weeks.
Comment #4
motorbikematt commentedI 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:
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:
Additionally, I have noticed the following:
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!
Comment #5
akalsey commentedAahhh. 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.
Comment #6
akalsey commentedThe 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.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.