WordPress.org

Ready to get started?Download WordPress

Forums

Windows Azure Storage for WordPress
[resolved] Fatal error om Activation (2 posts)

  1. pva1967
    Member
    Posted 7 months ago #

    Hi

    On Windows Azure Storage plug-in activation I get the fatal error "Cannot find Windows Azure SDK for php"

    SDK with dependencies are installed in /usr/share/pear/ via PEAR

    In info.php I see include_path /usr/share/pear/ as I put it in php.ini

    What's wrong?

    php ver. 5.3.13

    http://wordpress.org/plugins/windows-azure-storage/

  2. pva1967
    Member
    Posted 7 months ago #

    Solved by changing path to lib frorm root to relevant in :

    function check_prerequisite()
    {
    $windowsAzureFilePath = dirname(__FILE__) .'/library/WindowsAzure/WindowsAzure.php';
    if ((file_exists($windowsAzureFilePath) === true) && (is_readable($windowsAzureFilePath) === true)) {
    return;
    }

    // Windows Azure SDK for PHP is not available
    $message = '<p style="color: red">'
    . 'Windows Azure SDK for PHP
    is not found. '
    . 'Please download and copy the Windows Azure SDK for PHP to library directory and dependencies to '
    . 'to dependencies directory </p>';

    if (function_exists('deactivate_plugins')) {
    deactivate_plugins(__FILE__);
    } else {
    $message = $message . '<p style="color: red">'
    . 'Please deactivate this plugin Immediately
    </p>';
    }

    die($message);
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags