avatarone1
Forum Replies Created
-
Hi @dividor ,
this is a very strange thing ,, this error massage is for facebook auth , there is no relation , and I didn’t understand the cause of this error .if you have other plugins related to facebook try to temporary deactivate it to test the plugin.
this updated plugin worked for me and for many people I know.
anyone should feedback to this post , and say if it works without any problems or there is a problem.
Hi,
as I promised I have updated the plugin again but this time I have made a 3 options of OAuth2 in the setting page of the plugin.
from now there is no need to edit anything on the php file of the plugin.
I have made a simple app to serve the OAuth2 (get code , get access token , refresh access token) for any website , so no need for console project if you want it easy.
the 3 options of oAuth2 is :
Default App : it is the app deployed by me on console project and it is encrypted.
Custom App : you can upload your app and use it instead of default app , you have to edit the file and add a client id info.
Client ID : if you want to make a console project and use it.to download this app if you want to upload it and using it as a custom app :
https://drive.google.com/file/d/0BxJDmNzyAfLhcVRYTDJVNV91YU0/view?usp=sharing
this app may be very helpfull on multisite install.to download only the new picasa-express-2.php file :
https://drive.google.com/file/d/0BxJDmNzyAfLhekRWSDRVbnhiTkk/view?usp=sharing
to download the full updated plugin :
https://drive.google.com/file/d/0BxJDmNzyAfLhV3BQS3RVMFM2OWc/view?usp=sharingTake a look on it , you will be happy !!
I expect that this is the final wonderful update ??if you like to pay for this :
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=L5HN75SBGLN98thank you for supporting me , please test
@jeroenonstenk , @aboibrahim , @redywebs , @heimatpfleger , @pic02766
Hi dabesa,
this can’t be related to my auth part change , this is a big error may be related to your multisite install or may be the plugin has an error related to multisite install.
try to deactivate the plugin then activate it or please search because I didn’t have much information about multisite install problems.
at the end of this week I will make a different thing on the solution , wait,support me , and post any problems you get.
tested for blog and user level and it works for both !!
N.B :
-you must revoke access then request a new access when changing between blog and user levels.
-I have updated the files on google drive , you can download it from links in previous posts.sorry I intended to say
the code already was working for blog level
mostly you tried user level so this error occur@heimatpfleger thank you for your feedback
this was a mistake ,I have forget to update the code of blog level
the code already was working for user level
mostly you tried blog level so this error occurnow I have updated the files you can replace the new files (save info part before this)
please test the updated code and tell me the resultalso, I will make the console client info fields on the plugin setting page to make this easier and to support multisite install but I am very busy for days I will do this later.
to anyone have or will have this problem ,I recommend method 3 or method 4 .
I have made this file has (auth fix as the main post of the topic + require wp-load.php fix)
https://drive.google.com/file/d/0BxJDmNzyAfLhS29JNVQzR1NUTkE/view?usp=sharingI recommend to use this file instead of the picasa-express-2.php file of the main post to avoid any future problems.
N.B : there is no relation between auth fix and require wp-load.php fix.
Hi,
thanks for all , google doesn’t prefer to change anything but Authsub is out of date and google warns for cancelling it for months ,
@redywebs this problem is not related to this fix , I thought to change this part of php code but I preferred to change auth part only.
this problem occur when you change the path of wordpress or move to another host or any thing that change the real path of the plugin folder.
this problem is a clear mistake from the author but he didn’t think about itso to fix this :
method 1 : just delete pe2-wp-path.php file which included with the plugin folder.method 2 (you will have to do this on every time you change the real path of the plugin folder):
(if you doesn’t know the real path ,do another solution)
open pe2-wp-path.php file which included with the plugin folder (this file generated on first install of the plugin) and change the path to the correct path (real path from the user root not http path).method 3 (this will fix the problem permanently):
just delete this part from the php codeif(file_exists(dirname(__FILE__).'/pe2-wp-path.php')){ // include the pe2-wp-path.php to define the wordpress root // (this allows a customized path (sometimes necessary in certain // wordpress installations) to be set when saving the pe2 preferences page // and written to the file system so it can be loaded here prior // to any wordpress filters or functionality being available) // (using an include that sets a variable so that if the file is // accessed from the web nothing is visible, thus not causing a // security problem) include(dirname(__FILE__).'/pe2-wp-path.php'); }
method 4 (this will fix the problem permanently, if I typed this plugin I would do this , it is the same idea of method 3):
delete this :
// require wp-load so that wordpress loads allowing us to perform the updates // to the appropriate setting if(file_exists(dirname(__FILE__).'/pe2-wp-path.php')){ // include the pe2-wp-path.php to define the wordpress root // (this allows a customized path (sometimes necessary in certain // wordpress installations) to be set when saving the pe2 preferences page // and written to the file system so it can be loaded here prior // to any wordpress filters or functionality being available) // (using an include that sets a variable so that if the file is // accessed from the web nothing is visible, thus not causing a // security problem) include(dirname(__FILE__).'/pe2-wp-path.php'); } if(!isset($pe2_wp_path)){ // for some reason the include doesn't exist (preferences haven't // been written, or web server doesn't have write access to the // plugin directory) or the include didn't set the appropriate // variable. // We have no choice but to determine the path as best as we can // and hope it works with this installation $pe2_wp_path = preg_replace('/wp-content.*/','',__FILE__); } // require wp-load.php for the core wordpress functions we need require_once($pe2_wp_path.'wp-load.php');
and put this instead :
// require wp-load so that wordpress loads allowing us to perform the updates $parse_uri = explode('wp-content',__FILE__); require_once( $parse_uri[0] . 'wp-load.php' );
—–
if anyone has any other problem , please post it.
I think it will not be any another problem ,this last problem I have already expected it and it doesn’t relate to the auth fix.Forum: Plugins
In reply to: Replacement for Picasa and Google Plus Express?I am who put the solution ,,
contact me at the gmail on my profile.
Hello
I have the solution
contact me at gmail on the profile description