You are viewing the PKP Support Forum | PKP Home Wiki

Import Errors

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.

Import Errors

Postby ariadatexts » Fri Jun 01, 2007 9:05 am

So I've made my XML file detailing the previous issues of our journal. They are just a random selection of formats, but all available on the Web as PDFs and/or HTML.

First I tried including the content files with the <supplementary_file> element but I got the following error:
Code: Select all
A specified URL "http://www.ariada.uea.ac.uk/ariadatexts/ariada1/content/phil_duet.html" could not be copied to a local file.

for each file.

So I tried replacing them all with <galley> or <htmlgalley> elements (depending on content) but I get the same error messages.

Does anyone know why this is happening? Could it be a permissions error? I notice that my XML document has appeared in my uploads/temp directory. And that the "site" and "journals" upload directories are both empty.

And am I trying to do the right thing? The <file mime_type="..." src="..." /> elements point to the HTML/PDF fulltext of the original editions and are delivered over HTTP.

Posts: 4
Joined: Fri Jun 01, 2007 4:02 am
Location: Norwich, UK

Postby asmecher » Fri Jun 01, 2007 1:56 pm

Hi ariadatexts,

The approach you're taking is correct; I suspect a permissions problem in your files directory. Check your server log (for Apache, typically error_log) to see if there are any details there. If you're using the command-line import/export tool, you'll often have to make special concessions to ensure that the files directory and its contents are writable both by your user and by the webserver user (typically "www-data", "apache", or "nobody", depending on your OS and configuration).

Alec Smecher
Public Knowledge Project Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

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