Upgrade completed but website does not come up - Errors displayed

Good Day,

This is on an upgrade from 2.4.8.5 to 3.2. I checked the forum but don’t see a matching topic.

We ran the upgrade script and it completed successfully. We changed the “Installed=On” and get the following errors messages. Does anyone have any ideas? Thank you. Rich Devito

Notice: Deprecated call without request object. in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 973

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-57d6778cfb81e9d47ac9ae5d7b33af24.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-b531931f7580030e9491a6a229697c05.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-57a1cd52d516ba443b53d703f9ee3a41.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-pluginSettings-0-defaultthemeplugin.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-39233d3a11d336c54daca43133675702.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-f0dca8225c2b3cf18fc6ea3ada456a47.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-e74af2db2a95d667d9ec63e4027a5959.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-locale-list.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Notice: Deprecated call without request object. in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 973

Warning: file_put_contents(/home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/fc-pluginSettings-0-acronplugin.php): failed to open stream: Permission denied in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/classes/cache/FileCache.inc.php on line 90

Fatal error: Uncaught → Smarty: unable to write file /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/cache/t_compile/wrt625991624a3ca5_85264644 ← thrown in /home/radjr1/domains/ojs2.wmpllc.org/public_html/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_writefile.php on line 60

Well, this is the old permissions and ownership thing…although a bit interesting. Seems the upgrade.php file runs under the apache user and all the files and ownership is converted to apache! Seems the permissions remain the same…but the ownership changes. Is this normal?

Go to the administrator dashboard and clear the cache. Do the same with the browser cache.

Thanks. We were unable to get to the administrator dashboard. We did clear cache on the browser and no joy.

Seems to be a permissions thing. Bottom line is that you have to determine which user is running the OJS code and make sure (though chown) you get permissions. Get confusing when you have root access and you start copying files around and the OS changes ownership!

Is the problem solved? If not yet, I see some deprecated notice that means the PHP version of your server does not match the PHP version of the OJS you are installing.