Forums

Submit URL issue

csifo 03 Jul, 2009
Hello and Thank you Guys for having the best forum! You always do your best to help anyone with anything!😀 @ Max and GreyHead

Ok here is my issue,

I have built a form but not just any form... it works like this or more to the point i would like it to work like this:
User enters data in all fields 'firstname' 'company' 'email' ect. I have it working so when i use the "Submit URL" action form section it runs a remote .aspx file located on another server and populates their Database. (verry happy so far all is good)

Now i have been asked, when the users fill in their info the form will also register them to our website useing the CB plugin. I can get this to work but only if i take out the .aspx address in the "Submit URL" section.

When i leave the .aspx in the "Submit URL" section nothing else happens accept for the Database on the other server is populated, no email is sent and the user is not added to our website. i was thinking it had something to do with run orders so i set 'plugins'=1 'autogen'=2 'onsubmit'=3 and still no luck...

Is there another way to run my forms action knowing that you can't use <form> tags in the form code html

Cheers and thanks for any help
Csifo
Max_admin 03 Jul, 2009
Hi Csifo,

you are welcome, try to remove the .aspx link from the submit url and enable & configure the CURL plugin for this form and use the .aspx link as the target URL there, I think this will do it!

Regrads
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
csifo 06 Jul, 2009
Hi Max,

Thanks for the plug in, i have it installed and configured but now when i complete the form i get the following error: Fatal error: Call to undefined function curl_init() in /home/web_site/public_html/components/com_chronocontact/plugins/cf_CURL.php on line 240

line 240:
$ch = curl_init($params->target_url); 


Im not sure how to resolve this error i have tryed for a few hrs with no luck, any ideas?

EDIT: Fixed the error, i had to install CURL on my WHM cpanel🙂

Cheers
Csifo
csifo 06 Jul, 2009
I have hit another problem with this form, i understand how the plugin should work but im getting error's still, i hate to ask but if i send you a password and username can you please have a look and see where i have gone wrong?

i have attached the error i now get...

Cheers
Csifo
GreyHead 06 Jul, 2009
Hi Csifo,

I see you've fixed this, well done.

We're you able to configure the CURL plugin without CURL installed? It 'should' check the installation and show an error message if CURL Isn't installed . . .

Bob
Max_admin 06 Jul, 2009
Hi Csifo,

which CF version is this ? please try with the latest RC5.3

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
csifo 07 Jul, 2009
Hi guys,

@GreyHead, Thanks teaching myself new things everyday😀 - I didn't have the latest version of Chrono forms installed... so i downloaded the CURL plug in from an old post from Max, i could configure it but when it came time to prosess the form i got the Error: "Fatal error: Call to undefined function curl_init() in /home/web_site/public_html/components/com_chronocontact/plugins/cf_CURL.php on line 240" leading me to install CURL on my server fixing one problem only to get the next error 😑

@Max I have now upgraded to the latest RC5.3 i should of done this before starting the thread 😶 - Now the form runs the CB plug in with no problems but the CURL is still haveing issues i set the CURL plugin to DEBUG and it generated the same error as the image i posted above. i feel like its so close to working i must of overlooked something or need to tick a box to get this to work!

Again thanks for your time
Cheers
Csifo
GreyHead 08 Jul, 2009
HHi Csifo,

Is there still a problem here or is this all now working?

Bob
csifo 09 Jul, 2009
Hi Bob,

I still get the error the same as the image i posted above, im not to sure where the error is genrated from? Joomla/CF/Server :?

Cheers
Csifo
GreyHead 11 Jul, 2009
Hi Csifo,

I don't recognise the error format at all - apart from the last line none of it seems to refer to Joomla. The Fatal Error is from a Joomla file but I'm nto sure which version of the Plugin: I've checked the last couple of releases and can't find this code on line 277; nor can I understand the error: getError is, or should be, a standard method for a Joomla object.

I'm left assuming that this is all a Microsoft oddity . . . I have no real idea what to suggest.

Bob
csifo 13 Jul, 2009
Hi GreyHead,
I have decided to start this whole form again from scratch! i know it should work and im not going to let it beat me😫

I have had to move onto other jobs at work but i will be putting in the extra hrs this week to get it sorted😀

I really appreciate everyones time trying to sort this out lets hope i can get it fixed so this thread can be listed as solved😛

Cheers
Csifo
This topic is locked and no more replies can be posted.