How to install printer online with google

Hello everyone,i have a problem installing my printer at dolibarr,i tried to set up for being visible at google printer,my printer supports it also but nothing happens,when i go to
dolibarr and search for printers nothing is shown up,i get a message "file_get_contents(https://accounts.google.com/o/oauth2/token): failed to open stream: no suitable wrapper could be found’’,and that no printer has been set up.

To locate the piece of code and reproduce the error:

Check

htdocs/admin/syslog.php

Then

tail -<number of lines> documents/dolibarr.log

i check the dolibarr.log but it doesnt show me anywhere file_get_contents(https://www.google.com/cloudprint/search) and has a message ‘failed to open stream: no suitable wrapper could be found’.
Settings are set at level log_debug(7)

Ok. So it’s a PHP error. On Linux you have to consult the PHP error logs in /var/log in a similar way.