You are viewing the PKP Support Forum | PKP Home Wiki

Import/Export Data Error

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
What to do if you have a technical problem with OCS:

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. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

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 OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Import/Export Data Error

Postby CharlieJ » Wed Sep 14, 2011 1:00 pm

I keep getting an error message when I try to import an issue using the import/export data template: The upload failed; please ensure that uploads are allowed on your server and that the file is not too big for your PHP and web server configuration.

Can anyone tell me what errors or misconfigurations may be blocking the upload?

xml file itself is 16KB, but it references the html and pdf versions of the articles that are already on the server that total 1084KB. Do these files also count in the size of the upload? The html files also reference a number of jpgs (author photos and figures). Are they also considered part of the total xml upload?
Header lines read:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE issue PUBLIC "-//PKP//OJS Articles and Issues XML//EN" "http://pkp.sfu.ca/ojs/dtds/native.dtd">

I would appreciate any advice you good folks could offer. Issue is due out tomorrow!

Charles Jakiela
Posts: 33
Joined: Sun Oct 24, 2010 2:44 pm

Re: Import/Export Data Error

Postby JasonNugent » Thu Sep 15, 2011 2:48 am

Hi Charles,

This is speculation at this point, but one thing I noticed from your phpinfo is that your server is running PHP in a CGI/FastCGI environment. I would have to do some testing to see if the "regular" way of doing file uploads in PHP is supported in that environment. Do other regular file uploads work? For example, can you customize your conference via the Manager interface for Step 3 - Website Headers, etc, area and upload things like a masthead logo?


Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests