Viewing 12 replies - 16 through 27 (of 27 total)
  • Plugin Author Ken Brucker

    (@draca)

    Hmmm… And that log is from when you click on the install button link? Very very odd if it is. Just in case … what I meant to ask for:

    – Turn on debug
    – Recreate the problem, i.e. click the download button link.

    I’m expecting to see log messages like what jakob.bro presented earlier in this thread.

    The Button HTML also looks wonky. Did you modify it? It should start with ‘picasa:’ and what you provided begins with ‘https:’. I guess I should modify my logging there to mask the site name. I’ll make some tweaks to do that.

    Yep. That’s what I did (turn on debug, click create button link).

    I didn’t modify the button HTML except to change out my domain name. Perhaps WordPress changed it here to make it part of a post (sometimes doesn’t like code)?

    Here’s the information doing it again today (using the “code” button from this interface to bracket the text I cut and pasted); there doesn’t seem to by any information in the 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:
        <a href="picasa://importbutton/?url=https://www.mydomain.com/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:

    Thanks for your speedy response and for trying to help!

    Plugin Author Ken Brucker

    (@draca)

    Did you get a message from Picasa after clicking the link? It seems that something is amiss in your browser that it isn’t passing the string over to Picasa for handling. What the log shows is that Picasa is not making the request to retrieve the button.

    What should happen when you click the link is you’ll get a dialog about launching Picasa to handle the request (this partly depends on browser config if you’re prompted.) Picasa should then load and present a confirmation dialog asking if you wish to import a button that includes the path to the button.

    Sounds like you aren’t getting that far so I think you need to look at your browser configuration in the ‘Applications’ settings (that’s what it’s called in Firefox). You should see an entry for content type ‘picasa’ that would cause it to launch Picasa, or at least ask what you want to do with that content type.

    If the content type isn’t there, I’m not sure how to get it added. FF docs say it should be added automatically and prompt you for how to handle the content request. Other browsers might behave different.

    Plugin Author Ken Brucker

    (@draca)

    Here’s some instructions regarding the FF settings for download actions.

    No message from Picasa. Just the open button dialogue box in Picasa with my currently installed options but no sign of the WordPress uploader (so the link is definitely launching Picasa).

    Picasa is definitely present and functioning in FF applications. I’ll try using a different browser and see what happens.

    Just tried in Chrome, Chrome asked to launch Picasa and import button, but when the “Configure Buttons” box popped up, still no option for WordPress photo upload button (only the currently installed options -just like what I was getting in FF).

    I feel like I must be doing something wrong, if jakob.bro got it to work, but perhaps there’s something missing in the 0.6.2 .zip that he had already had downloaded from 0.6.1?

    Still nothing in the log (which also seems weird):

    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:
    <a href="picasa://importbutton/?url=https://www.mydomain.com/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:
    Plugin Author Ken Brucker

    (@draca)

    The only file delivered related to the button is: images/wordpress-logo-blue.psd That said, the empty log indicates that the plugin is not receiving a request to build or download the button so I highly doubt you are missing any files. If you really wanted to convince yourself the earlier versions are available by following the “Other Versions” link in the FYI box at the WP plugin page.

    On the more likely front…

    Have you checked your server error logs for any messages? I’m wondering if you might have something like mod_security setup and it’s blocking the request for some reason. I noticed a flaw in the handling of URLs for multi-site configs that could run into some mod_security traps depending on the multi-site configuration.

    I’m also having the same problem. Using the 0.62 zip file.

    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.3.5-1ubuntu7.2
    MySQL Server Version:
    5.1.54-1ubuntu4
    Plugin Slug:
    trebacz_picasa_uploader
    Permalink Structure:
    /%year%/%monthnum%/%postname%/
    Button HTML:
    <a href="picasa://importbutton/?url=https://amd-ubuntu/wordpress/trebacz_picasa_uploader/picasa_album_uploader.pbz" title="Download Picasa Button and Install in Picasa Desktop">Install Image Upload Button in Picasa Desktop</a>
    Log:

    There are no entries in the GUI log for the plugin. I am getting 404 errors in the apache access log:

    "GET /wordpress/trebacz_picasa_uploader/picasa_album_uploader.pbz HTTP/1.1" 404

    In the apache error log I get the following error:

    `[error] File does not exist: /var/www/wordpress/trebacz_picasa_uploader’

    The behavior is as others have noted (Picasa machine is Windows XP and Picasa 3). Click on link to install in settings>media. Chrome asks if it okay to allow -tell chrome to launch application. Picasa asks to launch and install buttons. I say yes. Picasa launches, but no button appears in Picasa. I get the associated errors in my apache logs on the webserver. No log entries for the plugin in wordpress.

    Plugin Author Ken Brucker

    (@draca)

    This sounds like a configuration problem. Have you confirmed that you can access other posts and pages using their slug? My guess is that the needed changes are not in .htaccess to allow the rewrite rules in WP to do their thing.

    Double check Settings->Permalinks and confirm that you can access a post via its slug.

    You might need to manually modify .htaccess if the file is not writable by the webserver.

    Ken – thanks for your time. It was a configuration issue. I did have mod_rewrite (rewrite in Ubuntu) enabled -but not actually working.

    The default Ubuntu virtual host file contains a Directory directive for /. It sets AllowOverride None. Due to Apache 2 scoping, this will disallow override in any directory underneath /, i.e., any directory at all.

    Modifying to “AllowOverride All” has gotten the button working. Thanks for your time in helping with something that had nothing to do with your plugin.

    Plugin Author Ken Brucker

    (@draca)

    You’re welcome. Happy to hear that it did turn out to be a config issue.

    I do recommend you be more conservative with your use of AllowOverride to allow only what is actually needed in the directories that are appropriate to improve the security on your server. My server has the same root level config and I have more specific Directory directives to allow what is needed for the apps that are installed in those areas.

    Thanks again Ken. The server is still private -so I can experiment now. I did some more reading on the implications of AllowOverride All.

    The advice I gotten from another post was was incomplete (or wrong) regarding Ubuntu. Specifically “Error reading /home/david/.nano_history: Permission denied”. I have reverted the changes to the configuration file, and only set AllowOveride FileInfo on my wordpress directory and everything seems to be working well.

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