About Plugin Gellary Loading

@asmecher @kerimsarigul
Admin Login then try to Plugin Gallery the Showing Loading… Also, When Show_Stacktrace is On
Display_error is On
Ojs 3.3.0.14
PHP 7.4…

Hi @IJBSRR_Journal,

Are you able to check your PHP error logs and report on any errors found there?

-Roger
PKP Team

@rcgillis @kerimsarigul

I have error there is

[07-Apr-2023 00:49:56 UTC] PHP Warning: ob_start(): output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 00:49:56 UTC] PHP Notice: ob_start(): failed to create buffer in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 02:51:55 UTC] PHP Warning: ob_start(): output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 02:51:55 UTC] PHP Notice: ob_start(): failed to create buffer in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 04:53:17 UTC] ojs2: 404 Not Found
[07-Apr-2023 08:05:10 UTC] ojs2: 404 Not Found
[07-Apr-2023 08:24:33 UTC] ojs2: 404 Not Found
[07-Apr-2023 08:33:49 UTC] ojs2: 404 Not Found
[07-Apr-2023 09:11:09 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:13:31 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:14:48 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:15:39 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:16:16 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:17:37 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 09:38:58 UTC] PHP Warning: DOMDocument::schemaValidate(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/ijbssrnetcom47/public_html/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 134
[07-Apr-2023 09:38:58 UTC] PHP Warning: DOMDocument::schemaValidate(https://www.crossref.org/schemas/crossref4.3.6.xsd): failed to open stream: no suitable wrapper could be found in /home/ijbssrnetcom47/public_html/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 134
[07-Apr-2023 09:38:58 UTC] PHP Warning: DOMDocument::schemaValidate(): Invalid Schema in /home/ijbssrnetcom47/public_html/lib/pkp/classes/xslt/XMLTypeDescription.inc.php on line 134
[07-Apr-2023 09:38:58 UTC] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/ijbssrnetcom47/public_html/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php:218) in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line 178
[07-Apr-2023 09:38:58 UTC] PHP Fatal error: Uncaught Exception: Could not convert selected objects. in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/ImportExportPlugin.inc.php:189
Stack trace:
#0 /home/ijbssrnetcom47/public_html/classes/plugins/PubObjectsExportPlugin.inc.php(397): ImportExportPlugin->displayXMLValidationErrors(Array, ‘<?xml version="…’)
#1 /home/ijbssrnetcom47/public_html/plugins/importexport/crossref/CrossrefInfoSender.inc.php(124): PubObjectsExportPlugin->exportXML(Array, ‘article=>crossr…’, Object(Journal))
#2 /home/ijbssrnetcom47/public_html/plugins/importexport/crossref/CrossrefInfoSender.inc.php(66): CrossrefInfoSender->_registerObjects(Array, ‘article=>crossr…’, Object(Journal), ‘articles’)
#3 /home/ijbssrnetcom47/public_html/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php(146): CrossrefInfoSender->executeActions()
#4 /home/ijbssrnetcom47/public_html/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php(258): ScheduledTask->execute()
#5 [internal function]: PKPAcronPlugin->shutdownFunction()
#6 {main}
throw in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/ImportExportPlugin.inc.php on line 189
[07-Apr-2023 11:58:08 UTC] PHP Warning: ob_start(): output handler ‘ob_gzhandler’ conflicts with ‘zlib output compression’ in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 11:58:08 UTC] PHP Notice: ob_start(): failed to create buffer in /home/ijbssrnetcom47/public_html/lib/pkp/classes/oai/OAI.inc.php on line 63
[07-Apr-2023 15:26:41 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:41 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 15:26:42 UTC] ojs2: 404 Not Found
[07-Apr-2023 17:17:28 UTC] PHP Notice: Undefined index: certification in /home/ijbssrnetcom47/public_html/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[07-Apr-2023 19:57:09 UTC] PHP Warning: require_once(/home/ijbssrnetcom47/public_html/plugins/importexport/medra/MedraInfoSender.inc.php): failed to open stream: No such file or directory in /home/ijbssrnetcom47/public_html/lib/pkp/includes/functions.inc.php on line 25
[07-Apr-2023 19:57:09 UTC] PHP Fatal error: require_once(): Failed opening required ‘/home/ijbssrnetcom47/public_html/plugins/importexport/medra/MedraInfoSender.inc.php’ (include_path=‘.:/opt/alt/php74/usr/share/pear’) in /home/ijbssrnetcom47/public_html/lib/pkp/includes/functions.inc.php on line 25

Hi! I too experience this error post upgrade to 3.3.0.14. Is there a fix for this?

Hi bjarman
Yes, We are upgrade to 3.3.0.14 also fix it
PHP 7.4

Hi! I am not quite sure I understand you. Have you fixed the problem and if so what did you do to fix it?

Hi bjarman
We are upgrade to 3.3.0.14 Successfully
We can’t fix the Error Log Problems. We need any one helping about error
PHP 7.4

Hi bjarman
We are upgrade to 3.3.0.14 Successfully
We can’t fix the Error Log Problems. We need any one helping about error
PHP 7.4

Hi @IJBSRR_Journal,

Your medra plugin seems to be missing files, and this failure is interrupting the interface from working.

Check if your folder plugins/importexport/medra looks like this:

Best,
Jonas Raoni

1 Like

Hi!
Post upgrade to OJS 3.3.0.14 our plugin gallery is empty/just loading.
This message is from our error log:
PHP Notice: Undefined index: certification in /var/www/ojs-3.3.0-14/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194

@bjarman, this has been fixed 2 weeks ago (it will be included in OJS 3.3.0-15), but that’s just a warning, it shouldn’t break the plugin gallery, there must be something else happening on your installation.

Best,
Jonas Raoni

Ok - but where should I look to investigate this?
I have no errors in the error log but the plugin gallery does not load. Just shows a spinner :frowning:
Br/F

@bjarman That’s really tough, I guess one of the plugins is probably broken.

You can try to turn on the display_errors temporarily (display_errors = On) on the config.inc.php and check if something appears in the error log.

If nothing appears, you can edit the file lib/pkp/classes/plugins/PluginRegistry.inc.php and add:

error_log("Loading plugin: {$categoryDir} {$file}"); before the line that I marked below:

Then if you check the error log again, it should display the name of the last plugin which OJS tried to load… You can try to move the plugin folder to another place to see if it solved your problem.

Best,
Jonas Raoni

Hi! I have edited both config.inc.php and PluginRegistry.inc.php but I still get nothing in the error log :frowning:

However, changing error_log() to print_r() I get the following:

Loading plugin: plugins/generic usageStats
Loading plugin: plugins/generic usageEvent
Loading plugin: plugins/generic tinymce
Loading plugin: plugins/generic acron
Loading plugin: plugins/themes default
Loading plugin: plugins/themes oldGregg
Loading plugin: plugins/themes bootstrap3
Loading plugin: plugins/themes healthSciences
Loading plugin: plugins/themes defaultManuscript
Loading plugin: plugins/themes default
Loading plugin: plugins/themes oldGregg
Loading plugin: plugins/themes bootstrap3
Loading plugin: plugins/themes healthSciences
Loading plugin: plugins/themes defaultManuscript

Am I right to assume that the problem has to do with the last plugin, defaultManuscript?

The only print out in the error log is still:
PHP Notice: Undefined index: certification in /var/www/ojs-3.3.0-14/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194, referer: https://journals.uu.se/index/admin/wizard/2

Is there a patch for this or do I need to wait for OJS 3.3.0-15?

Hi @bjarman,

Am I right to assume that the problem has to do with the last plugin, defaultManuscript?

It’s very possible. You can try to move this folder out of the plugins folder, then try again.

If this theme is really the culprit, then:

  • You’ll have to setup the journals which are using it with another theme.
  • Are you using the latest version of the theme/plugin (Releases · pkp/defaultManuscript · GitHub)? If yes, I might take a look if it’s a bug and fix it.

Once everything is working don’t forget to revert the changes that you did.

Is there a patch for this or do I need to wait for OJS 3.3.0-15?

About the warning, it’s not a big deal, you can wait for the 3.3.0-15, it’s supposed to be released soon.

Best,
Jonas Raoni

Hi!
I removed defaultManuscript but the problem is still the same. I reinstalled the plugin, latest version, and the problem is still the same. Plugin gallery just shows a spinner.
Br/F

Hi, I have the same error.“PHP Notice: Undefined index: certification in ojs-3.3.0-14/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194”. I migrated from latest 3.1 to the latest 3.2 and finally to 3.3.0.14… Today when reviewing the available modules, this error appeared in the PHP log. the plugins/themes folder only has the default folder. During the upgrade process I never had any errors.

I copied the entire themes folder from another site with no problems and the error is still present. Then I copied the entire plugins folder, and the same result.I have another site, 3.3.0.14, installed from scratch and there I have no problem with the modules. Apparently it only occurs in migrations from previous versions

Hi!

I haven’t seen the messages here, if anyone still need some help, I can try. I just can say it might be not very simple, as I can’t simulate the problem here.

Best,
Jonas Raoni