OJS OCS OMP OHS

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Proxy configuration

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

Hi,
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=

Thanks.

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

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9050
Joined: Wed Aug 10, 2005 12:56 pm


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 1 guest