Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author paypromedia

    (@paypromedia)

    I apologize for the issues. I tested this pretty thoroughly on my local install before uploading. I will get you a fix this morning.

    Plugin Author paypromedia

    (@paypromedia)

    I added an uninstall hook that will delete the options so you can add them back in. I will take a look at why it would have done this today. Can you send me a screenshot of your management interface so I can see what the text boxes say?

    Thread Starter LuxDelux

    (@luxdelux)

    Here’s the screenshot
    https://drive.google.com/file/d/0B2EsjStXMIFZdHNwRW1uQU9YN2s/edit?usp=sharing

    Still not working though.

    I uninstalled the old version, installed the new one, then uninstalled again… no luck.

    Just cleared my browser cache… actually I can’t seem to save new settings.. the error is there with a new install when the fields are empty.

    Thread Starter LuxDelux

    (@luxdelux)

    Just noticed this in my servers error log

    2014/06/17 15:58:28 [error] 28712#0: *13662 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught exception 'Guzzle\Http\Exception\ClientErrorResponseException' with message 'Client error response
    [status code] 401
    [reason phrase] Unauthorized
    [url] https://identity.api.rackspacecloud.com/v2.0/tokens' in /var/www/example.com/htdocs/wp-content/plugins/rackspace-cloud-files-cdn/lib/php-opencloud-1.9.2/vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43
    Stack trace:
    #0 /var/www/example.com/htdocs/wp-content/plugins/rackspace-cloud-files-cdn/lib/php-opencloud-1.9.2/vendor/guzzle/guzzle/src/Guzzle/Http/Message/Request.php(145): Guzzle\Http\Exception\BadResponseException::factory(Object(Guzzle\Http\Message\EntityEnclosingRequest), Object(Guzzle\Http\Message\Response))
    #1 [internal function]: Guzzle\Http\Message\Request::onRequestError(Object(Guzzle\Common\Event), 'request.error', Object(Symfony\Component\EventDispatcher\EventDispatcher))
    #2 /var/www/example.com/htdocs/wp-content/plugins/rackspace-cloud-files-cdn/lib/php-opencloud-1.9.2/ven", client: 54.81.171.167, server: tapebrain.com, request: "GET /lists/classic-movies-weekly-1/ HTTP/1.1", host: "tapebrain.com"
    2014/06/17 16:01:24 [error] 28712#0: *13676 FastCGI sent in stderr: "PHP message: PHP Warning:  Creating default object from empty value in /var/www/example.com/htdocs/wp-content/plugins/rackspace-cloud-files-cdn/admin/functions.php on line 39" while reading upstream, client: 94.253.180.169, server: tapebrain.com, request: "POST /wp-admin/admin.php?page=rs-cdn-manage HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "tapebrain.com", referrer: "https://tapebrain.com/wp-admin/admin.php?page=rs-cdn-manage"
    Plugin Author paypromedia

    (@paypromedia)

    Did you try removing the custom CNAME to test? It looks like that’s the line it’s not liking.

    Thread Starter LuxDelux

    (@luxdelux)

    Weird, that seems to be it ?? Ok works now except the CNAME.

    Any idea what might be causing the CNAME issue?

    I tried saving like

    https://images.tapebrain.com

    and without http. Just stays blank.

    Thread Starter LuxDelux

    (@luxdelux)

    Perhaps this provides some clues

    FastCGI sent in stderr: "PHP message: PHP Warning:  Creating default object from empty value in /htdocs/wp-content/plugins/rackspace-cloud-files-cdn/admin/functions.php on line 39" while reading upstream

    same here. installed, tried to specify CNAME, it wouldn’t save and throw the same ‘creating default object error’. when i uninstalled, and re-activated, got the following :

    WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(path_to_file)\n\t) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci' at line 3 for query CREATE TABLE IF NOT EXISTSwp_rscdn_failed_uploads(\n\t\tpath_to_filevarchar(300) COLLATE utf8_unicode_ci NOT NULL\n\t\tPRIMARY KEY (path_to_file)\n\t) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci made by activate_plugin, do_action('activate_rackspace-cloud-files-cdn/rackspace-cdn.php'), call_user_func_array, rscdn_install, dbDelta, referer: wp-admin/plugins.php?deactivate=true&plugin_status=all&paged=1&s=

    mysql error might be unrelated – issue still persists. mysql error is due to the missing ” , ” before the PRIMARY KEY declaration

    if (is_null($_SESSION['cdn']->oc_container)) {

    this check doesn’t work correctly. it gives null although oc_container is defined and an object

    however, $_SESSION[‘cdn’] is an Incomplete Class Object at that stage, so properties might not be accessible. so although print_r($_SESSION[‘cdn’]) will show e.g. oc_container as a key, $_SESSION[‘cdn’]->oc_container itself is also an incomplete class object and checking the type of it returns NULL.

    Plugin Author paypromedia

    (@paypromedia)

    Working on that bug as well. Should be releasing something today or tomorrow. Thanks for the info!

    thanks, would be great if this could be fixed. cannot get the plugin to work due to this at the moment

    Is there a dev version that has those issues fixed already that could be pulled? e.g. from git

    Thread Starter LuxDelux

    (@luxdelux)

    Indeed some kind of temporary fixed version would be welcome.

    As for why the feature is important to work:

    Facebook sees long rackspace cdn links as some sort of spam or similar, so properly sharing web pages doesn’t work unless a shorter CDN uri is used.

    Cheers

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Plugin options broken, nothing works’ is closed to new replies.