Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to setup using WordPress 4.1 #33

Open
cfletcher opened this issue Feb 3, 2015 · 11 comments
Open

Trying to setup using WordPress 4.1 #33

cfletcher opened this issue Feb 3, 2015 · 11 comments

Comments

@cfletcher
Copy link
Contributor

I'm trying to setup access to Flickr using version 2 of wp-flickr-press on Wordpress 4.1 but after I put my key and secret in and press update the popup window loads for a second or two then stays blank.
Chrome dev tools shows an error of:
Uncaught TypeError: Cannot read property 'nsid' of undefined wp-admin/options-general.php?page=wp-flickr-press/FpAdminSettingEvent.php:328

@fukata
Copy link
Owner

fukata commented Feb 4, 2015

Can you debug?

Please modify flickr_oauth_callback.php below.

diff --git a/flickr_oauth_callback.php b/flickr_oauth_callback.php
index edf6a5c..cbeaa70 100644
--- a/flickr_oauth_callback.php
+++ b/flickr_oauth_callback.php
@@ -5,4 +5,5 @@ unset($_GET['frob']);
 require_once(dirname(__FILE__).'/check-oauth.php');

 $token = FlickrPress::getClient()->auth_getToken($frob);
+var_dump($token); exit;
 include_once(dirname(__FILE__).'/inc.flickr_oauth_callback.php');

@cfletcher
Copy link
Contributor Author

Thanks for the reply, I'll try it when I get home.
I think Flickr has disabled logins from Google OAuth recently and only allows yahoo now. That might be related.

@cfletcher
Copy link
Contributor Author

I just get a blank page that says "NULL". There are no console errors or anything, its stuck on http://www.mydomain.com/wp-admin/admin.php?action=wpfp_flickr_oauth_callback&frob=##############-##############-######

@fukata
Copy link
Owner

fukata commented Feb 5, 2015

Thank you debug.
Umm... Are you installed another flickr related plugins?

@cfletcher
Copy link
Contributor Author

No, I don't have any other Flickr plugins installed and the only plugins I have enabled are below:

Adminer
Deactivate | Edit
Adminer (formerly phpMinAdmin) is a full-featured MySQL management tool written in PHP. This plugin include this tool in WordPress for a fast management of your database.

Version 1.3.2 | By Frank Bültge | View details

Blog Introduction
Deactivate | Edit
Shows an introduction before posts without messing your theme files. Configure the plugin and show your introduction.

Version 1.9.11 | By Jussi Ruokomäki | View details

Duplicate Post
Settings | Deactivate | Edit
Clone posts and pages.

Version 2.6 | By Enrico Battocchi | View details | Donate | Translate

Social Web Links
Deactivate | Edit
Display beautiful web profile icons on your widget or content. For more details, visit http://www.nischalmaniar.com/social-web-links/

Version 5.0 | By Nischal Maniar | View details

WordPress Importer
Deactivate | Edit
Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

Version 0.6.1 | By wordpressdotorg | View details

wp-flickr-press
Deactivate | Edit
Flickr integration for wordpress plugin.

Version 2.0.0 | By Tatsuya Fukata, Alexander Ovsov | View details

WP Post Series
Deactivate | Edit

Version 1.0.1 | By Mike Jolley | View details

WP Super Cache
Settings | Deactivate | Edit
Very fast caching plugin for WordPress.

Version 1.4.2 | By Automattic | View details

@fukata
Copy link
Owner

fukata commented Feb 6, 2015

Thank you.
I will check with same plugins install.

@fukata
Copy link
Owner

fukata commented Feb 6, 2015

I was checked. it's ok.

I think Flickr has disabled logins from Google OAuth recently and only allows yahoo now. That might be related.

Your account is google account? my account is yahoo account.

@cfletcher
Copy link
Contributor Author

I use Yahoo now but I used to use google months ago. I was just thinking the problem might be related to that, Flickr knows I used Google Auth for that Flickr account before

@fukata
Copy link
Owner

fukata commented Mar 2, 2015

Can u create new flickr user and testing?

@cfletcher
Copy link
Contributor Author

I have the same problem with a new Flickr/Yahoo account.

@KelovpString
Copy link

I get the same question...It just stop an null page when you Update Token

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants