Closed (fixed)
Project:
iPaper
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Jun 2008 at 14:01 UTC
Updated:
15 Jun 2008 at 22:21 UTC
Jump to comment: Most recent file
careyhuang in #264976: Can install it on Drupal 6.2
in drupal 5.7 version, I'll have to click on "convert to iPaper" to be able to show iPaper document, can it be done in a auto way while the content is posted, the iPaper itself will convert the uploaded doc in to iPaper and display??
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | ipaper.module.patch | 1.29 KB | rares |
Comments
Comment #1
rares commentedHi,
On my installations I don't have this behavior, so there is a slight chance that this is due to the configuration on the server. You should normally be taken directly to /ipaper_transfer/node_id after you create or save a document. Do you have any modules that could be redirecting to another page when you save a node?
Also, perhaps you are being redirected but the document doesn't transfer, and thus you return to the node page because you don't. Are you receiving any other errors? If you enable logging on the module, do you see any requests to scribd.com being logged in watchdog when you create a node?
Finally, what version of php do you use with your 5.x Drupal?
--Rareş
www.calumea.ro
Comment #2
careyhung commentedhi Rares,
i'm testing iPaper on my local server
so the url is like "http://HostIp/drupal6/"
once I posted iPaper content, it'll direct me to:
"http://HostIp/drupal6//drupal6/ipaper_transfer/9"
which is a "page not found" page, the url is not point to the right place
maybe that's why I need to click it manually
Comment #3
rares commentedI've attached a patch that fixes the issue and redirect to ipaper_transfer correctly (the patch works for both 5.x and 6.x)
Basically you need to get rid of the url() function where ipaper.module sets
$_REQUEST['destination'] = url("ipaper_transfer/$node->nid");This bug was only affecting installations that had the drupal main path under a subdirectory.
You can get the updated code at cvs.drupal.org
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/ipaper/ipap...
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.