[OJS 3 RESOLVED] Administrator sections are missing after the upgrading process from OJS 2.4.8 to OJS 3.1.1.4

Hi everyone I have upgraded a journal from an OJS 2.4.8 to OJS 3.1.1.4. The upgrading process has completed with the “Successfully upgraded to version 3.1.1.4” message. However when I logged in with the administrator user, I have noticed that the left menu has missing items, these are, Issues, Settings and Tools items.

%5B1%5Dmissing_items_h

I have reviewed my log file, and the only message I have found is the following:

[Tue Feb 05 17:28:44.341917 2019] [:error] [pid 19069] [client 192.168.0.1:54984] PHP Warning:  Division by zero in /var/www/html/rica_3114/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134, referer: http://132.248.204.69/rica_3114/index.php/rica/submissions
[Tue Feb 05 17:28:44.342224 2019] [:error] [pid 19069] [client 192.168.0.1:54984] PHP Warning:  Division by zero in /var/www/html/rica_3114/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134, referer: http://132.248.204.69/rica_3114/index.php/rica/submissions

When I try to load the Settings > Website page, using the absolute URL http://mysite/rica_3114/index.php/rica/management/settings/website I have got the following message:

%5B3%5Dcurrent_role_without_access_h

It seems that my administrator user does not have the privileges for see that view. However this is strange because the Administration section is available. I have reviewed in my database that I have 3 users with the role_id equals to 1, but with none it’s possible to see that restricted sections.

Other issue that I have noticed, it’s that the users list is not loaded, when I try to load the users & roles view, this is never loaded and in my Log file I have found the following messages:

[Tue Feb 05 17:35:11.553784 2019] [:error] [pid 15151] [client 192.168.0.1:55026] PHP Warning:  Division by zero in /var/www/html/rica_3114/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134, referer: http://132.248.204.69/rica_3114/index.php/rica/management/access
[Tue Feb 05 17:35:11.554168 2019] [:error] [pid 15151] [client 192.168.0.1:55026] PHP Warning:  Division by zero in /var/www/html/rica_3114/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134, referer: http://132.248.204.69/rica_3114/index.php/rica/management/access

And after a couple of minutes the following message:

[Tue Feb 05 17:37:29.999929 2019] [:error] [pid 19069] [client 192.168.0.1:55028] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 36147803 bytes) in /var/www/html/rica_3114/lib/pkp/lib/vendor/smarty/smarty/libs/Smarty.class.php on line 1266, referer: http://132.248.204.69/rica_3114/index.php/rica/management/access

I have run the upgrading process twice, I have got the same issues after that. Someone could help me to resolve this issues?, Thanks in advance.

Hi everyone

Some weeks ago I could resolve these issues.

The first case, which the administrator user couldn’t see all the menu’s items in the administrator’s dashboard, that was because this user doesn’t have the journal’s gestor rol .

The second issue which is about no loading the users list, that was because in the values that limit the number of items and links per page were established to 0.

%5B9%5DLists_zero

Well because my administrator user doesn’t have the journal’s gestor rol I couldn’t modify the values of items and links per page different to zero using the administrator user, well I have to request to the chief editor of the journal other user with that rol. Once I had the user with the right privileges then I changed that values different to zero. This disappeared the Division by zero error and I take advantage to add to the administrator user the journal’s gestor rol and when I reload the page, I could see the missing items for the menu of administrator.

%5B14%5Dpublicaciones_as_gestor_h

Well that was my solution I hope this could help others with the same issues.

1 Like