• Resolved annelyse

    (@annelyse)


    Hello,
    I’v got this error since I moved my website on a server CentOs, and I can’t activate the plugin.
    Do you know what could be the issue ?
    is it an issue with the plugin or with server ?
    Thanks for your help !

    Warning: require_once(./libraries/vendor_config.php): failed to open stream: No such file or directory in /usr/share/phpMyAdmin/libraries/common.inc.php on line 74 Call Stack: 0.0000 238200 1. {main}() /local/sites_web/wordpress/sitename.fr/wp-admin/plugins.php:0 0.3718 15855416 2. plugin_sandbox_scrape() /local/sites_web/wordpress/sitename.fr/wp-admin/plugins.php:172 0.3719 15856024 3. include(‘/local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/wp-retina-2x.php’) /local/sites_web/wordpress/sitename.fr/wp-admin/includes/plugin.php:1897 0.3732 15921832 4. Meow_WR2X_Core->__construct() /local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/wp-retina-2x.php:44 0.3733 15934088 5. include(‘/usr/share/phpMyAdmin/ajax.php’) /local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/core.php:20 0.3733 15935656 6. require_once(‘/usr/share/phpMyAdmin/libraries/common.inc.php’) /usr/share/phpMyAdmin/ajax.php:15 Fatal error: require_once(): Failed opening required ‘./libraries/vendor_config.php’ (include_path=’.:/php/includes:/opt/drush/includes:/opt/drush:/usr/share/phpMyAdmin/’) in /usr/share/phpMyAdmin/libraries/common.inc.php on line 74 Call Stack: 0.0000 238200 1. {main}() /local/sites_web/wordpress/sitename.fr/wp-admin/plugins.php:0 0.3718 15855416 2. plugin_sandbox_scrape() /local/sites_web/wordpress/sitename.fr/wp-admin/plugins.php:172 0.3719 15856024 3. include(‘/local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/wp-retina-2x.php’) /local/sites_web/wordpress/sitename.fr/wp-admin/includes/plugin.php:1897 0.3732 15921832 4. Meow_WR2X_Core->__construct() /local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/wp-retina-2x.php:44 0.3733 15934088 5. include(‘/usr/share/phpMyAdmin/ajax.php’) /local/sites_web/wordpress/sitename.fr/wp-content/plugins/wp-retina-2x/core.php:20 0.3733 15935656 6. require_once(‘/usr/share/phpMyAdmin/libraries/common.inc.php’) /usr/share/phpMyAdmin/ajax.php:15

    • This topic was modified 6 years, 10 months ago by annelyse.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    To be honest, I am not sure, it’s the first time I see this kind of error, and I have no idea why there are mentions about phpMyAdmin in the middle…

    Do you have a new plugin related to phpMyAdmin?

    Hi,

    Please change the file /wp-content/plugins/wp-retina-2x/core.php, line 20 from
    include('ajax.php' );
    to
    include( __DIR__.'/ajax.php' );

    The include instruction is relative to the first calling script (often index.php). In our case, the ajax.php is not in the same directory, so PHP looks through all the directories mentioned in the php directive include_path, and found it in /usr/share/phpMyAdmin. But the ajax.php from PhpMyAdmin could not load its dependencies correctly at this point, so a fatal error occurs.

    Other users do not meet this error because include is not require : PHP goes on when it do not found the file….

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    It’s fixed, and will be part of the next release ?? Thank you.

    Hi Jordy,

    Great! Please, credit me (Stéphane Mourey, https://stephanemourey.fr) as a contributor and forward me the link to the list.

    Regards

    Stéphane Mourey

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error impossible to enable the plugin’ is closed to new replies.