Forums

curl problem - $curl_values are empty

Chris XL 05 Mar, 2013
Hi!

First of all "Chronofroms" is a great plugin.

My problem: I try to hand over some values with curl. i wrote this in the Params/Fields map:
EMail={input_email}
Action={input_radio_22}

but the debugger shows that the values are empty!


curl

CURL OK : the CURL function was found on this server.
$curl_values:
curl_target_url: http://kinonews.de/newsletter.php


I hope you can help me.

The outcome should look like this:

http://kinonews.de/newsletter.php?EMail=xxxx@kinonews.de&Action=subscribe
GreyHead 05 Mar, 2013
Hi Chris XL,

I think I am right in saying that the cURL action* doesn't use {}. Please try
EMail=input_email
Action=input_radio_22

Bob

* ChronoForms is inconsistent, the standard ReDirect action takes {}, the otherwise similar cURL action doesn't :-( at least I think that is the right way round.
GreyHead 05 Mar, 2013
Hi Chris,

The two look the same to me. Just the cURL one hasn't yet been put together into a URL.

Bob
Chris XL 05 Mar, 2013
Hi Bob,

but is curl putting it together into an URL? Caus' that's what I am expecting it to do. So you are saying that the outscome should be the same!?

Chris
GreyHead 05 Mar, 2013
Hi Chris,

Yes that's (more or less) what it does. Turn the cURL action debug on and add a Debugger action to the form and see if you get any more useful info.

Bob
Chris XL 05 Mar, 2013
Hi Bob,

where do I turn the curl action debug on?

Thnaks!
GreyHead 05 Mar, 2013
Hi Chris,

There isn't one, sorry, dodgy memory - perhaps that was CFv3?

Bob
goliath 04 Jun, 2013
I'm encountering the same problem here.
Someone with the solution?
GreyHead 05 Jun, 2013
Hi geertmartens,

What problem so you have exactly?

What do you see with the Debugger action added?

Bob
jdekempenaer 07 Jun, 2013
hi guys,
i also run into similar problem.
here's a screenshot of the form with the curl settings attached

then when you run the form on the site the debugger on top of the page shows this:

Array
(
[chronoform] => subscribe_curl
[event] => submit
[Itemid] => 113
[option] => com_content
[view] => article
[catid] => 2
[id] => 12
[name] => jdk
[email] =>
[email]jdekempenaer@gmail.com[/email]
[chrono_verification] => PSKcg
[input_submit_4] => Submit
[bcb09d1c5f6401d1d60514289dda7bfd] => 1
[curl] =>


and at the lower end of the page i get this:

)
Validation Errors:
Array
(
)
dear jdk thank you for subscribing with email-address : [email]jdekempenaer@gmail.com[/email] Debug Data
curl
CURL OK : the CURL function was found on this server.
$curl_values:
curl_target_url: http://test.talergroup.com/index.php
This topic is locked and no more replies can be posted.