I have gone through the tutorial (which references "joomailing" as the component name) and reviewed posts here on the forums.
When I test my url manually it works fine:
domain.com/index.php?option=com_acymaili...ddenlists=2&user[email]=box@email.com
I am using CURL in chronoforms and run with debugging turned on (both in Chrono and in the Curl plugin) and it does not work.
****** Here is the debugging output:
cf_CURL debug info
$curl_values: user%5Bname%5D=Darren+Sansay&user%5BEmail%5D=box%40email.com>ask=sub&task=optin&hiddenlists=2
$params->target_url: http://domain.com/index.php?option=com_acymailing
$ch: Resource id #145
[MODULE PAGE DISPLAY - DISPLAYS AS IF NO PARAMETERS WERE USED WITH QUERY LIKE
[url=http://domain.com/index.php?option=com_acymailing]http://domain.com/index.php?option=com_acymailing[/url]]
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [name] => Darren Sansay [Email] => [email]box@email.com[/email] [technicalrole] => Software Packaging Engineer [numberofdesktops] => 5 [stateofwindows7planning] => No PLAN at this time [button_5] => Submit [f7e847bab0ab81fc45596fc8ef58d0e7] => 1 [1cf1] => cfd2b10e1aa3c1f6f4b976df69f7fa12 [chronoformname] => Formname )
6. $_FILES Array: Array ( )
7. CURL transaction executed
8. Form passed the plugins step (if enabled) OK
9. Debug End
***** End of output
Is the tutorial up to date (uses module name joomailing)?
Can someone tell me what is wrong?
Thanks much.
When I test my url manually it works fine:
domain.com/index.php?option=com_acymaili...ddenlists=2&user[email]=box@email.com
I am using CURL in chronoforms and run with debugging turned on (both in Chrono and in the Curl plugin) and it does not work.
****** Here is the debugging output:
cf_CURL debug info
$curl_values: user%5Bname%5D=Darren+Sansay&user%5BEmail%5D=box%40email.com>ask=sub&task=optin&hiddenlists=2
$params->target_url: http://domain.com/index.php?option=com_acymailing
$ch: Resource id #145
[MODULE PAGE DISPLAY - DISPLAYS AS IF NO PARAMETERS WERE USED WITH QUERY LIKE
[url=http://domain.com/index.php?option=com_acymailing]http://domain.com/index.php?option=com_acymailing[/url]]
1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [name] => Darren Sansay [Email] => [email]box@email.com[/email] [technicalrole] => Software Packaging Engineer [numberofdesktops] => 5 [stateofwindows7planning] => No PLAN at this time [button_5] => Submit [f7e847bab0ab81fc45596fc8ef58d0e7] => 1 [1cf1] => cfd2b10e1aa3c1f6f4b976df69f7fa12 [chronoformname] => Formname )
6. $_FILES Array: Array ( )
7. CURL transaction executed
8. Form passed the plugins step (if enabled) OK
9. Debug End
***** End of output
Is the tutorial up to date (uses module name joomailing)?
Can someone tell me what is wrong?
Thanks much.
Hi Arwin,
I think the tutorial was written for the ACAJOOM component, not for the acymailing one, or did you read that it supports both or acymailing ?
Max
I think the tutorial was written for the ACAJOOM component, not for the acymailing one, or did you read that it supports both or acymailing ?
Max
Hi Aewin,
I'm sure that the tutorial doesn't cover AcyMailing as I've never used it.
It looks as though the problem is with the use of arrays in the URL user[email]=box@email.com. The current version of the cURL plug-in doesn't handle arrays like this at all.
There is a beta version that should handle this correctly. I'll try to make it available in the next few days.
Bob
I'm sure that the tutorial doesn't cover AcyMailing as I've never used it.
It looks as though the problem is with the use of arrays in the URL user[email]=box@email.com. The current version of the cURL plug-in doesn't handle arrays like this at all.
There is a beta version that should handle this correctly. I'll try to make it available in the next few days.
Bob
Hi Bob,
That's great news, that you are going to release a cURL beta that allows ChronoForms to communicate more smoothly with AcyMailing.
I have another problem which causes problems:
I have a series of checkboxes called newsletter, where every newsletter has its own name=value. That information shall be sent via cURL to AcyMailing. The problem is that ChronoForms sends this information as "newsletter=Array" in the url instead of separating the different newsletter names by a comma.
Could you please add that modification as well to the new beta version.
Many thanks for your great support.
Oliver
That's great news, that you are going to release a cURL beta that allows ChronoForms to communicate more smoothly with AcyMailing.
I have another problem which causes problems:
I have a series of checkboxes called newsletter, where every newsletter has its own name=value. That information shall be sent via cURL to AcyMailing. The problem is that ChronoForms sends this information as "newsletter=Array" in the url instead of separating the different newsletter names by a comma.
Could you please add that modification as well to the new beta version.
Many thanks for your great support.
Oliver
Hi Oliver,
You may be able to fix the 'Array' problem by setting "ChronoForms handle my posted arrays" to 'Yes' in the from General tab. Whether it works will depend on the sequence that the code runs in. If it doesn't then you can implode the array in the Run Before box in the plug-in configuration.
Bob
You may be able to fix the 'Array' problem by setting "ChronoForms handle my posted arrays" to 'Yes' in the from General tab. Whether it works will depend on the sequence that the code runs in. If it doesn't then you can implode the array in the Run Before box in the plug-in configuration.
Bob
This topic is locked and no more replies can be posted.