So far, this simply does not work. Perhaps there are things I do not know to make it work, the documentation is remarkably scant.
Here's the message I get when I try to upload a doc to ipaper and do a preview or open one I've saved:
The previous attempt to convert this document to an iPaper failed. Click here to retry.
When I hit submit during creation and if I click the link above when viewing, I get a completely BLANK screen. When I go to ipaper to look if something has been uploaded, nothing has.
I'd like this to work, it seems like a neat idea. I'd like to help you test it. Oh, my site is running PHP4, just noticed that you hadn't tested this with PHP4.
- Erin
Comments
Comment #1
rares commentedHi,
As it turns out, the code of the module was incompatible with php4 in several places. I've just done a CVS commit (both 5.x and 6.x) of a version that parses under php4. However, it is not functional because simplexml_load_string(), which the module depends on to interpret results from Scribd, is not available in php4. I've created another issue about php4 compatibility #272299: PHP4 Compatibility, where you can see the progress on finding a replacement for that.
In the meantime, if you have access to a php5, you can help test the latest development version (5.x and 6.x are both updated with the latest bugfixes). I will include a more extensive how-to guide in the next version of the README, but hopefully you will find that the module is easy to use and functional if you are able to find a server to support the current version.
Best,
Rareş
Comment #2
halfelven commentedDoesn't work in PHP5, either. This really needs more documentation before I spend more time testing it.
It comes back saying "Scribd error #:" with no error number.
Here's what the sent URL looks like:
http://api.scribd.com/api?&file=@/mypath/html/sitename//mypath/files/prizelist.doc&api_key=myapikey&method=docs.upload
If I use the secret key method also, it has that included on the send line. Looks like the error may be the double // after sitename. Does this only work if file uploads go to a directory off the sitename directory? Looks like it. I don't do that, I use the private storage option and so list the complete directory info in that particular Drupal box.
If this only works with publicly stored documents, it should be in the documentation.
- Erin
Comment #3
rares commentedSee #272986: Does not work with private uploads outside Drupal directory for a solution to the above problem. I will be also be adding a more descriptive error message to the next version for cURL errors.
Rareş
Comment #4
kamleshpatidar commentedhi rares,
Thank you for such a great module.will u please provide more documentation or handbook on it?
I tested your module on php5.x but it's not working.It Upload all files to mysite/files/File.TXT . but i am getting The previous attempt to convert this document to an iPaper failed. Click here to retry.. when i goes to click on this link for retry ,i am geeting 1 error & 1 warning
* Request to Scribd.com failed. See the event log for more details.
* Scribd error #:
In event log file i got Error that is
Request failed (CURL) - failed creating formpost data - http://api.scribd.com/api?&file=@files/README.txt&api_key=myapikey&metho...
will u please help me to get rid out of this?
Thanx in Advance
kamlesh patidar
Comment #5
rares commentedHi,
What does the event log say? go to http://yoursite/admin/logs/watchdog (Drupal 5) or http://yoursite/admin/reports/dblog (6.x) for the message. When you paste it here, do not include the api_key parameter (that is for your eyes only).
Rares
Comment #6
kamleshpatidar commentedhi rare
thank you for such a quick response. i solved it by myself, with your help. i just edited this line 339 in ipapar.module to
$url =getcwd() . '/'. $file->filepath;
from
$url = $file->filepath;
& my application is working perfectly without any error. i can see my File in My account on scribd.com.
Is it right? i think it's temporary solution.am i right?
Thanx in Advance
kamlesh patidar
Comment #7
rares commentedFor some reason I did not see that you had already posted the message from the event log. The error in the event log meant that it can't find the file. I'm happy you found a way to get it to work. I've reopened #272986: Does not work with private uploads outside Drupal directory, can you take a look at my last comment (#3) and help me figure this out?
Rareş
Comment #8
rares commentedThe README file has been overhauled in the latest development version (6/29).
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.