Forums

Forms return a 404 - Article not found but not when testing

Birger 01 Jan, 2015
Hi

I have a form that returns a "404 - Article not found"(Thanks message is not shown) - strange thing is that when testing the form(Test Form) from backend it works with no problems.

I tried as menu, module and plugin - all returns the error

Can someone guide me where too look ?

Thank you
GreyHead 01 Jan, 2015
Hi Birger,

The link you try from the 'backend' is showing the form in the front-end so the problem is most likely with SEF URLs. Are you using SH404SEF or some similar extension on your site?

Bob
Birger 02 Jan, 2015
Hi GreyHead

Thanks for the fast answer

I have tried to reconstruct my form from one of the existing demo form - it now works as a menu item but still not as plugin or module inserted into an article.
This also applies to the demo forms like "demo-basic-contact-captcha" - same problem as plugin or module inserted into an article.
I don't use SH404SEF or similar.
Can it have something to do with "System - Redirect" plugin?

Thank you.
GreyHead 02 Jan, 2015
HI Birger,

What URL do you see with the 404 message? There may be a clue there?

it might possibly be the System ReDirect Plug-in if that is overwriting the link URLs, you can test by disabling it temporarily.

Bob
Birger 02 Jan, 2015
Disabling the "System - redirect" did not change the error.
I get this URL with the 404 page: index.php/file-server?chronoform=NAS_request_NEW&event=submit

Thank you
GreyHead 03 Jan, 2015
Hi Birger,

So the problem is with the URL Instead of index.php/file-server?chronoform=NAS_request_NEW&event=submit it needs to be index.php?&option=com_chronoforms5&chronoform=NAS_request_NEW&event=submit (or an SEF URL that resolves to that).

Do you know where the 'file-server' bit is coming from?

Bob
Birger 04 Jan, 2015
I have a menu called 'file-server' setup as "Articles » Single Article". From that article the "NAS_request_NEW" is called.
To test is again with a blank page(only the form is called) I created a new menu as "Articles » Single Article" and the error is still there.
index.php/chronoform-test?chronoform=NAS_request_NEW&event=submit


When the menu setup is ChronoForms5 » ChronoForms5 form it returns the same URL but with no errors

index.php/chronoform-test?chronoform=NAS_request_NEW&event=submit

The URL is the same and to make sure this is correct I made the test more times.
Birger 04 Jan, 2015
I made a few pic of the error

[IMG]http://i57.tinypic.com/s44eax.jpg[/IMG]

[IMG]http://i59.tinypic.com/9jejpv.jpg[/IMG]
GreyHead 06 Jan, 2015
Hi Birger,

I can't work out exactly what you are doing here. Please see this FAQ and see the last section, that may help.

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