Closed ghost closed 9 years ago
You have to update the version. Google no longer accepts raw username and passwords.
i downloaded the new version and my config file is properly configured as well...
Are you able to get the token and print something?
Check out the readme and demo. The log in system totally changed.
i did it exactly like in the readme. i changed the client id, secret and the url to the oAuthRedirect.php. still it doesn't work. i wanna cry xD
i've got the newest version, just redownloaded and reinstalled 10 minutes ago. i created a new client id with google just a few minutes ago. i changed everything like in the readme. it does not work. does it work with you?
Yes, it works for me. Do you get an auth code from google?
strange... how do i check the auth code? i don't think so, as the message actually only appears if the authtoken is empty. i just get the error message if i open the example.php. i just redid everything with a new google account and new credentials. no success...
Try the offline method.
that works :+1:
I tried it about 3 weeks ago and it was working fine. But nowsuddently it stopped working. What's the problem? Google credentials are still the same and should be working.
Fatal error: Uncaught exception 'Exception' with message 'Please first login to Google' in /homepages/14/d519345690/htdocs/bar/print/GoogleCloudPrint.php:120 Stack trace: #0 /homepages/14/d519345690/htdocs/bar/print/example.php(30): GoogleCloudPrint->getPrinters() #1 {main} thrown in /homepages/14/d519345690/htdocs/bar/print/GoogleCloudPrint.php on line 120