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
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

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