During the import process using the fullJournalTransfer plugin i received the following error:
ojs2 has produced an error
Message: WARNING: copy(/srv/http/ojs48/files/fullJournalImportExport/public/cover_article_58_pt_BR.doc): failed to open stream: Arquivo ou diretório não encontrado
In file: /srv/http/ojs48/lib/pkp/classes/file/FileManager.inc.php
At line: 152
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.6.21
Apache Version: N/A
DB Driver: mysql
DB server version: 10.1.13-MariaDB
Looking at the exported journal.xml: <setting name="fileName" type="string" locale="pt_BR">cover_article_58_pt_BR.doc</setting>
Inside an article session, that is, i believe somehow somebody did insert a doc file as the article cover and then deleted from the server. But this all seems very strange, like what happened to the original file?
Could anybody help me on removing the link between this missing file and the article, can i remove it as the editor and where should i look for it (i didn’t know ojs had support for article covers)?
I suspect (despite the name) that this is really just an article galley. See:
If you want to correct it in the original system, look for it under the usual location for galley files, under User Home → Editor → (select a submission) → Editing.
That’s exactly what i needed, i didn’t know where to find the reference to that file.
I wonder how a .doc file was uploaded in a field that should only allow image files, maybe somethings wrong with the MIME types on the server, but anyway.
We are proceeding to inform the editor of this and wait for his/her decision.
I hope OJS will let me delete a non-existent file, considering it could just fail saying that the file is not found and keep its reference on the database. I will post a follow up here as soon as we conclude the removal.