I am fairly new to developing with Drupal, and new to this forum, so any help would be greatly appreciated.
While trying to authorize SalesForce with a local install I get the following two errors with when going to the oauth_callback.
Note: I have not included the entire path to save space but the reference points are accurate for the doc and line the error references.
Notice: Undefined property: stdClass::$data in Salesforce->requestToken() (line 338 of salesforce.inc)
SalesforceException: Error opening socket ssl://login.salesforce.com:443 in Salesforce->requestToken() (line 342 of salesforce.inc)
Local Environment: Mac OS Mavericks with XAMPP 5.6.3, SSL enabled on port 443 in
httpd-vhosts.conf with certs created using OpenSSL.
php_openssl.dll uncommented in php.ini
Also to note the Drupal install was pulled from a live site that has SF module enabled and working.
I created a new connected app with the proper
oauth_callback to the local site which is
I have both HTTPS and HTTP enabled, I have noticed that in the Status Report when using HTTPS I do get a HTTP Failure error in the status report.
The request url from salesforce is passing a code EX:
With a Status code of
500 Service unavailable.
I have looked all over online and on this site, and can't seem to find anything that works. I have tried a few patches to the
common.inc file, but none of them seemed to work.
Like I said any help would be greatly appreciated, I am just not sure if it is Drupal, Salesforce, or my local setup.