Form Submits To XAMPP Default Page (http://localhost/xampp/)

chinny 14 Apr, 2015
Hi Admin,

How do you do? Thank you for your free wonderful component. It has really helped me a lot. Please keep up the good work.

Recently, i discovered a very serious error in the component. Since i upgraded my localhost website that am still building from Joomla 2.5 to Joomla 3.4.1, my form no longer submits normal. Instead of displaying the display message i configured to show on submission, it takes me straight to XAMPP default page. That is; it takes me instead to the address: http://localhost/xampp/

I had to backup the form and restore it in another Joomla 2.5 version localhost website. I tested the form and it submitted successfully without any single problem. What i don't understand is why it is doing like this in Joomla 3.4.0 and Joomla 3.4.1 for i tested it in both. Is this a bug or something else?

My Xampp details are: XAMPP 1.8.3, PHP: 5.5.3

Please help me out for am stuck here right now.

Thanks.

Chinny.
GreyHead 15 Apr, 2015
Hi Chinny,

There's no particular problem with ChronoForms v5 on XAMPP that I know of.

If you look at the page with the form on it and View Source what is the Action URL set in the <form> tag?

Bob
chinny 18 Apr, 2015
Hi Bob,

Thank you for responding. I have checked the view source and this is what i see in Joomla 3.4.1:

<form action="/newsite/component/k2/itemlist/search.html" method="get" autocomplete="off" class="k2SearchBlockForm">


Chinny
GreyHead 18 Apr, 2015
Hi Chinny,

That looks like a K2 Search form URL. Are you sure that that is the <form> tag for the ChronoForm?

Bob
chinny 20 Apr, 2015
Hi Bob,

Good Morning Nigerian Time
Am so sorry it was my bad. I mistakenly supplied you with a K2 Search form URL instead of the real one you asked for.
Well below is the real thing:

<form action="http://localhost/newsite/our-services/web-services/web-designs/order-now.html?chronoform=Website_Questionaire_Form&event=submit" enctype="multipart/form-data" method="post" name="Website_Questionaire_Form" id="chronoform-Website_Questionaire_Form" class="chronoform">


Thanks once again for your dedicated continual responses and help.

Chinny
GreyHead 24 Apr, 2015
Hi Chinny,m

Sorry for the delay :-(

You have a very long SEF URL there - I think that is probably the problem. Please try setting Relative URL to No in the form HTML (Render Form) action.

Bob
chinny 29 Apr, 2015
Hi Bob,

Thanks again for your reply.

I have tried out as you suggested by setting the Relative URL to No in the HTML (Render Form) action and the problem still persists. I even went further to shorten the form action URL as below:

<form action="/newsite/order-now.html?chronoform=Website_Questionaire_Form&event=submit" enctype="multipart/form-data" method="post" name="Website_Questionaire_Form" id="chronoform-Website_Questionaire_Form" class="chronoform">


But the problem still persists.

I also had to set the Relative URL in the HTML (Render Form) action to "No" and then "Yes" in the shortened form action URL and the problem is still there in both settings.

I don't just know where this problem is coming from.

Please help me further Bob.

Thanks for assistance.

Chinny
GreyHead 29 Apr, 2015
Hi Chinny,

Please try using the form URLwhich is probably this:
http://localhost/newsite/index.php?option=com_chronoforms5&chronoform=Website_Questionaire_Form&event=submit

Bob
chinny 29 Apr, 2015
How do i do that Bob?
GreyHead 29 Apr, 2015
Hi Chinny,

Put that URL - or a corrected version as it's localhost - into the Submit URL box in the HTML (Render form) action.

Bob
chinny 29 Apr, 2015
I cant even see any Submit URL box in the HTML (Render form) action.

What i see are as follow:

Submit event
Action URL

There is no Submit URL box in the Chronoforms V5.0.9 that i use.

What can i do now Bob?

Chinny.
GreyHead 29 Apr, 2015
Hi Chinny,

Sorry, it's now called the Action URL. (It was called the Submit URL in CFv4 when it was in a different place.)

Bob
chinny 29 Apr, 2015
Hello Bob,

I just tried it the way you asked me by adding

http://localhost/newsite/index.php?option=com_chronoforms5&chronoform=Website_Questionaire_Form&event=submit


to the Action URL and the problem still persists.

Chinny
GreyHead 09 May, 2015
Hi Chinny,

I don't have any more suggestions, What happens if you post that URL in your browser - is it valid?

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