OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



original file names for uploads

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.

original file names for uploads

Postby wbt » Mon Apr 19, 2010 7:47 am

When a user uploads a file for review, the name gets changed to a systematic name (10-20-1-SM.pdf or something like that). This makes sense, because there will be no problem of duplicate file names. However, when authors upload their source material for the proceedings (.tex files and separate image files), the LaTeX source code refers to nonexisting file names, because all image files get renamed. I noticed that the original file names are stored in the MySQL database. Is there a simple way of renaming all files back to their original file names? Does anyone have a PHP script for that? Thanks!

Bye,

Wouter
wbt
 
Posts: 14
Joined: Thu Nov 12, 2009 1:25 pm

Re: original file names for uploads

Postby jmacgreg » Wed Apr 21, 2010 12:30 pm

Hi Wouter,

OCS doesn't handle this kind of situation particularly eloquently at the moment. We've been discussing on and off different ways of handling multi-file and interlinked submissions, but haven't come to any particular conclusion yet. Is there any chance you could send me a set of submission files that are emblematic of the submissions you get? You can email them to me at jmacgreg at gmail dot com. I probably won't be able to offer an immediate solution, but I'll be able to come up with a good bug report, which will be taken care of in due course.

There's also information on linking to other files in the system here, although this means you'll have to edit the LateX file links.

Cheers,
James
jmacgreg
 
Posts: 4182
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Technical Support

Who is online

Users browsing this forum: Baidu [Spider] and 2 guests