Hello,
I am using drupal: 4.5.2 and delicious module dated 4-12. When I click on "Links" below the post, I get the this msg: warning: file_get_contents(files/postsall): failed to open stream: No such file or directory in /home/jwilde/public_html/mybiz/modules/delicious/delicious.module on line 449. The tags are created and displayed, but I get the same error msg with a blank page.
Any ideas?
Thanks,
Jim
Comments
Comment #1
fx-1 commentedHi Jim --
I am also moving your other question:
Start by making sure a subdirectory named "files" exists under your drupal install directory. I think drupal as of 4.5.1 or 4.5.2 will try and create this for you and warn you if it can't, when you view /admin/settings/ or ?q=admin/settings
If it does, look in there for the file "postsall" and make sure it contains xml output from delicious.
If not, here are some possible remedies:
a) make sure you have a host crontab entry for drupal's /cron.php
b) bearing in mind that the module only attempts to update del.icio.us data once per hour AND only then if you have posted a new item to del.icio.us recently (since the last update); post a new item to del.icio.us, wait for the hour to pass, and check the admin logs. you should see a watchdog entry indicating "delicious data has been updated" and files/postsall should contain the latest post. if not, the update didn't get invoked
c) if by chance you had manually created postsall, make sure the server process owner has write permission for it
hope one of those helps...
Comment #2
jwilde commentedHi Benjamin,
Thank you for your help. I tried what you suggested, even set up a seperate dir for the tags. The tags are getting updated, but I am not able to display the url's attached to the tags on the dilicious links page. The only thing that gets displayed is the tag from the list of tags. My site is www.advancinginginsights.com/mybiz. If you click on the links at the bottom of the post, you get all of the delicious tags; but, when you click on the tag - nothing. Any ideas what I might be doing wrong?
Best regards,
Jim
Comment #3
jwilde commentedsorry about the link - www.advancinginsights.com/mybiz
Comment #4
fx-1 commentedOkay, now we're getting somewhere...
I'm getting a 403 for your posts file:
http://www.advancinginsights.com/mybiz/files/postsall
try 'chmod ugo+rwx mybiz/files/postsall' ?
Comment #5
jwilde commentedI'm sorry, but i do not know what you mean. I have ftp and set the files to 777 if that is what you are saying.
Comment #6
fx-1 commented777 is okay.
But, still, the server is denying access to:
http://www.advancinginsights.com/mybiz/files/postsall
and also to:
http://www.advancinginsights.com/mybiz/files/
And if you can't access those paths in the browser, it is possible the module can't either. Both requests -- from the browser, and from the module -- are handled by the same server process owner.
Here are some other things to check:
Is the files directory itself readable?
Are there any access rules in .htaccess affecting access to the files subdirectory?
see also: http://httpd.apache.org/docs/misc/FAQ.html#malfiles for more info on a possible cause, as a Files rule in your .htaccess might be denying access to a list of directories, including "files".
Comment #7
jwilde commentedHi Benjamin,
Thank you so much for all of your help yesterday, I appreciate your time! I am not really sure what exactly fixed the problem, but I know it was because of your help that everything is working fine.
Cordially,
Jim Wilde
Comment #8
jwilde commentedHi Benjamin,
Thank you so much for all of your help yesterday, I appreciate your time! I am not really sure what exactly fixed the problem, but I know it was because of your help that everything is working fine.
Cordially,
Jim Wilde
Comment #9
fx-1 commentedThanks Jim, good to hear it's working for you.