You are viewing the PKP Support Forum | PKP Home Wiki

A specified URL could not be copied to a local file

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

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.

A specified URL could not be copied to a local file

Postby cloneyang » Wed Jan 19, 2011 7:22 pm

I installed OJS on my test Windows 2003 server with IIS5 and PHP5. The server works fine, but it always have error when I tried to use Articles & Issues XML Plugin to import an journal issue. OJS gives an error message below

"One or more errors occurred during import. Please check to ensure that the format of the import file correctly matches the specification. Specific details of the import errors are listed below.
A specified URL "http://www.rnzcgp.org.nz/assets/documents/Publications/JPHC/March-2010/JPHCContentsMarch10.pdf" could not be copied to a local file.

Here is the XML file I tried. It contains link to PDF file on website. I read post on viewtopic.php?f=2&t=6051 and followed the instruction to turn allow_url_fopen = On and allow_url_include = On on php.ini, but it does not solve the problem. Appreciate if any one can help me point out what I did wrong. Many thanks.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE issues PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/2.3/native.dtd">
<issue published="true" current="true" public_id="smw-00021">
<title>21/12/2010 (issue 21-01, 2010)</title>
<caption>Titelseite PDF-Import March 21</caption>
<title>Table of Contents</title>
<abstract>Diabetes mellitusc patients....ass graft surgery versus percutaneous coronary intervention) in diabetic patients with coronary artery disease depends on clinical and anatomic considerations.</abstract>
<author primary_contact="true">
<affiliation>Schwabe AG Informatik</affiliation>
<href mime_type="application/pdf" src="http://www.rnzcgp.org.nz/assets/documents/Publications/JPHC/March-2010/JPHCContentsMarch10.pdf"/>
Posts: 1
Joined: Wed Jan 19, 2011 6:53 pm

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 3 guests