Google ile giriş için "OAuth 2.0 Client IDs" oluşturup Client ID ve secret bilgilerini WiseCP eklentiler bölümündeki "Google ile Bağlan/Kaydol" eklentisindeki ilgili alanlara ekledim ve kaydettim. Ayrıca OAuth consent screen yapılandırmasını tamamlayarak "Verified" durumuna gelmesini de sağladım. WiseCP subdomain içerisinde kurulu olduğu için "Authorized JavaScript origins" ve "Authorized redirect URIs" bölümlerine subdomain olarak ekledim. Tüm yapılandırmalardan sonra Google ile giriş yapmaya çalıştığımda Chrome console bölümünde "Third-party cookie will be blocked. Learn more in the Issues tab." uyarısı alıyorum ve Issues bölümünde "Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, setting third-party cookies will be blocked. This behavior protects user data from cross-site tracking." ibaresi bulunuyor. Ayrıca hosting içerisinde "error_log" dosyası oluşuyor ve içerisindeki log kayıtları aşağıdaki gibidir:
[10-Jun-2024 02:02:51 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151
Stack trace:
#0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache()
#1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache()
#2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken()
#3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback()
#4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider()
#5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main()
#6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct()
#7 {main}
thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151
[10-Jun-2024 02:17:32 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151
Stack trace:
#0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache()
#1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache()
#2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken()
#3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback()
#4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider()
#5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main()
#6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct()
#7 {main}
thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151
[10-Jun-2024 02:17:53 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151
Stack trace:
#0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache()
#1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache()
#2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken()
#3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback()
#4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider()
#5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main()
#6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct()
#7 {main}
thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151
[10-Jun-2024 02:34:54 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151
Stack trace:
#0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache()
#1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache()
#2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken()
#3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback()
#4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider()
#5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main()
#6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct()
#7 {main}
thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151
Tam 3 gündür bu sorunla ilgileniyorum ve çözüm bulamadım. Nerede hata yapıyor olabilirim? Bana bu konuda yardımcı olabilir misiniz?
Question
modeser
Merhabalar,
Google ile giriş için "OAuth 2.0 Client IDs" oluşturup Client ID ve secret bilgilerini WiseCP eklentiler bölümündeki "Google ile Bağlan/Kaydol" eklentisindeki ilgili alanlara ekledim ve kaydettim. Ayrıca OAuth consent screen yapılandırmasını tamamlayarak "Verified" durumuna gelmesini de sağladım. WiseCP subdomain içerisinde kurulu olduğu için "Authorized JavaScript origins" ve "Authorized redirect URIs" bölümlerine subdomain olarak ekledim. Tüm yapılandırmalardan sonra Google ile giriş yapmaya çalıştığımda Chrome console bölümünde "Third-party cookie will be blocked. Learn more in the Issues tab." uyarısı alıyorum ve Issues bölümünde "Cookies with the SameSite=None; Secure and not Partitioned attributes that operate in cross-site contexts are third-party cookies. In future Chrome versions, setting third-party cookies will be blocked. This behavior protects user data from cross-site tracking." ibaresi bulunuyor. Ayrıca hosting içerisinde "error_log" dosyası oluşuyor ve içerisindeki log kayıtları aşağıdaki gibidir:
[10-Jun-2024 02:02:51 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151 Stack trace: #0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache() #1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache() #2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken() #3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback() #4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider() #5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main() #6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct() #7 {main} thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151 [10-Jun-2024 02:17:32 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151 Stack trace: #0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache() #1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache() #2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken() #3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback() #4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider() #5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main() #6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct() #7 {main} thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151 [10-Jun-2024 02:17:53 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151 Stack trace: #0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache() #1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache() #2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken() #3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback() #4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider() #5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main() #6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct() #7 {main} thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151 [10-Jun-2024 02:34:54 Europe/Istanbul] PHP Fatal error: Uncaught Error: Class "Google\Auth\Cache\MemoryCacheItemPool" not found in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php:1151 Stack trace: #0 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(1101): Google\Client->createDefaultCache() #1 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php(804): Google\Client->getCache() #2 /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/ConnectGoogle.php(203): Google\Client->verifyIdToken() #3 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(63): ConnectGoogle->feedback() #4 /home/WEBSITEADRESI/public_html/coremio/controllers/website/sign.php(33): Controller->connect_with_provider() #5 /home/WEBSITEADRESI/public_html/coremio/init.php(211): Controller->main() #6 /home/WEBSITEADRESI/public_html/index.php(69): Bootstrap->__construct() #7 {main} thrown in /home/WEBSITEADRESI/public_html/coremio/modules/Addons/ConnectGoogle/vendor/google/apiclient/src/Client.php on line 1151
Tam 3 gündür bu sorunla ilgileniyorum ve çözüm bulamadım. Nerede hata yapıyor olabilirim? Bana bu konuda yardımcı olabilir misiniz?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.