blank 'user/register' page after 2.4.2 upgrade

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 16
Joined: Thu Aug 29, 2013 6:10 am

blank 'user/register' page after 2.4.2 upgrade

Postby pixelandpen » Fri Sep 06, 2013 1:12 pm

Hi all,

I thought my 2.4.2. upgrade headaches were behind me, but one of the editors just pointed out that the /journal/user/register page comes up as blank. As well, before the upgrade, they said there used to be a "register" link on the right sidebar.

I have tried various solutions dealing with blank pages suggested throughout the forums:

1. turn on/off debugging in OJS, but there is no information shown (looking at Firebug in Firefox, it is just a 500 error)
2. double check (re)captcha settings in and make sure the font file is available, but there is nothing out of the ordinary
3. look at the Apache error log, but there are no errors
4. make sure there is GD on the server

Any other suggestions?


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: blank 'user/register' page after 2.4.2 upgrade

Postby asmecher » Fri Sep 06, 2013 1:33 pm

Hi Graham,

Your PHP errors may or may not get logged to your Apache error log depending on your PHP configuration, but a blank page almost always indicates a PHP error. Check your php.ini configuration to see where they're getting logged. Some kinds of PHP syntax errors result in blank pages with no error message, and those can be found by using the "-l" (linting) option to the PHP binary. If you've got a *NIX server, you can typically lint everything by running the following from your OJS install directory:

Code: Select all

find . -name \*.inc.php -exec php -l "{}" ";" | fgrep -v "No syntax"
You may receive deprecation errors, which can be ignored, but in particular watch for parse or syntax errors.

Alec Smecher
Public Knowledge Project Team

Posts: 16
Joined: Thu Aug 29, 2013 6:10 am

Re: blank 'user/register' page after 2.4.2 upgrade

Postby pixelandpen » Fri Sep 06, 2013 1:43 pm

Thanks Alec.

It discovered that two files (/classes/user/form/ and /classes/comment/form/ each had the $reCaptchaEnabled property listed twice. Once I removed the extra property from each class file, the page loaded.

Thanks again for the prompt reply, and for that handy PHP trick.

Have a great weekend.



Return to “OJS Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 2 guests