PHP 1. {main}() /home/david/Project/update/ojs-3.1.0-1/tools/upgrade.php:0
PHP 2. UpgradeTool->execute() /home/david/Project/update/ojs-3.1.0-1/tools/upgrade.php:34
PHP 3. UpgradeTool->upgrade() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/cliTool/UpgradeTool.inc.php:64
PHP 4. Installer->execute() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/cliTool/UpgradeTool.inc.php:88
PHP 5. Installer->executeInstaller() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/install/Installer.inc.php:186
PHP 6. Installer->executeAction() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/install/Installer.inc.php:265
PHP 7. call_user_func:{/home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/install/Installer.inc.php:415}() /home/babaei/Project/update/ojs-3.1.0-1/lib/pkp/classes/install/Installer.inc.php:415
PHP 8. Upgrade->convertSupplementaryFiles() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/install/Installer.inc.php:415
PHP 9. PKPSubmissionFileDAO->updateObject() /home/david/Project/update/ojs-3.1.0-1/classes/install/Upgrade.inc.php:1403
PHP 10. assert() /home/david/Project/update/ojs-3.1.0-1/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php:373
<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?
when i run “php tools/upgrade.php upgrade” return such error !
i don’t know how could i solve that?
please Help me
Is there anybody to help me ? and share her or his idea ?!
bozana
February 5, 2018, 11:30am
3
Hi @mbabaei
Could you try this SQL statement in your database:
SELECT a.article_id FROM articles a LEFT JOIN sections s ON (a.section_id = s.section_id) WHERE s.section_id IS NULL
Seem to be something similar to this post:
Hello all,
For some days now I’m trying to do a test upgrade on our OJS. Several minor problems like convert file extensions to lower case, empty date fields, and articles with no section_id were already corrected, but I’m still getting the error:
[code]
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_…
maybe this one too:
Hi,
I am upgrading from version 2.4.8.2 to 3.1.0 and am encountering the following warning:
[date: dbscripts / xml / upgrade / remove_timed_views_bots.xml (skipped)]
[date: dbscripts / xml / upgrade / 3.0.0_preupdate_commentsToEditor.xml]
[code: Installer :: concatenateIntoAbout]
PHP Warning: Invalid argument supplied for foreach () in /var/www/ojs-3.1.0/clas ses / install / Upgrade.inc.php on line 2085
PHP Warning: Invalid argument supplied for foreach () in /var/www/ojs-3.1.0/clas ses /…
But lets try first with the first one…
Best,
Bozana
1 Like
I have the same error like this.
[code: Installer Installer::enabledSitePlugins]
[code: Installer Installer::moveCSSFiles]
[code: Installer Installer::moveReviewerFiles]
There are no readable files in this directory tree. Are safe mode or open_basedir active? ojs2: There are no readable files in this directory tree. Are safe mode or open_basedir active?
Upgrade ojs 3.0.2 to 3.1.1-4. can you help me?