We encountered an error trying to access your server at https://www.showitoffdecals.com/index.p ... t/callback -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
I am running Opencart 1.5.1.3, and just using the Google Checkout extension that's on this website. CANNOT get this thing to communicate properly.
Please help! I have searched the forums for answers pertaining to this exact problem, but the responses were either non-existent or not fully applicable to my own situation.
Thanks!
Any messages in your Google's Integration console?showitoff wrote:I have been getting errors that my callback url is wrong for my google checkout settings. This is the error that posted as of last night in the console:
We encountered an error trying to access your server at https://www.showitoffdecals.com/index.p ... t/callback -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
I am running Opencart 1.5.1.3, and just using the Google Checkout extension that's on this website. CANNOT get this thing to communicate properly.
Please help! I have searched the forums for answers pertaining to this exact problem, but the responses were either non-existent or not fully applicable to my own situation.
Thanks!
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
We encountered an error trying to access your server at https://www.showitoffdecals.com/index.p ... t/callback -- the error we got is Send failed with code: 401. Response body was: Failed to Get Basic Authentication Headers
If they can't re-configure it, change webhost, I recommend Hostgator.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Can you help? I'm thinking now I just have my callback string wrong. How do I know what it's supposed to be?The basic authentication module is installed on all servers. I see that google is contacting the index of your page, which you would normally NOT want to have an authentication barrier to, so I am assuming the plugin you're working with is supposed to intercept these calls and provoke basic authentication, but is not doing so for some reason (misconfiguration, etc.
Good luck,
Pete V
I am unable to reproduce your error as it is working just fine on other webhosts.showitoff wrote:I copied and pasted the API you listed above into my opencart module settings AND my google checkout integration settings and it's still not working.
What else could I possibly be doing wrong?
To narrow it down, add this into the catalog/controller/checkout/gcheckout.php:
Code: Select all
function callback() {
// make sure its posted
if (strtoupper($this->request->server['REQUEST_METHOD']) != 'POST') {
$this->response->redirect($this->url->link('common/home'));
}
ob_start();
var_dump( $_SERVER );
$this->log->write( ob_get_contents() );
ob_end_clean();
.....
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I keep on getting 'Failed to Get Basic Authentication Headers'.
I've got SSL installed
auth_basic apache module selected
here's my error log:
Code: Select all
2012-08-06 15:42:45 - array(32) {
["PATH"]=>
string(28) "/usr/local/bin:/usr/bin:/bin"
["REDIRECT_STATUS"]=>
string(3) "200"
["PP_CUSTOM_PHP_INI"]=>
string(48) "/var/www/vhosts/websiteaddress.co.uk/etc/php.ini"
["HTTPS"]=>
string(2) "on"
["CONTENT_TYPE"]=>
string(30) "application/xml; charset=UTF-8"
["HTTP_USER_AGENT"]=>
string(38) "Google Checkout Notification Agent 1.0"
["HTTP_HOST"]=>
string(24) "www.websiteaddress.co.uk"
["CONTENT_LENGTH"]=>
string(4) "5655"
["HTTP_ACCEPT_ENCODING"]=>
string(4) "gzip"
["SERVER_SOFTWARE"]=>
string(6) "Apache"
["SERVER_NAME"]=>
string(24) "www.websiteaddress.co.uk"
["SERVER_ADDR"]=>
string(12) "91.102.69.91"
["SERVER_PORT"]=>
string(3) "443"
["REMOTE_ADDR"]=>
string(13) "74.125.186.46"
["DOCUMENT_ROOT"]=>
string(45) "/var/www/vhosts/websiteaddress.co.uk/httpdocs"
["SERVER_ADMIN"]=>
string(23) "admin@websiteaddress.co.uk"
["SCRIPT_FILENAME"]=>
string(55) "/var/www/vhosts/websiteaddress.co.uk/httpdocs/index.php"
["REMOTE_PORT"]=>
string(5) "46712"
["REDIRECT_QUERY_STRING"]=>
string(33) "route=checkout/gcheckout/callback"
["REDIRECT_URL"]=>
string(10) "/index.php"
["GATEWAY_INTERFACE"]=>
string(7) "CGI/1.1"
["SERVER_PROTOCOL"]=>
string(8) "HTTP/1.1"
["REQUEST_METHOD"]=>
string(4) "POST"
["QUERY_STRING"]=>
string(33) "route=checkout/gcheckout/callback"
["REQUEST_URI"]=>
string(44) "/index.php?route=checkout/gcheckout/callback"
["SCRIPT_NAME"]=>
string(10) "/index.php"
["ORIG_SCRIPT_FILENAME"]=>
string(40) "/var/www/cgi-bin/cgi_wrapper/cgi_wrapper"
["ORIG_PATH_INFO"]=>
string(10) "/index.php"
["ORIG_PATH_TRANSLATED"]=>
string(55) "/var/www/vhosts/websiteaddress.co.uk/httpdocs/index.php"
["ORIG_SCRIPT_NAME"]=>
string(20) "/phppath/cgi_wrapper"
["PHP_SELF"]=>
string(10) "/index.php"
["REQUEST_TIME"]=>
string(10) "1344267765"
}
Thanks,
Get in touch with your web host, or switch web host.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
Here's the list of apache modules..which ones do I need to activate?
thanks
HTTP authentication does not work with the cgi version of PHP, so if your hosting allows you will need to switch to PHP as Apache module or look for an alternative solution.
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
I was just going through the installation procedure to check if everything was ok when I saw the version I installed is 1.5.1.2 and my opencart version is 1.5.2.1.
I think maybe this is the problem
Users browsing this forum: No registered users and 32 guests