Closed (won't fix)
Project:
Salesforce Webform Data Integration
Version:
6.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
13 Jan 2010 at 22:21 UTC
Updated:
8 Apr 2014 at 13:41 UTC
Jump to comment: Most recent
Comments
Comment #1
obsidiandesign commentedDo you have the following fields mapped:
Last Name
Email
Company
At a minimum, those three fields are required by SF. I ran into an issue today testing some changes for other object types because I didn't have Company linked for Leads. If you do have all three, make sure there is no extra whitespace before or after the <? and ?> in the Additional Processing block.
I will update the INSTALL.TXT to include information about minimum field requirements.
Bryan O'Shea
Obsidian Design
Comment #2
Batiste commentedHi Bryan,
Same error here:
Fatal error: require_once() [function.require]: Failed opening required 'modules/salesforcewebform/includes/soapclient/SforcePartnerClient.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/batiste/batisterum.com/site/modules/salesforcewebform/salesforcewebform.module on line 220
I tried the dev as well and nothing changed.
One thing I did that was to create an 'includes' file folder as there were none so that the path is like the one above: modules/salesforcewebform/includes/soapclient/
(you mention this in the install file: '3. Unzip the toolkit into the salesforcewebform/includes directory.')
Should the toolkit be installed in the site includes folder also/instead?
I have drupal 6 and my form has all three required field you mention. All seems to be setup right.
is there a PHP version i need to upgrade? I am running 5.2 now.
Could it be an issue with the wsdl file, or should the wsdl file be change from my own salesforce instance?
Thank you for your help.
Comment #3
obsidiandesign commentedTry an absolute path to see if that helps.
/home/batiste/batisterum.com/site/modules/salesforcewebform/includes/soapclient/.
Also, check to make sure that SforcePartnerClient.php is in that same directory.
Bryan
Comment #4
antefjante commentedAny news regarding this problem?
I have tried all suggested solutions above and still got the error.
Andreas
Comment #5
jwebb11 commentedI am also having the same issue w/ WSOD. 3 fields noted above are all mapped and SforcePartnerClient.php is installed in the includes/soapclient directory. Is there now a resolution available?
Comment #6
obsidiandesign commentedTwo tips I can offer for the WSOD:
1) Try the absolute path to the Salesforce Webform 'includes' folder - NOT the soapclient folder that is inside the includes folder.
2) Use the -dev version, but make sure to copy the new text for the 'Additional Processing' field (remove the text from the 1.2 version first). There is a difference in the function parameters. At the very least, the -dev version will offer more debugging output.
Bryan O'Shea
Obsidian Design
Comment #7
jpamental commentedHi-
I'm following #6, and have also tried the 'full path' to the includes folder (so am not getting the require_once error in the logs). Also have confirmed that I'm seeing the right fields show up when editing components so I know the user/pwd/token is correct. Still getting the WSOD.
Any ideas? Am I missing something?
D6
Webform 6.2.9
Latest dev download of this module
phptoolkit 13_1
Comment #8
obsidiandesign commented@jpamental - is there anything of note in the web server's error log? That's the only other place I can think of to look at the moment.
Bryan
Obsidian Design
Comment #9
obsidiandesign commentedPlease upgrade to the 1.3 version of the module and see if any specific errors are reported by Salesforce. If there are errors reported by the module, please post them here.
Bryan O'Shea
Obsidian Design
Comment #10
resmonde commentedI'm using Multi-sites on v6.20. I follow the install docs verbatim and place the salesforcewebform module inside /sites/all/modules as I need to use it on all three of my mini sites which share the same Drupal codebase. I then add an includes dir. inside this directory with the phptoolkit for SFDC.
PROBLEM = As soon as I place salesforcewebform directory inside /sites/all/modules, I get a WSOD.
In my apache logs the big error is:
PHP Fatal error: Cannot redeclare salesforce_api_connect() in /var/www/minisite1/sites/all/modules/salesforcewebform/salesforcefields.module on line 19
Same occurs if i place the salesforcewebform module inside the actual modules dir for the mini-site:
PHP Fatal error: Cannot redeclare salesforce_api_connect() in /var/www/minisite1/sites/cmsdev/modules/salesforcewebform/salesforcefields.module on line 19
Only way to get rid of WSOD is to remove the module. I have mod_php with SOAP so I'm out of ideas.
I really need to sort this out for a Production website. Any advice greatly appreciated,
TIA
R
UPDATE (Issue Resolved) :-
I had two instances of the salesforce api. Previously, I had installed the Salesforce Suite. I removed the Salesforce Suite module and this particular issue disappeared. Also, just noticed comment by btlife (comment #12) - thanks very much for trying to help - you were absolutely right!
Comment #11
dafederHello - I am not sure if this is the same issue I'm having or something different. I can connect to Salesforce, in that I get the correct list of fields to map to when setting up form components. However, when I add the code snippet to "additional processing" and submit a form I get a 500 Server Error.
The error in my logs begins:
PHP Fatal error: Uncaught SoapFault exception: [INVALID_LOGIN] INVALID_LOGIN: Invalid username, password, security token; or user locked out...Comment #12
btlife commentedQuote:
I have received this in the past and it was caused by installing multiple modules, like salesforce api, and salesforcewebform, or sf_webform.
Basically, it's saying that you have two (or more) modules that have the function salesforce_api_connect defined.
You might be able to track it down by going through all your modules and looking for the function to find the modules that have it defined and are conflicting with each other. Find in files starting at the sites folder for any files containing the text function salesforce_api_connect
Maybe one of the modules didn't uninstall properly.
Just throwing out ideas to try and help :)
Comment #13
dafederFor anyone looking for help with their own issue... there are a bunch of things going on here.
Comment #12's issue is discussed at length in #1017530: Compatibility with Salesforce Suite.
My issue in #11 was just due to not having the correct wsld xml files in place in my soap includes dir.
Comment #14
kenorb commented