I deleted native XML and reinstalled now import export tab is showing empty

Hello All,

I accidentally deleted native XML plugin from my OJS 3.2.0.3 (php 7.4) and then was unable to export CrossRef XML DOI manually.

Then, I searched for installation files of OJS 3.2.0.3 from pkp site and reuploaded it to plugin (import export) directory in the same location.

However, now import export tab is blank and Crossref XML is not working.

Also, plugin list (installed) keep loading.

Here is php error log

[25-Mar-2024 03:51:56 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/a4fc84a2d9d2a85c011fcc528f09577e88e2fcff^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:51:56 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/a4fc84a2d9d2a85c011fcc528f09577e88e2fcff^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:51:59 UTC] PHP Warning:  require_once(/home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/plugins/importexport/native/PKPNativeImportExportDeployment.inc.php): failed to open stream: No such file or directory in /home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/includes/functions.inc.php on line 26
[25-Mar-2024 03:51:59 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/plugins/importexport/native/PKPNativeImportExportDeployment.inc.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/includes/functions.inc.php on line 26
[25-Mar-2024 03:53:27 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:53:27 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:54:11 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:54:11 UTC] PHP Warning:  Creating default object from empty value in /home/u695880771/domains/aesacademy.org/public_html/journals/cache/t_compile/b9da708b775ca192cb9735589afa7e98b537357a^52019e87b90081f2c6bfa717994d81ab7712dd1f_0.app.frontendcomponentssearchF.php on line 30
[25-Mar-2024 03:54:37 UTC] PHP Warning:  require_once(/home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/plugins/importexport/native/PKPNativeImportExportDeployment.inc.php): failed to open stream: No such file or directory in /home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/includes/functions.inc.php on line 25
[25-Mar-2024 03:54:37 UTC] PHP Fatal error:  require_once(): Failed opening required '/home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/plugins/importexport/native/PKPNativeImportExportDeployment.inc.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/u695880771/domains/aesacademy.org/public_html/journals/lib/pkp/includes/functions.inc.php on line 25

Here is code which is refered in this log:

<?php

/**
 * @file includes/functions.inc.php
 *
 * Copyright (c) 2014-2020 Simon Fraser University
 * Copyright (c) 2000-2020 John Willinsky
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 *
 * @ingroup index
 *
 * @brief Contains definitions for common functions used system-wide.
 * Any frequently-used functions that cannot be put into an appropriate class should be added here.
 */


/**
 * Emulate a Java-style import statement.
 * Simply includes the associated PHP file (using require_once so multiple calls to include the same file have no effect).
 * @param $class string the complete name of the class to be imported (e.g. 'lib.pkp.classes.core.Core')
 */
if (!function_exists('import')) {
	function import($class) {
		$filePath = str_replace('.', '/', $class) . '.inc.php';
		require_once(BASE_SYS_DIR.'/'.$filePath);   <----------------This line
		
	}

Please anyone suggest a solution.

Thank you.


I solved this problem by uploading the other files which I missed in following location:

lib/pkp/plugins/importexport/native/

This topic was automatically closed after 14 days. New replies are no longer allowed.