Hey,
I’m really desperate here, I’ve tried every solution possible for this matter but it seems to not work, I’m running the upgrade through SSH, I’ve runned this querys on my DB after reading a ridiculous amount of questions here:
SELECT a.article_id FROM articles a LEFT JOIN sections s ON (a.section_id = s.section_id) WHERE s.section_id IS NULL
I reassigned the sections as a Staff member already told following those scripts:
INSERT INTO sections (journal_id, seq, editor_restricted, meta_indexed, meta_reviewed, abstracts_not_required, hide_title, hide_author, hide_about) SELECT journal_id, -9999, 1, 1, 0, 1, 1, 0, 1 FROM journals;
INSERT INTO section_settings (section_id, locale, setting_name, setting_value, setting_type) SELECT section_id, 'en_US', 'title', 'Artigos sem Sessao', 'string' FROM sections WHERE seq=-9999;
UPDATE articles a LEFT JOIN sections s1 ON (s1.section_id=a.section_id) LEFT JOIN sections s2 ON (a.journal_id=s2.journal_id AND s2.seq=-9999) SET a.section_id=s2.section_id WHERE s1.section_id IS NULL;
Still nothing works, memory limit, max execution time, all up to unlimited, php 7…
[code: Installer Installer::provideSupplementaryFilesForReview]
PHP Warning: copy(/var/www/vhosts/OjsFSG/htdocs/files/journals/2//articles/1292/submission/proof/1292-8-4437-1-10-20150617.doc): failed to open stream: Arquivo ou diretório não encontrado in /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Warning: copy(/var/www/vhosts/OjsFSG/htdocs/files/journals/2//articles/1292/submission/review/1292-8--1-4-20150617.doc): failed to open stream: Arquivo ou diretório não encontrado in /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/file/FileManager.inc.php on line 159
PHP Fatal error: Uncaught Error: Call to a member function getFileId() on null in /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php:1065
Stack trace:
#0 /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php(315): PKPSubmissionFileDAO->_castToDatabase(NULL)
#1 /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/file/SubmissionFileManager.inc.php(185): PKPSubmissionFileDAO->insertObject(Object(SupplementaryFile), '/var/www/vhosts...')
#2 /var/www/vhosts/OjsFSG/htdocs/classes/install/Upgrade.inc.php(1491): SubmissionFileManager->copyFileToFileStage('4437', 1, 4, NULL, true)
#3 /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/install/Installer.inc.php(421): Upgrade->provideSupplementaryFilesForReview(Object(Upgrade), Array)
#4 /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/install/Installer.inc.php(265): Installer->executeAction(Array)
#5 /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/install/Installer.inc.php(186): Installer->executeInstaller()
#6 /var/www/vhosts/OjsFSG/ht in /var/www/vhosts/OjsFSG/htdocs/lib/pkp/classes/submission/PKPSubmissionFileDAO.inc.php on line 1065