smccandl
Forum Replies Created
-
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication Problem@jroy, please take a look over here:
manu2000 identified a typo that would impact private albums. Please update to v0.9.11 via the dashboard and let me know if it works.
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemSorry Rich, out of town this past weekend. Yes, it could be a memory issue but typically you would see a message about it. Anyway, you can try upping the WP_MEMORY_LIMIT. This page has instructions for editing wp-config.php:
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemCan 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.
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemUse 0.9.10 from the WP repository and then replace the showAlbumContents.php with the showAlbumContents.php.debug from
https://pwaplusphp.smccandl.net/code/showAlbumContents.php.debugForum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemHi Rich and jroy,
I uploaded a debug version of showAlbumContents.php at
https://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
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemHi 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
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication Problem@jroy – that explains why you’re not seeing the debug. I will post an updated debug plugin for you.
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemYeah, but if these are public albums then it has nothing to do with the OAuth2 stuff. I will update the debug and post another version for you to try.
Scott
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemThe debug version isn’t going to make the images stay, but might show us why they disappear.
You don’t see any messages that say “DEBUG:”? They should be printed above the album thumbnails on the main page that lists all the albums.
What shortcode are you using? [pwaplusphp] or [pwaplusphp album=…]
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemFor anyone interested, I’ve uploaded a debug version of the plugin at the link below. It should help us understand what’s happening with the token refresh.
1. Download it
2. Uninstall the current version
3. Upload, install, activate the debug one
4. Copy the debug output and paste paste it into a reply hereLink: https://pwaplusphp.smccandl.net/code/pwaplusphp_v0.9.10_debug.zip
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemHi Rich — these 3 galleries on your site are public? In that case there’s no need to setup the authentication and it’s quite strange that one of them doesn’t work. Let me know…
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication Problem@feliciars, both types of shortcode are setup to refresh the token automatically if it has expired. I will need to post a debug version of the plugin for you to use.
Scott
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication Problem@jroy, please give it a try. If not I will need to send you a special debug version of the plugin to help figure out where the problem is.
Scott
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication ProblemThe php notices are nothing to worry about, but they shouldn’t be displayed. I’ve released a new version (0.9.10) that suppresses them. Please completely remove v0.9.9 and then install v0.9.10.
@feliciars, if the refresh token fails a message should be printed to the screen. Are you seeing it?
Forum: Plugins
In reply to: [PWA+PHP Picasa Web Albums for Wordpress] Google Authentication Problem@rjdougan: That was an oversight, next update I will use .10. Not sure where you are stuck. Did you try the ‘Reset Token’ link? If you click that link and then reload the page, you should be able to go through the authentication process again.
@feliciars: In the OAuth2 model there is a concept of a “refresh token”. Every hour or so the authentication expires and pwaplusphp must use the refresh token to re-request access. It sounds like maybe this is not working for you — you shouldn’t need to use the ‘Reset Token’ link to get it working. Will need to enable some debug to see where you are getting stuck.
Scott