Support » Plugins and Hacks » Picasa Album Uploader » Can't get button to install

Viewing 15 replies - 1 through 15 (of 27 total)
  • I seem to have the same problem, and I have worked the issue a couple of hours now.

    Plugin installed using WordPress automatic method, so I did not upload it to /plugins myself.

    The “Install Image Upload Button in Picasa Desktop” link is appearing, and Picasa is launched as expected. Only nothing happens.

    I checked the details in Picasa by right-clicking and selecting “Configure buttons …” and no new button is available.

    Note that the log below indicates 2 requests for the plugin, although I only clicked the “Install Image Upload Button in Picasa Desktop” link once.

    Any help would be highly appreciated. I have PHP and general development skills, so let me know what I can do to help.

    Log says:

    Plugin Versions:
    $Id: options.php 385833 2011-05-17 13:13:20Z draca $
    $Id: picasa-album-uploader.php 385840 2011-05-17 13:33:47Z draca $
    PHP Version:
    5.2.4-2ubuntu5.17
    MySQL Server Version:
    5.0.51a-3ubuntu5.8-log
    Plugin Slug:
    picasa_album_uploader
    Permalink Structure:
    /%year%/%monthnum%/%postname%/
    Button HTML:
    <a href="picasa://importbutton/?url=http://kofoednielsen.dk/blog/picasa_album_uploader/picasa_album_uploader.pbz" title="Download Picasa Button and Install in Picasa Desktop">Install Image Upload Button in Picasa Desktop</a>
    Log:
    2011-08-14 21:26:03 Parsing request 'blog/picasa_album_uploader/picasa_album_uploader.pbz'
    2011-08-14 21:26:03 Request is not for plugin: 'blog/picasa_album_uploader/picasa_album_uploader.pbz'
    2011-08-14 21:26:03 Parsing request 'blog/picasa_album_uploader/picasa_album_uploader.pbz'
    2011-08-14 21:26:03 Request is not for plugin: 'blog/picasa_album_uploader/picasa_album_uploader.pbz'

    Sounds like exactly the same thing that is happening to me, although I don’t know much about coding, so I can’t even experiment.

    Plugin Author Ken

    (@draca)


    Jakob.bro –

    The plugin expects the incoming request should be “picasa_album_uploader/picasa_album_uploader.pbz” and yours is prefixed with “blog/”. In the installs I’ve tested this prefixing does not happen so this makes me think I’m not handling some aspect of WordPress customization properly.

    * Is WP installed in the ‘blog’ sub-directory on your server?
    * What are the values for “WordPress address (URL)” and “Site address (URL)” on the “General Settings” options screen?

    crackedjar – In the plugin settings, you can turn on the debug logging so see if similar data is being reported by the plugin.

    I finally gave up and went with another way to get my pictures uploaded and displayed. Not quite as convenient, but I accomplished what I wanted to accomplish.

    Thank you anyway.

    Ken,

    Thanks for the speedy reply,

    Is WP installed in the ‘blog’ sub-directory on your server?

    Yes

    What are the values for “WordPress address (URL)” and “Site address (URL)” on the “General Settings” options screen?

    WordPress address (URL) = http://kofoednielsen.dk/blog

    Site address (URL) = http://kofoednielsen.dk

    Plugin Author Ken

    (@draca)


    I haven’t found the problem, but it is a result of how you have WordPress configured. If the site address were also set to have ‘/blog’ I expect it would work for you. I’ve been able to recreate the problem locally so will be able to sort out a solution.

    Plugin Author Ken

    (@draca)


    Found the flaw and posted version 0.6.2. Please give it a shot.

    Big improvement; I now have the button succesfully.

    A couple of observations. When trying to update the plugin from my WordPress installation, the plugin is reported as up-to-date version 0.6.1.

    I also noticed that the version number is indicated as 0.6.1 on the plugni homepage, however the link points to the 0.6.2 ZIP file.

    It may be intentional, but I though I wanted to mention.

    When using the button, the minibrowser opens, but I get the “Sorry, but no pictures were received from Picasa.” error.

    I have seen it around in the forum, and have not investigated further on my own yet. So please dont waste time, if it is a known issue.

    Log now shows:

    Plugin Versions:
    $Id: options.php 385833 2011-05-17 13:13:20Z draca $
    $Id: picasa-album-uploader.php 423849 2011-08-15 15:54:46Z draca $
    PHP Version:
    5.2.4-2ubuntu5.17
    MySQL Server Version:
    5.0.51a-3ubuntu5.8-log
    Plugin Slug:
    picasa_album_uploader
    Permalink Structure:
    /%year%/%monthnum%/%postname%/
    Button HTML:
    <a href="picasa://importbutton/?url=http://kofoednielsen.dk/picasa_album_uploader/picasa_album_uploader.pbz" title="Download Picasa Button and Install in Picasa Desktop">Install Image Upload Button in Picasa Desktop</a>
    Log:
    [lines removed here - jakob.bro]
    2011-08-15 17:36:47 Parsing request 'picasa_album_uploader/picasa_album_uploader.pbz'
    2011-08-15 17:36:47 Request will be handled by plugin
    2011-08-15 17:36:47 build_url: http://kofoednielsen.dk/picasa_album_uploader/minibrowser
    2011-08-15 17:36:47 Building Button with target URL http://kofoednielsen.dk/picasa_album_uploader/minibrowser
    2011-08-15 17:36:47 Delivered button file to client
    2011-08-15 17:37:08 Parsing request 'picasa_album_uploader/minibrowser'
    2011-08-15 17:37:08 Request will be handled by plugin
    2011-08-15 17:37:08 Generating Minibrowser content
    2011-08-15 17:37:08 Redirecting minibrowser request to login
    2011-08-15 17:37:08 build_url: http://kofoednielsen.dk/picasa_album_uploader/login
    2011-08-15 17:37:08 Parsing request 'picasa_album_uploader/login'
    2011-08-15 17:37:08 Request will be handled by plugin
    2011-08-15 17:37:08 Generating login window content
    2011-08-15 17:37:08 build_url: http://kofoednielsen.dk/picasa_album_uploader/login
    2011-08-15 17:37:08 Using plugin supplied template
    2011-08-15 17:37:15 Parsing request 'picasa_album_uploader/login'
    2011-08-15 17:37:15 Request will be handled by plugin
    2011-08-15 17:37:15 Generating login window content
    2011-08-15 17:37:15 build_url: http://kofoednielsen.dk/picasa_album_uploader/minibrowser
    2011-08-15 17:37:15 Parsing request 'picasa_album_uploader/minibrowser'
    2011-08-15 17:37:15 Request will be handled by plugin
    2011-08-15 17:37:15 Generating Minibrowser content
    2011-08-15 17:37:15 Empty RSS feed from Picasa; unable to build minibrowser form.
    2011-08-15 17:37:15 Using plugin supplied template

    And, once again, thanks a lot for the fast response 🙂

    Plugin Author Ken

    (@draca)


    The version discrepancies should sort themselves out. There’s a lag in the system from when a new version is posted an all the info at the wordpress site is updated.

    The empty RSS feed is most likely the result of server software dropping the long POST variables that are sent by Picasa. See the readme for a discussion of this error.

    I am still having the same issue in 0.6.2. The “install button” link exists in my WordPress settings, but the button does not appear in my Picasa button window. Suggestions?

    It would seem there is no “.pbz” file in the current 0.6.2 zip file. I assume this is where the button is coming from, and thus there is no button to install? Can you add this file back in, or perhaps direct users to an old file containing the .pbz file?

    The pbz is dynamically generated, as it says in the FAQ. So the file does not need to be added.
    Did you check the permalink settings, thats what ruined it for me …

    Plugin Author Ken

    (@draca)


    Regarding the “missing” button file, this is addressed in the readme. It is generated on the fly by the plugin. Please enable debugging and post the debug log so I can see what is happening from the plugin perspective.

    Yipes. Can’t believe I missed the dynamic generation of .pbz in FAQ. Sorry ’bout that. [blush]

    Still not sure what’s going on though. Here’s the error log:

    Plugin Versions:
    $Id: options.php 385833 2011-05-17 13:13:20Z draca $
    $Id: picasa-album-uploader.php 423849 2011-08-15 15:54:46Z draca $
    PHP Version:
    5.2.17
    MySQL Server Version:
    5.0.92-community
    Plugin Slug:
    picasa_album_uploader
    Permalink Structure:
    /%year%/%monthnum%/%postname%/
    Button HTML:
    Install Image Upload Button in Picasa Desktop
    Log:
    2011-08-30 22:51:19 Parsing request ”
    2011-08-30 22:51:19 Request is not for plugin: ”
    2011-08-30 22:51:19 Parsing request ”
    2011-08-30 22:51:19 Request is not for plugin: ”

Viewing 15 replies - 1 through 15 (of 27 total)
  • The topic ‘Can't get button to install’ is closed to new replies.