Closed (fixed)
Project:
iPaper
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2009 at 18:50 UTC
Updated:
13 Oct 2009 at 17:52 UTC
Hi. Installed the module. Put the API key in settings. Tried to create iPaper node by attaching a PDF. Then got this message:
Request failed (CURL) - failed creating formpost data - http://api.scribd.com/api?&access=private&file=%40sites%2Fcinemasaville....
Any ideas?
Thanks...
Comments
Comment #1
stangslvr commentedI am getting the same error message now. I have used this for months now with little to no trouble. I have been able to successfully upload my pdf to my scribd account on scribd.com and then put the document id and key into the ipaper content type. That at least is a temporary fix until the module can talk to scribd again.
Comment #2
rares commentedCould both of you try the most recent -dev version (Oct 6/7)? There have been a number of improvements. If you don't see that version yet, wait a few hours: I just uploaded the latest files.
For the CURL error a workaround may be using the new option on the admin page called "request framework" (at the bottom). Choose "fopen". Does that work?
Comment #3
CinemaSaville commentedYes, the "fopen" method works. Thanks for the quick response, and thanks for the wonderful module.
Comment #4
rares commentedGreat to hear that. The 6.x-1.0 version is also available now, with some small bug fixes over that -dev version.
Comment #5
stangslvr commentedrares-
Thanks for all your suggestions and new updates, but I cant seem to get it to work. Ive installed the latest version today and getting several errors in my logs. I also switched to the fsockopen meathod you mentioned with more errors. Any ideas?
With Fsockopen-
error ipaper Oct 13 2009 - 9:26am fsockopen might not be supported on your server. ...
error ipaper Oct 13 2009 - 9:26am Request failed (FOPEN) - Connection timed ...
ipaper Oct 13 2009 - 9:14am Scribd error #:
error ipaper Oct 13 2009 - 9:14am Request failed (CURL) - - ...
Comment #6
stangslvr commentedAnother message="Invalid file parameter - you attempted to pass a string literal as a file. You need to call a multi-part POST, passing the file as file data instead of a simple parameter"
Comment #7
rares commentedHave you asked your host if either CURL or FOPEN are supported? Also, is your files folder in its default location? If not, where is it exactly? Can you enable logging for the module and paste the request URLs?
Comment #8
stangslvr commentedcurl cURL support enabled cURL Information libcurl/7.12.1 OpenSSL/0.9.7a zlib/1.2.1.2 libidn/0.5.6
That should be supported correct? I have been using this module for well over 8 months with no problems...just in the last two weeks I hit a road block and upgraded.
File folder is under defaults as by default.
Latest message in logs
Request failed (CURL) - - http://api.scribd.com/api?&file=%40sites%2Fdefault%2Ffiles%2FTRADER_1008...
Comment #9
rares commentedand when you go to http://yoursite.com/sites/default/files/TRADER_1008_0.pdf you can access the file?
Also, judging by the output, it looks like you using a version of the module before 6.x-1.0 (api_sig and api_key should not be included in the URL). Can you download 6.x-1.1?
You should edit your previous comment and remove the link so that the security of your Scribd account is not compromised.
Comment #10
stangslvr commentedrares-
Thank you so much for all your help and hard work on this module. My stupid server company decided to put a firewall on my server which blocked this process. All clear now! Thanks again.