OJS 2.3.3-3 not working on php 5.6


My server host was upgrade from php 5.4 to php 5.6 and i’m getting a blank page with nternal server error 500.

What should i do? the 2.3.3-3 dont work on php 5.6? what do i have to change to get it working?

Or its my host problem?


=== Open Journal Systems
=== The Public Knowledge Project
=== Version: 2.3.3-3
=== GIT tag: ojs-2_3_3-3
=== Release date: Oct 29, 2010

Hi @rodrigo_snape,

I would suggest upgrading to a recent release of OJS.

Alec Smecher
Public Knowledge Project Team

I’m getting this error:

[12-Mar-2016 01:13:26 America/Sao_Paulo] ojs2 has produced an error
Message: WARNING: assert(): Assertion failed
In file: /home/tensoesm/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php
At line: 61
Server info:
OS: Linux
PHP Version: 5.6.18
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.48-cll
[12-Mar-2016 01:13:26 America/Sao_Paulo] PHP Fatal error: Call to a member function getRouter() on null in /home/tensoesm/public_html/lib/pkp/classes/template/PKPTemplateManager.inc.php on line 64

I just wanna a way to fix it without upgrading. There is a way?

The lines are:

(61) assert(is_a($request, ‘PKPRequest’));

// Retrieve the router
(64)$router =& $request->getRouter();

Thks in advance!

Hi @rodrigo_snape,

Try turning on the show_stacktrace option in config.inc.php – that’ll generate a full stack trace which will give more information on what functions are being called. But you’re most likely hitting a problem that’s already been fixed, and the best solution is definitely to upgrade.

Alec Smecher
Public Knowledge Project Team