You are viewing the PKP Support Forum | PKP Home Wiki

Proxy configuration

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

Forum rules
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.

Proxy configuration

Postby ntorres » Wed Nov 07, 2012 4:15 am

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

Re: Proxy configuration

Postby asmecher » Wed Nov 07, 2012 9:46 am

Hi Natalia,

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.)

Alec Smecher
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: Baidu [Spider], Bing [Bot], Google [Bot] and 5 guests