Hi everyone! I hope anyone can help me with this error in the site: TRAMA – Revista de la Asociación Uruguaya de Antropología |
Two days ago I did the ojs update from 3.1.1.4 to 3.3.0-7. I do the upgrade via cpanel file manager.
I did all the procedure described in the upgrade file UPGRADE.md for full package, but when I perform the step of replacing the folder with the old version with the folder with the new version, the system gives me a 404 error at the home page.
I copied from the current installation the config.inc.php file and verified (several times) that some additional things that were in the config.TEMPLATE.php matched as well. I do not very well where can I search for fix that error. I super checked that the database and path info are ok. As I followed the instructions in UPGRADE.md, I only “touch” de config.inc.php file and copy de /public folder. Maybe I have to make other changes?
The php error log gives me this:
[Thu Aug 26 17:44:04.192454 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Warning: Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/auas/public_html/trama/classes/article/SubmissionFileDAO.inc.php on line 31
[Thu Aug 26 17:44:04.180249 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/auas/public_html/trama/lib/pkp/lib/vendor/ezyang/htmlpurifier/library/HTMLPurifier/Encoder.php on line 157
[Thu Aug 26 17:44:04.090261 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Warning: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/auas/public_html/trama/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 78
[Thu Aug 26 17:44:04.089940 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Warning: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/auas/public_html/trama/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 122
[Thu Aug 26 17:44:04.066484 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Warning: Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in /home/auas/public_html/trama/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 76
[Thu Aug 26 17:44:04.057360 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Array and string offset access syntax with curly braces is deprecated in /home/auas/public_html/trama/lib/pkp/lib/phputf8/utils/validation.php on line 43
[Thu Aug 26 17:44:04.050348 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/auas/public_html/trama/lib/pkp/lib/adodb/adodb.inc.php on line 1003
[Thu Aug 26 17:44:04.042299 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet_array has a deprecated constructor in /home/auas/public_html/trama/lib/pkp/lib/adodb/adodb.inc.php on line 3939
[Thu Aug 26 17:44:04.041909 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADORecordSet has a deprecated constructor in /home/auas/public_html/trama/lib/pkp/lib/adodb/adodb.inc.php on line 2921
[Thu Aug 26 17:44:04.041087 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADOConnection has a deprecated constructor in /home/auas/public_html/trama/lib/pkp/lib/adodb/adodb.inc.php on line 359
[Thu Aug 26 17:44:04.035596 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; ADODB_Cache_File has a deprecated constructor in /home/auas/public_html/trama/lib/pkp/lib/adodb/adodb.inc.php on line 263
[Thu Aug 26 17:44:04.028429 2021] [:error] [pid 19845] [client 37.218.244.251:38002] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Smarty has a deprecated constructor in /home/auas/public_html/trama/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 64
Those errors are show even when the ojs system folder is the actual one. Only this line differs when I “switch” the ojs between the actual and the newest one:
[Thu Aug 26 17:40:29.437934 2021] [:error] [pid 28362] [client 114.119.158.253:46742] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically in /home/auas/public_html/trama/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
After two days trying to solve with no success, I hope anyone can give a hint/insight about what to do to solve this…
Thanks in advance!
Mariángela