Forum Replies Created

Viewing 15 replies - 1 through 15 (of 25 total)
  • wildnaturephotos

    (@wildnaturephotos)

    Well, 107 is not a magic number… I’ve had to delete a handful of images to get it working again. Maybe a memory problem somewhere?

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    A clue. I made a new album and added images; everything is good up to 107 images. If I add any additional images, regardless of the name, metadata, etc. the page crashes.

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    I wish I could. The server is a virtual machine run by CenturyLink / SavvisDirect as part of a “business package” and I have no access to the PHP installation, the web error logs, or… …

    I may move a copy of the site to my server just to help debug. I cringed when I learned where the karate site was being hosted. And as a bonus, totally useless support.

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    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>

    wildnaturephotos

    (@wildnaturephotos)

    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

    wildnaturephotos

    (@wildnaturephotos)

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

    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)

    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)

    For completeness…

    DEBUG: Now is 1429850508, token expires at 1429853455

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

    wildnaturephotos

    (@wildnaturephotos)

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

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    DEBUG: Now is 1429849855, token expires at 1429846583

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

    DEBUG: [refreshOAuth2Token] { “access_token”: “ya29.XwHkIZCqdEVqdoXE8vSM6fx9qrdpU87MNOnMU98BiuVUtpF1HkVh7zo9n57W-djf4IC7nkG6cnxHRA”, “token_type”: “Bearer”, “expires_in”: 3600 }

    DEBUG: [refreshOAuth2Token] using refreshToken 1/nITjymdOLF2v16fY0vOqjBD4Vq13ESGIqMoMOgF5hcg

    wildnaturephotos

    (@wildnaturephotos)

    The public album that fails with the plugin works fine from a direct link:

    https://picasaweb.google.com/101769438751764680800/March2015BeltTesting

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    What shortcode are you using? [pwaplusphp]

    All three galleries seemed to work previously, I’m pretty certain.

    –Rich

    (I’ll be far away from a computer during the day on Friday.)

    wildnaturephotos

    (@wildnaturephotos)

    It does not look like the token is timing out. There is perhaps a PHP error that is killing output. The page source of my 2nd gallery looks prematurely terminated, as does the output. It does not look like the code executed properly and was simply denied access to resources. It is not a clean fail.

    –Rich

    wildnaturephotos

    (@wildnaturephotos)

    Loading the page info Firefox gives the same 2-of-3 galleries are working result.

    DEBUG: Now is 1429843550, token expires at 1429846583

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

    –Rich

Viewing 15 replies - 1 through 15 (of 25 total)