Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
We recently upgrade our OJS installation to 2.3.7 . Now we need to work with proxy, so we configure config.inc.php options to use it and it seems that everything works fine except the native plugin import.
When the article galley is a pdf file located in external URL there's a problem to get it. The apache log shows a network problem. We traceroute requests thow proxy and detect that Native ImportExport Plugin is not using proxy configuration on config.inc.php.
We need to configure somethig else? How we can force plugin to work using proxy=
- Posts: 65
- Joined: Thu Nov 17, 2005 1:19 am
I've filed this issue at http://pkp.sfu.ca/bugzilla/show_bug.cgi?id=8007
. In the meantime, another approach would be to embed the content directly in the import XML using base64 encoding (see the <embed> element). Alternately, modifying the import/export code to use a proxy would involve modifying the "copy" function in lib/pkp/classes/file/FileManager.inc.php to use stream context options (see stream_context_create
and the $resource parameter to the copy
function. (This will require PHP >=5.3.)
Public Knowledge Project Team
- Posts: 10015
- Joined: Wed Aug 10, 2005 12:56 pm
Return to OJS Technical Support
Who is online
Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 2 guests