Support » Plugin: PWA+PHP Picasa Web Albums for WordPress » Google Authentication Problem

  • Resolved claridgematt

    (@claridgematt)


    Hi,

    I’ve just installed this plugin and when trying to complete Step 1 of the setup, to authenticate with Google, I am receiving this error:

    The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:

    The site “http://co.uk” has not been registered.

    Google reports that this authentication method has been deprecated.

    Is there a way around this problem? I don’t particularly need access to private albums, so this step is probably not required, but the plugin demands it…

    Any help would be appreciated.

    Thanks
    Matt

    https://wordpress.org/plugins/pwaplusphp/

Viewing 15 replies - 76 through 90 (of 110 total)
  • wildnaturephotos

    (@wildnaturephotos)

    To my eyes, the token refresh is working correctly. Something else… especially since 2/3 galleries are functional.

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    For completeness…

    DEBUG: Now is 1429850508, token expires at 1429853455

    DEBUG: [dumpAlbumContents] Token is still valid for another 2947 secs

    wildnaturephotos

    (@wildnaturephotos)

    DEBUG: Now is 1429853451, token expires at 1429853455

    DEBUG: [dumpAlbumContents] Token is still valid for another 4 secs

    ===

    DEBUG: Now is 1429853468, token expires at 1429853455

    DEBUG: [dumpAlbumContents] Token is expired, calling function to refresh it
    DEBUG: [refreshOAuth2Token] got the following response:

    DEBUG: [refreshOAuth2Token] { “access_token”: “ya29.XwFSZ_ohVIa0On8w9T1WAovKfy90KuvWl2xUbJksI2s7e-w03qe9L_NsCp-F2xyx_Ct8QxfiYEcCjw”, “token_type”: “Bearer”, “expires_in”: 3600 }

    DEBUG: [refreshOAuth2Token] using refreshToken 1/nITjymdOLF2v16fY0vOqjBD4Vq13ESGIqMoMOgF5hcg

    wildnaturephotos

    (@wildnaturephotos)

    I tried using private galleries. They work (in principle), but the one gallery is a near duplicate of the public library that does not work, and it also does not render. Is it possible there is something about the metadata or ??? that is breaking the PHP output? The galleries display fine on Picasa.

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    Hmmm…. I may need to look for another solution if we don’t come up with a fix.

    Plugin Author smccandl

    (@smccandl)

    Hi Rich, what is your picasa username. Since they are public I can try to work it out on this end instead of sending you some things to try.

    Scott

    @smccandl : did you update your beta version?

    Plugin Author smccandl

    (@smccandl)

    Hi Rich and jroy,

    I uploaded a debug version of showAlbumContents.php at

    http://pwaplusphp.smccandl.net/code/showAlbumContents.php.debug

    Download that and put it into your wp-content/plugins/pwaplusphp folder.

    Rename the original to showAlbumContent.php.orig and then rename showAlbumContents.php.debug to showAlbumContents.php.

    Reload the page and tell me what you see.

    Scott

    Hi Scott,

    I have to use the final version or the debug version of your plugin?

    with the final version and this file nothing happen: no pictures and no debug information.

    Aéroport de Taipei. Dessins d’enfants

    Plugin Author smccandl

    (@smccandl)

    Use 0.9.10 from the WP repository and then replace the showAlbumContents.php with the showAlbumContents.php.debug from
    http://pwaplusphp.smccandl.net/code/showAlbumContents.php.debug

    it was I did, and nothing happen.

    I agree with jroy.

    The galleries that worked previously continue to work, but now spit out debug data. The album that did not work previously still terminates the page HTML code prematurely = no footer code, etc.

    Here’s what I get from the 3rd album:

    DEBUG: [showAlbumContents] PHOTO_ID is 6127805466152109585
    DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-OXCahB7OUiU/VQpWnWHm-jI/AAAAAAAAABI/nlH8otoda48/s160/_MJW9216.jpg, href=https://lh3.googleusercontent.com/-OXCahB7OUiU/VQpWnWHm-jI/AAAAAAAAABI/nlH8otoda48/s1024/_MJW9216.jpg, gphotoid=6127805476943362610
    DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-MfPhoiXI5i8/VQpWpNVgzGI/AAAAAAAAABQ/NUlIFfzyqRI/s160/MD150314073.jpg, href=https://lh3.googleusercontent.com/-MfPhoiXI5i8/VQpWpNVgzGI/AAAAAAAAABQ/NUlIFfzyqRI/s1024/MD150314073.jpg, gphotoid=6127805508945497186
    DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-0PiUxhpOKKw/VQpWqpkbW_I/AAAAAAAAABY/3sRYvjH5PQQ/s160/MD150314075.jpg, href=https://lh3.googleusercontent.com/-0PiUxhpOKKw/VQpWqpkbW_I/AAAAAAAAABY/3sRYvjH5PQQ/s1024/MD150314075.jpg, gphotoid=6127805533704117234

    The second has no debug output at all.

    http://www.akka-harris.com/?page_id=27

    –Rich

    Here is the output code from a working gallery and a “broken” gallery. The “article” section becomes essentially empty.

    Working:

    <div id="main">
    <div class="container clearfix"><div id="content"><section id="post-27" class="post-27 page type-page status-publish hentry">
      <article>
    
                <div class="entry-content clearfix">
          DEBUG: [showAlbumContents] PHOTO_ID is 6127805466152109585<br>DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-OXCahB7OUiU/VQpWnWHm-jI/AAAAAAAAABI/nlH8otoda48/s160/_MJW9216.jpg, href=https://lh3.googleusercontent.com/-OXCahB7OUiU/VQpWnWHm-jI/AAAAAAAAABI/nlH8otoda48/s1024/_MJW9216.jpg, gphotoid=6127805476943362610<br>DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-MfPhoiXI5i8/VQpWpNVgzGI/AAAAAAAAABQ/NUlIFfzyqRI/s160/MD150314073.jpg, href=https://lh3.googleusercontent.com/-MfPhoiXI5i8/VQpWpNVgzGI/AAAAAAAAABQ/NUlIFfzyqRI/s1024/MD150314073.jpg, gphotoid=6127805508945497186<br>DEBUG [showAlbumContents] thumb=https://lh3.googleusercontent.com/-0PiUxhpOKKw/VQpWqpkbW_I/AAAAAAAAABY/3sRYvjH5PQQ/s160/MD150314075.jpg, href=https://lh3.googleusercontent.com/-0PiUxhpOKKw/VQpWqpkbW_I/AAAAAAAAABY/3sRYvjH5PQQ/s1024/MD150314075.jpg, gphotoid=6127805533704117234<br><p>AKKA – Arizona Karate and Kombat Academy takes pride in the activities we host or participate in throughout the year! We do our best to capture as much of the energy and enthusiasm as we can in photographs. We share our memories via our photo galleries. Please take a look!</p>
    <p>(We’re having some technical difficulties with Google’s new authentication. Hope to have any glitches fixed soon!)</p>
    <div id="title"><h2>2015 Tournament and Banquet, Albuquerque</h2><span><a class="back_to_list" href="/?page_id=27">...back to album list</a></span></div>
    <div class="pwaplusphp_thumbnail" style="width: 170px; height: 200px; text-align: center;">
    [snip]

    and broken:

    <div id="main">
    <div class="container clearfix"><div id="content"><section id="post-27" class="post-27 page type-page status-publish hentry">
      <article>
    
                <div class="entry-content clearfix"></div>
    </article>
    </section></div></div></div></div></body></html>

    yes nothing is outputed, same for me.

    Plugin Author smccandl

    (@smccandl)

    Can you guys try to load the page and then send the last 50 or so lines from your web server error log? If the script is dying for only certain albums that’s pretty strange but error_log might say something interesting.

Viewing 15 replies - 76 through 90 (of 110 total)
  • The topic ‘Google Authentication Problem’ is closed to new replies.