Hi Alec,
As you suggested, I’ve added:
echo "MKDIRTREE : $dirPath".PHP_EOL;
at the beginning of FileManager::mkdirtree, and the output now was the following:
[code]
MKDIRTREE : /ojs_temp/rc-3.0.1_files/journals/18//articles/6005
MKDIRTREE : /ojs_temp/rc-3.0.1_files/journals/18//articles/7550//attachment
MKDIRTREE : /ojs_temp/rc-3.0.1_files/journals/18//articles/7550
/ojs_temp/rc-3.0.1_files/journals/2//articles/6434/attachment/6434-1-33005-2-13-20120920.docx -> /ojs_temp/rc-3.0.1_files/journals/2//articles/6434/submission/6434-16-33005-2-2-20120920.docx
/ojs_temp/rc-3.0.1_files/journals/2//articles/868/attachment/868-1-3522-1-13-20080125.jpg -> /ojs_temp/rc-3.0.1_files/journals/2//articles/868/submission/868-14-3522-1-2-20080125.jpg
->
PHP Warning: assert(): Assertion failed in /ojs_temp/rc-3.0.1/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 380
PHP Stack trace:
PHP 1. {main}() /ojs_temp/rc-3.0.1/tools/upgrade.php:0
PHP 2. UpgradeTool->execute() /ojs_temp/rc-3.0.1/tools/upgrade.php:34
PHP 3. UpgradeTool->upgrade() /ojs_temp/rc-3.0.1/lib/pkp/classes/cliTool/UpgradeTool.inc.php:64
PHP 4. Installer->execute() /ojs_temp/rc-3.0.1/lib/pkp/classes/cliTool/UpgradeTool.inc.php:88
PHP 5. Installer->executeInstaller() /ojs_temp/rc-3.0.1/lib/pkp/classes/install/Installer.inc.php:186
PHP 6. Installer->executeAction() /ojs_temp/rc-3.0.1/lib/pkp/classes/install/Installer.inc.php:265
PHP 7. call_user_func:{/ojs_temp/rc-3.0.1/lib/pkp/classes/install/Installer.inc.php:415}() /ojs_temp/rc-3.0.1/lib/pkp/classes/install/Installer.inc.php:415
PHP 8. Upgrade->convertSupplementaryFiles() /ojs_temp/rc-3.0.1/lib/pkp/classes/install/Installer.inc.php:415
PHP 9. PKPSubmissionFileDAO->updateObject() /ojs_temp/rc-3.0.1/classes/install/Upgrade.inc.php:1269
PHP 10. assert() /ojs_temp/rc-3.0.1/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php:380
MKDIRTREE :
<h1>There are no readable files in this directory tree. Are safe mode or open_basedir active?</h1>ojs2: There are no readable files in this directory tree. Are safe mode or open_basedir active?
I still believe that there is an empty file name or path somewhere… Where in the database is the information about these files stored?
Regards,
Oberdan