Submissions blank page

#1

Hi,
I recently installed OJS on Debian 9 with Apache/2.4.25, PHP 5.6 and mysqli driver, the page work fine but throw error when i trying enter to Submissions, dashboard or archive.

Apache log error:
PHP Parse error: syntax error, unexpected ‘?’ in /var/www/html/ojs-3.1.2/lib/pkp/lib/vendor/illuminate/support/Str.php on line 681

Any suggestion?

Thank you.

#2

Hi @alcaraz.emmanuel,

I suspect you’re trying to install OJS 3.1.2, correct? PHP 5.6 is too old – you’ll need to upgrade your PHP.

Regards,
Alec Smecher
Public Knowledge Project Team

#3

Hi, I have PHP 5.6 in my VPS, but i can’t upgrade PHP version because other app just support 5.6. I moved my OJS installation to FTP service with CPanel, changed PHP version to 7.0 and it worked. I’ll do some tests, but It seem working fine.

Thanks.