• Resolved Dani Llewellyn

    (@diddledani)


    there appears to be a “white screen of death” caused by the plugin when running on the dev_appserver.

    At line 302 on modules/uploads.php the plugin calls the following, which does not return:

    $sign_result = AppIdentityService::signForApp( AUTH_KEY . get_current_user_id() );

    the lack of return causes /wp-admin/post.php?action=edit&post=2 to die with no response to the browser. The dev_appserver logs the request as successfully completing with a 200 response code.

    debug_print_backtrace() on the immediately preceeding line reveals the following chain of function calls:

    #0  google\appengine\WordPress\Uploads\Uploads::get_wrapped_url(/wp-admin/async-upload.php) called at [/home/dllewellyn/web/fof/htdocs/wp-content/plugins/google-app-engine/modules/uploads.php:264]
    #1  google\appengine\WordPress\Uploads\Uploads::plupload_settings(Array ([runtimes] => html5,silverlight,flash,html4,[file_data_name] => async-upload,[multiple_queues] => 1,[max_file_size] => 2097152b,[url] => /wp-admin/async-upload.php,[flash_swf_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.flash.swf,[silverlight_xap_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.silverlight.xap,[filters] => Array ([0] => Array ([title] => Allowed Files,[extensions] => *)),[multipart] => 1,[urlstream_upload] => 1))
    #2  call_user_func_array(google\appengine\WordPress\Uploads\Uploads::plupload_settings, Array ([0] => Array ([runtimes] => html5,silverlight,flash,html4,[file_data_name] => async-upload,[multiple_queues] => 1,[max_file_size] => 2097152b,[url] => /wp-admin/async-upload.php,[flash_swf_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.flash.swf,[silverlight_xap_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.silverlight.xap,[filters] => Array ([0] => Array ([title] => Allowed Files,[extensions] => *)),[multipart] => 1,[urlstream_upload] => 1))) called at [/home/dllewellyn/web/fof/htdocs/wp-includes/plugin.php:173]
    #3  apply_filters(plupload_default_settings, Array ([runtimes] => html5,silverlight,flash,html4,[file_data_name] => async-upload,[multiple_queues] => 1,[max_file_size] => 2097152b,[url] => /wp-admin/async-upload.php,[flash_swf_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.flash.swf,[silverlight_xap_url] => http://robinhood.local:8080/wp-includes/js/plupload/plupload.silverlight.xap,[filters] => Array ([0] => Array ([title] => Allowed Files,[extensions] => *)),[multipart] => 1,[urlstream_upload] => 1)) called at [/home/dllewellyn/web/fof/htdocs/wp-includes/media.php:1283]
    #4  wp_plupload_default_settings() called at [/home/dllewellyn/web/fof/htdocs/wp-includes/media.php:1554]
    #5  wp_enqueue_media(Array ([post] => 2)) called at [/home/dllewellyn/web/fof/htdocs/wp-admin/edit-form-advanced.php:29]
    #6  include(/home/dllewellyn/web/flirtorflush/htdocs/wp-admin/edit-form-advanced.php) called at [/home/dllewellyn/web/fof/htdocs/wp-admin/post.php:185]
    #7  require(/home/dllewellyn/web/fof/htdocs/wp-admin/post.php) called at [/home/dllewellyn/google_appengine/google/appengine/tools/devappserver2/php/setup.php:51]

    [Please post log files between backticks or use the code button.]

    http://wordpress.org/extend/plugins/google-app-engine/

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

    (@diddledani)

    I tried to file a bug about this on the app engine googlecode page, but it got deleted immediately (i.e. automatically)

    Plugin Contributor Sennza Pty Ltd

    (@sennza)

    Hey diddledan,

    Sorry about the bug. It’s actually one we are aware of.

    The plugin is designed at the moment so that it’ll only work when it’s been deployed to App Engine and it won’t work on your local dev_appserver. Please deactivate the plugin on your local dev_appserver for the time being.

    Depending on the uptake of WordPress on GAE Google might look at adding a flag when you spin up your dev_appserver to workaround this or we might look at sniffing if it’s a local server and bypass the plugin.

    Sorry about the inconvenience!

    Plugin Author slangley

    (@slangley)

    Version 1.2 provides an emulation of the AppIdentity service in the dev environment – which should resolve this issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘white screen of death at /wp-admin/post.php?action=edit&post=2’ is closed to new replies.