You are viewing the PKP Support Forum | PKP Home Wiki

Error in importing file

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.

Error in importing file

Postby sarangi » Mon Dec 17, 2007 10:19 am

I'm trying to import article using Import xml plugin. Here is the snippet of xml file

<href mime_type="application/pdf" src="https://someurl/528.pdf"></href>

However, I get this error message and the file is not imported
A specified URL "https://somerul/528.pdf" could not be copied to a local file.

What could be the cause for this error?

PS: someurl is actually replaced by a valid url in my xml file.
Posts: 22
Joined: Mon Oct 22, 2007 11:01 am

Re: Error in importing file

Postby jmacgreg » Mon Dec 17, 2007 1:13 pm

Hi Sarangi,

This one is a little bit more tricky. Do you have writeable access to your server's php.ini file? I suspect that the php.ini variable "allow_url_fopen" is set to Off. If you can change that to On and give the import a try, let me know.

You can view a more detailed breakdown of what may be happening here:


and here:


Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests