[OJS 3] Plugins Tab doesn't load

Hello and thanks for the support.

The plugins tab on Website Setting doesn’t load anything, and if I click directly on “Installed Plugins” nothing happens:

There was no problem on 3.0.0 version, but after upgrading to 3.0.1

Hi @Ayax,

Can you check your PHP error log and browser Javascript console to see if something relevant appears there?

Regards,
Alec Smecher
Public Knowledge Project Team

This is a capture from my browser’s console error:

However, the .png listed are in their correct directories…

Hi @Ayax,

Have you checked your PHP error log?

Regards,
Alec Smecher
Public Knowledge Project Team

Hi @asmecher ,
PHP error log is empty. Same result with various web browsers (Safari, Chrome, Firefox).

Any way to change plugins status with plain config file?

The message of “500 (Internal Server Error)” will almost certainly result in a PHP error begin recorded. There may be different error logs for Apache vs. for PHP, and there may be multiple log locations depending on the host.

Check with your system administrator or hosting support regarding where the PHP errors are logged in your server.

New issues after upgrade to OJS 3.0.2
And plugins gallery still unload.

My php erro log:

[Sun Jun 04 02:55:49.173648 2017] [:error] [pid 11805] [client 139.162.108.53:49580] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347
[Sun Jun 04 02:55:49.389453 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.398018 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.403626 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.403644 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.483291 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.483319 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.489257 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  array_keys() expects parameter 1 to be array, string given in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 65, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.489288 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Warning:  array_shift() expects parameter 1 to be array, null given in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 66, referer: http://**.**.***.**:80/
[Sun Jun 04 02:55:49.489292 2017] [:error] [pid 11807] [client 139.162.108.53:49678] PHP Fatal error:  Cannot return string offsets by reference in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 67, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.411442 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347
[Sun Jun 04 03:42:53.632783 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.641231 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.647657 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.647674 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.653942 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.653959 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  Illegal string offset 'es_ES' in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 133, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.659544 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  array_keys() expects parameter 1 to be array, string given in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 65, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.659568 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Warning:  array_shift() expects parameter 1 to be array, null given in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 66, referer: http://**.**.***.**:80/
[Sun Jun 04 03:42:53.659579 2017] [:error] [pid 1160] [client 81.33.86.68:35334] PHP Fatal error:  Cannot return string offsets by reference in /var/www/**********/lib/pkp/classes/core/DataObject.inc.php on line 67, referer: http://**.**.***.**:80/
[Sun Jun 04 08:22:14.784397 2017] [:error] [pid 13432] [client 183.129.160.229:53192] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347
[Sun Jun 04 09:16:26.505514 2017] [:error] [pid 3446] [client 189.103.186.172:50396] PHP Notice:  unserialize(): Error at offset 222 of 1130 bytes in /var/www/**********/lib/pkp/classes/db/DAO.inc.php on line 347
[Sun Jun 04 09:16:27.061740 2017] [:error] [pid 11806] [client 189.103.186.172:50400] script '/var/www/**********/command.php' not found or unable to stat

Hi @Ayax,

Try viewing the plugin gallery, then checking the error log immediately to see if there are messages with corresponding timestamps. This will help determine which, if any, of the messages above are relevant.

Try searching this forum for messages related to the unserialize function. There are already several threads about this and how to resolve it.

Regards,
Alec Smecher
Public Knowledge Project Team

ojs-3-plugins-tab-doesnt-load

I am also facing same problem…and as I am new with PHP do not know much about php.ini

can you tell me how to fix it up. It would be great help.

my site is ijsu.org

regards,

Hi @naveen_kumar,

Can you describe your situation more exactly? What version of OJS are you using, what are you trying to do, and what is the result? Have you checked your PHP error log for details?

Regards,
Alec Smecher
Public Knowledge Project Team

HI,
I am using ojs 3.0.2 . I have read similar threats, where it was suggested that to configure tar tool but i do not know how to configure the tar tool in your config.inc.php file,

second thing I also tried to see the log files , but I could not get any related log showing error.

I am also having problem when I try to upload any image file for logo or for cover.

As I am new to this system, I need little more help. Can you please tell.

regards

Hi @naveen_kumar,

You’ll need to start by locating your PHP error log. The specifics of this will depend on your server configuration, so if you’re not sure where to find it, you’ll need to ask your server administrator/service provider.

Regards,
Alec Smecher
Public Knowledge Project Team

Hello Alec,
I have the same problem like Ayax my OJS is 3.0.2).
I changed and deleted some themes and after that, I can’t load Installed plugins page. My php error is:
“PHP Fatal error: Cannot redeclare class DefaultManuscriptChildThemePlugin in /home/ojs/public_html/plugins/themes/defaultManuscript-master/DefaultManuscriptChildThemePlugin.inc.php on line 0, referer: http://ojs.kbf.unist.hr/index.php/proceedings/management/settings/website
Any advice?
With Bets Regards
Zeljko

Hi @zmatas,

It looks like you’ve installed two copies of the “default manuscript child theme plugin” – remove one of the two.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Hi Alec,
well, I first installed defaultManuscript Theme, but it didn’t work. Then I installed defaultManuscriptMaster and the theme worked. But when I installed some other themes, ojs simply couldn’t load the installed plugins tab. Now I removed master and loads normaly.
Thanks for your time and help.
With Best Regards
Zeljko

Is it possible that no one knows the reason for this? I have the same issue, installed plugins loading fro the past hour, but nothing showing. I installed OJS 3 last night, first installation, I didn’t mess with anything, and the plugins don’t load.

PS. Console says this: Failed to load resource: the server responded with a status of 500 (Internal Server Error)

Hi @filipi

Try to click on the error that is showing in console and verify which resource give you error 500, perhaps it helps to isolate the problem.

Israel

Hi @israel.cefrin, I’m afraid I have no idea what to do. I am not a developer. Shouldn’t this be a user friendly software? I don’t have a PhD in computer science. I tried everything and I do not know how to fix it. The error seems to point to Google Scholar Indexing Plugin.
http://akropolis.helenskestudije.me/OJS/index.php/ajhs/$$$call$$$/grid/settings/plugins/settings-plugin-grid/fetch-grid?_=1506359394770#

PS. Now that I tried again, it points to another plugin HTML Article Galleys:
http://akropolis.helenskestudije.me/OJS/index.php/ajhs/$$$call$$$/grid/settings/plugins/settings-plugin-grid/fetch-grid?_=1506362655611