[SOLVED] OJS - Pages Abouts and Admin index not working after update

After upgrading the 2.2.2 version of OJS to version 2.4.7-1, the page with the title in Portuguese: Administrador do Portal (What English should be something like Administrator Portal), with index http://myhost/index.php/index/admin, is not working, but sub-pages as http://myhost/index.php/index/admin/settings works great.

Another case, the “about” pages are related. None of the pages with index about is working

For example:

This pages is complet blank, they used to work before upgrading.

I did a comparison of the folder “pages” with the downloaded version 2.4.7-1 of ojs, using the diff, and no differences were found between the files. It could be something related to updating the database? Or am I looking failure in the wrong place?

Thanks in advanced!
Rafael Mansilha Murta
Universidade Federal do Tocantins.

Hi @rafaelmansilha,

Have you checked your PHP error log? Often a blank page will indicate that an error was logged.

Alec Smecher
Public Knowledge Project Team

Hi @asmecher

That was the first thing I’ve checked, and there was nothing. I forgot to mention that.

Thanks in advanced!
Rafael Mansilha Murta
Universidade Federal do Tocantins.

Are you sure you are looking at the correct location of the error log? It is highly unlikely that a blank page would not be logging an error at the webserver level.

You can also try turning on display_errors in config.inc.php, which may print the error to the screen as well as logging it in the error log.

Hi @ctgraham,

I believe so, I’m looking in /var/log/apache2/error.log

I think that this is the right location, because I had a problem with a file permission before athat caused a blank page, and this log acused the error.

[Thu Jan 07 08:50:30.167573 2016] [core:notice] [pid 1153] AH00094: Command line: '/usr/sbin/apache2'
[Thu Jan 07 10:39:31.772599 2016] [mpm_prefork:notice] [pid 1153] AH00169: caught SIGTERM, shutting down
[Thu Jan 07 10:39:52.479899 2016] [mpm_prefork:notice] [pid 1096] AH00163: Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.14 configured -- resuming normal operations
[Thu Jan 07 10:39:52.485686 2016] [core:notice] [pid 1096] AH00094: Command line: '/usr/sbin/apache2'

I also active the display_errors = Off and restart the apache2 server, but still getting nothing.

Thanks in advanced!
Rafael Mansilha Murta
Universidade Federal do Tocantins.

To clarify, the display_errors directive should be changed to:

display_errors = On

in order to be active.
No restart of Apache will be needed for a config.inc.php change.

Sorry I have copy from your post, it is set On

Hmmm… at this point I would start adding error_log() statements into the code to try to trace the issue. See the FAQ here, particularly the “Further Troubleshooting” section:

1 Like

Found it! I believe that was a cache problem, I provoked a fail on the tpl pages files, and when I removed the failure the page works great.

Thanks for all your help!
Rafael Mansilha Murta
Universidade Federal do Tocantins.

1 Like

Could you describe how you did it?
Got the same problem here.

Sorry, It was a really long time ago, but I think you can clear the cache folder. You should look at the file permissions too.

Rafael Mansilha.