Open ashishchauhan opened 10 years ago
Your yii app is in debug mode? php errors are not disabled?
i have set the debug mode to true on my index page but still no errors are being throne
can you also set this on your index page?
error_reporting(E_ALL);
ini_set('display_errors', 1);
When I clicked "sign in with google" button my new windows opens with the url http://localhost/donation/index.php?r=user/login&hauth.start=Google&hauth.time=1412308960 but the window 's contents look the same like http://localhost/donation/index.php?r=user/login.In debug_file.Any ideas ?
INFO -- 127.0.0.1 -- 2014-10-03T11:02:40+07:00 -- Enter Hybrid_Provider_Adapter::login( Google ) INFO -- 127.0.0.1 -- 2014-10-03T11:02:40+07:00 -- Enter [Google]::logout() DEBUG -- 127.0.0.1 -- 2014-10-03T11:02:40+07:00 -- Hybrid_Provider_Adapter::login( Google ), redirect the user to login_start URL. -- INFO -- 127.0.0.1 -- 2014-10-03T11:02:40+07:00 -- Enter Hybrid_Auth::redirect( http://localhost/donation/index.php?r=user/login&hauth.start=Google&hauth.time=1412308960, PHP )
hello @nakarin4350, can you add this two lines to yours UrlManager
component config in application.config.main
?
'urlManager'=>array(
'urlFormat' => 'path', // this
'showScriptName' => false, // and this
'rules'=>array(
...
),
),
@SleepWalker,I still have no luck,but thanks for ur response.
To help you, I need the way to reproduce this issue on my localhost...
Do you use yii-user? If so, you can try to install this demo. This is the last version of yii-user and hoauth, that are already integrated together. You can try compare this setup to yours.
If you don't use yii-user, the only thing that remains is that I should see your code...
after copying all the files and directories in my hoauth directory , i configured my apps by going to the link http://mysite.com/index.php?r=site/oauthadmin . I finished my configuration and when i clicked the login buttons a new window opens with the url http://mysite.com/index.php?r=site/oauth&provider=Google but the window remains blank. Initially it was showing the permission window but now it comes to be blank every time...i reverted all the changes i made to any of the files in the hoauth directory but still nothing changes