Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter surfspider

    (@surfspider)

    Hi guys,

    Sorry for the late response. I’ve been out for a little while and just now turned back.
    The developer version gjanes shared earlier did not solve the issue for me.

    Eventually, I’ve followed your suggestion to start from a fresh install and noticed the issue did not appear initially. I installed Picasa and Google Plus Express as a first plugin and lightbox as a 2nd. The issue did re-appear when I installed CKEditor for WP.

    I have left that CKEditor plugin out of my current setup and things work as expected.
    Hope this could also help you.

    Thread Starter surfspider

    (@surfspider)

    Thanks you so much for your support so far.
    I’m adding some further information:

    • We’re on WP 3.5.1 in Dutch (NL)
    • I’ve tested andd found this behavior in Safari and Chrome
    • We’re also running CKEditor for WP, Google Analytics and Lightbox 3. Note that the issue remains the same when I disable these
    • I’ve tried swapping to other templates, but it did not resolve the issue

    Just now, I’ve tried again:

    • Open up a page to edit using Chrome
    • Waited for about 30seconds to make sure the page is fully loaded
    • Clicked the picasa icon
    • The pop-in appears and I can select images/albums
    • When I click “insert” within the pop-in, the env error gets thrown through a prompt

    Hope this gives you further insight. Please let me know if I can try any specific flows to assist in the debugging.

    Thread Starter surfspider

    (@surfspider)

    Hi gjanes,

    Thanks for your response. Unfortunately, disabling additional plugins did not help.
    The specific error message I’m getting is hardcoded within the plugin code itself though. You create an error array where the specific error message is declared. Note that in the error prompt I get I also see “envirionment” typo, so it’s truly this exception which is being thrown.

    $options = array(
    				'waiting'   => str_replace('%pluginpath%', $this->plugin_URL, __("<img src='%pluginpath%/loading.gif' height='16' width='16' /> Please wait", 'pe2')),
    				'env_error' => __("Error: Can not insert image(s) due wrong envirionment\nCheck script media-upload.js in the parent/editor window", 'pe2'),

    This array “options” gets declared in the “add_scripts()” function and is eventually used here:

    $wp_scripts->localize( 'pe2-script', 'pe2_options', $options );

    I’m not able to find out where it goes from there on.
    i.e. I don’t know where the env_error actually gets thrown …

    Any help would be appreciated.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)