yasirsiddiqui / php-google-cloud-print

PHP class to print documents using Google Cloud Print with OAuth2 authorization
91 stars 42 forks source link

Blank Page #5

Closed ghost closed 9 years ago

ghost commented 9 years ago

I've made the changes to the config.php file as described, but when I load the index.php page it redirects to oAuthRedirect.php? and only shows a blank page.

yasirsiddiqui commented 9 years ago

Can you check for php errors by putting this code to the beginning of index,php? May be there is syntax error. error_reporting(E_ALL);

ghost commented 9 years ago

I did try error_reporting(E_ALL) in the index.php and oAuthRedirect.php

Just getting a blank page under (http://example.com/oAuthRedirect.php?) after redirect

yasirsiddiqui commented 9 years ago

What Redirect URIs you entered when creating Google API project in Google developer console? Redirect URIs should point to oAuthRedirect.php on your server. Also Can you paste query string for the oAuthRedirect.php? I guess it is missing some arguments in query string.