I wrote a web form. It seems to work because I get a mail with all information.
My problem is that these information are not transmitted into "vtiger".
The plugin "CURL" is activated.
Does anybody knows a solution ?
Joerg
That all looks OK - what do you see when you turn debugging on in the Plugin?
Bob
i see this after turn on debbugging:
CURL OK : the CURL function was found on this server.
$params: JParameter Object ( [_raw] => debugging=0 target_url=http:// header_in_response=0 onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /var/www/vhosts/felix-systems.de/httpdocs/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => http://m2m.felix-systems.com/modules/Webforms/post.php [header_in_response] => 0 [onsubmit] => before_email ) ) ) [_errors] => Array ( ) )
best regards
Joerg
When you submit I'd expect you to see something more like the info at the end of this post.
Bob
i see the following code after submit:
CURL OK : the CURL function was found on this server.
$params: JParameter Object ( [_raw] => debugging=0 target_url=http:// header_in_response=0 onsubmit=before_email [_xml] => [_elements] => Array ( ) [_elementPath] => Array ( [0] => /var/www/vhosts/felix-systems.de/httpdocs/libraries/joomla/html/parameter/element ) [_defaultNameSpace] => _default [_registry] => Array ( [_default] => Array ( [data] => stdClass Object ( [debugging] => 1 [target_url] => http://m2m.felix-systems.com/modules/Webforms/post.php [header_in_response] => 1 [onsubmit] => before_email ) ) ) [_errors] => Array ( ) )
I can´t see any change there.
Link to our webpage: http://www.felix-systems.de/component/option,com_chronocontact/Itemid,210/
Joerg
i turn off the redirtect url.
Now you can see the debugging informations..
I´m sorry about my english 😶
Joerg
So that tells us that we are connecting OK but the CRM is saying that the data is invalid.
The data that is being sent is in the $curl_values line at the top.
It looks as though something important is missing?
There isn't any account name or id there to identify the CRM account. Should there be?
Bob
the account id are in the webforms.config.php in vtiger.
The original Vtigerforms works fine....
Any other idea?
Joerg
So what is in the original vTiger forms that isn't here?
(This is now a vTiger question not a ChronoForms one).
Do you need to include 'assigned_user_id' ?
Bob
Joerg
I would love to know if you get this working. Maybe you can post a link to other forums where you are pursuing this?
Thanks
Gert
it is not working at the moment:
look here: http://forums.vtiger.com/viewtopic.php?p=107195#107195
Do vou have an idea?
Joerg
no idea at present, and don't have time right now to play with it, but would love to get it working!!
Regards
Gert
Combine the info at this link:
http://www.digitalbuz.com/2010/02/04/joomla-vtiger-crm-integration-using-chronoforms/
With the following information from vTiger/me:
Secure posting of form from CF CURL to vTiger needs the following:
1. Check your variable ]$application_unique_key under the vTiger CRM root directory file: config.inc.php
2. Add appKey=youruniqueapplicationhere to the CF CURL Extra field (see point 7 in the link above) on a new row
3. Activate the security by setting vTiger WebForms config file correctly:
$enableAppKeyValidation = true (this is set by default but please check...)
These infobits together form the solution you're looking for. Somehow both CF and vTiger failed to mention the need for the "appkey" when posting... many seems to just switch off this security and posting unsecure. (only found one note on this after hours searching...)
I recommend to post securely, especially if you set this in a client environment.
Regards
Akerman / stolt-akerman.com
(PS there are issues with CF CURL posting and Arrays (One filed - multiple values) I will address this in another posting)
http://www.digitalbuz.com/2010/02/04/jo ... ronoforms/
isnt working, can someone help me as i followed everything else through, but i might be missing something about the curl setup.
thanks
it works fine.
See the Atachment.
for example: from website, newsletter, mail, phone....
Hi gavner,
it works fine.
See the Atachment.
One more thing, what changes did you make to the vtiger files for example, webforms.config.php? or any other. Mine is set to
$enableAppKeyValidation = false;
$defaultUserName = 'admin';
$defaultUserAccessKey = 'xxxxxxxxxxxxxx';
$defaultOwner = 'standarduser';
$successURL = '';
$failureURL = '';
is that right?
$enableAppKeyValidation = false;
$defaultUserName = 'admin';
$defaultUserAccessKey = 'xxxxxxxxxxxxxx';
$defaultOwner = 'admin';
$successURL = '';
$failureURL = '';
/**
* JSON or HTML. if incase success and failure URL is NOT specified.
*/
$defaultSuccessAction = 'HTML';
$defaultSuccessMessage = 'LBL_SUCCESS';
?>
Is your vtiger 1.5?
Is CURL activatet in your form?
see attachment
Combine the info at this link:
http://www.digitalbuz.com/2010/02/04/joomla-vtiger-crm-integration-using-chronoforms/
With the following information from vTiger/me:
Secure posting of form from CF CURL to vTiger needs the following:
1. Check your variable ]$application_unique_key under the vTiger CRM root directory file: config.inc.php
2. Add appKey=youruniqueapplicationhere to the CF CURL Extra field (see point 7 in the link above) on a new row
3. Activate the security by setting vTiger WebForms config file correctly:
$enableAppKeyValidation = true (this is set by default but please check...)
The info I have in my CURL action on my chronoforms form is the following:
Target URL:
https://davewilliamsministries.od1.vtiger.com/modules/Webforms/capture.php
Header in Response:
No
Params/Field Maps:
firstname=vtiger_firstname
lastname=vtiger_lastname
organization=vtiger_company
phone=vtiger_phone
email=vtiger_email
street=vtiger_lane
city=vtiger_city
state=vtiger_state
zip=vtiger_code
country=vtiger_country
ModuleName=Leads
leadsource=Web Site
I've gotta be close, eh???
Anita