@sahmad wrote:
I am trying to import XML using the following command
php tools/importExport.php NativeImportExportPlugin import xml/[journal]/issue.xml [journal_path] admin
The output for this command is:
PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /var/www/html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 386 PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/html/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20 PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /var/www/html/classes/article/SubmissionFileDAO.inc.php on line 23 PHP Warning: Declaration of TemporaryFileManager::downloadFile($fileId, $userId, $inline = false) should be compatible with FileManager::downloadFile($filePath, $mediaType = NULL, $inline = false, $fileName = NULL) in /var/www/html/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19 PHP Warning: Declaration of TemporaryFileManager::deleteFile($fileId, $userId) should be compatible with FileManager::deleteFile($filePath) in /var/www/html/lib/pkp/classes/file/TemporaryFileManager.inc.php on line 19 PHP Notice: tempnam(): file created in the system's temporary directory in /var/www/html/lib/pkp/plugins/importexport/native/filter/NativeXmlSubmissionFileFilter.inc.php on line 267 PHP Notice: tempnam(): file created in the system's temporary directory in /var/www/html/lib/pkp/plugins/importexport/native/filter/NativeXmlSubmissionFileFilter.inc.php on line 267 PHP Notice: tempnam(): file created in the system's temporary directory in /var/www/html/lib/pkp/plugins/importexport/native/filter/NativeXmlSubmissionFileFilter.inc.php on line 267 Warnings encountered: 1.Submission - The provided filesize "832446" and the actual filesize "" do not match 2.Submission - The provided filesize "530111" and the actual filesize "" do not match 3.Submission - The provided filesize "272401" and the actual filesize "" do not match Errors occured: 1.Submission - Temporary file /tmp/srcfBDyx5 could not be created from /var/www/html/xml/[journal]/[filename_1].pdf 2.Submission - Temporary file /tmp/srcW5aZiA could not be created from /var/www/html/xml/[journal]/[filename_2].pdf 3.Submission - Temporary file /tmp/srcU4w8Y6 could not be created from /var/www/html/xml/[journal]/[filename_3].pdf PHP Warning: Declaration of IssueFileManager::downloadFile($fileId, $inline = false) should be compatible with FileManager::downloadFile($filePath, $mediaType = NULL, $inline = false, $fileName = NULL) in /var/www/html/classes/file/IssueFileManager.inc.php on line 189
However, when I trying importing the same XML file online using the web interface, it imports without any issue.
Posts: 1
Participants: 1