500 error on submit a - BreezingForm - form

More
10 years 11 months ago #42050 by Chabi01
Hi,
For the record, i found a partial solution to avoid the bad redirect (on homepage or on a specific page).
Unstead redirect, just choose the script included in Breezing forms "ShowSubmitted" at the end of submission. It shows a message "your message have been sent". Even if this not THE solution, it correct the break and give some time to find out the solution.

I will search more deeply further.

Have a good day :)

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #42052 by ggppdk
Hello

this may be related to current language and the menu item:

you are redirecting to what URL ?

Please read this FAQ article:

www.flexicontent.org/documentati ... ching.html


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #42151 by Chabi01
Hi :)
The website is in one language.
In Breezing forms, when you redirect on a choosen page, you use a piece of code after the form submission like this :
Code:
$this->execPieceByName('ff_InitLib'); ff_redirect('http://www.yourDomain.com/page.html', 'parent');

So, i use the code like this, as usual :
Code:
$this->execPieceByName('ff_InitLib'); ff_redirect('/index.php?option=com_content&view=article&id=317');
where 317 is the id of the page, this piece of code working well on different websites without Flexicontent.

... I wondering, if i replace "com_content" by "com_flexicontent", could it be working ?

Best wishes :)

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #42184 by micker
yes but not completly

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #42196 by Chabi01

yes but not completly

:lol:
What an answer ! Maybe more technical details ?
Did you test before answering ? What is the "not completly" in your response ?

As a unique redirect link used on only one form, the question is in this particular case "is the link encoded in the piece of code generate the correct link or not ?"

Regards,

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #42422 by Chabi01
Hi,
The problem is solved.
I did the trick like this.
In the form, i used the "translate url" unstead the basic one. So i have " mysite.fr/my_readable_url.hmtl " unstead of " mysite.fr/com_content&id=63 "
The form is called in my Flexicontent template using "Module Anywhere" by Nonumber (because i have it installed, it works too with a loadmodule field).

If i called the form with a menu link, it works.
If i called the form in a module included in my article, i have the error... and the form are exactly the same (maybe it's the "yes but not completly" in the last response from Micker).

I had the correct behavior using this (thanks Jisse on Joomla.fr for the idea !) : call the form in the module in an iframe.

This way, it works.

I don't know if this is from BreezingForms, Flexicontent, SH404 : there is something wrong using these components all together but i have a solution working on both cases on the website.

This problem is solved for me.
Regards and thanks to ggppdk and micker for the time spent.

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.351 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline