Joomla 5 Notice

We are pleased to announce that as of January 29, 2024, all of our Joomla extensions are compatible with Joomla 5.

For all who are still updateing from Joomla 3 to Joomla 4: Joomla 4 Migration instructions are available here:

There is now a separate Documentation for Visforms for Joomla 4 and for Visforms for Joomla 5!

Forum

Visforms Subscription user can ask questions in our forum. Please log in with the relevant user first.
Everybody can access the forum for reading.

Please only ask 1 question per topic.

Important information for almost every question:
V1: Which Visforms version is running?
V2: Which Joomla version is running?
V3: Which PHP version is running?

Errors when submitting the Form twice

More
9 years 2 months ago #1997 by Apos
Replied by Apos on topic Errors when submitting the Form twice
Thank you very much Aicha,
You helped a lot.
:)

Apos

More
9 years 2 months ago #1998 by Administrator AV
Replied by Administrator AV on topic Errors when submitting the Form twice
You're welcome.

Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

More
9 years 2 months ago #2039 by Apos
Replied by Apos on topic Errors when submitting the Form twice
Hello Aicha,
I've read the tutorial you suggested to me about disabling the Cache Plugin in order to fix the problem in VisForm.
But the truth is that I need this plugin being enable.
Do I have to leave it disabled in order not to show me the error "you can send the Form only once..." etc.
Is there any other way to fix this?

Thank you

Apos

More
9 years 2 months ago #2040 by Administrator AV
Replied by Administrator AV on topic Errors when submitting the Form twice
Hi Apos,

as far as I remember Visforms is not working with the cache plugin at all. It is not only the error message you receive but even if I change the code, that Visforms does no longer perform the check for doublicate submisssion and this error message is no longer displayed user inputs are not submitted properly.

Feel free to try. The code which produces the error message is located in components/com_visforms/controller.php in the function send() at about line 191
Code:
if (isset( $_SESSION['vis_send_once'.$visform->id])) { unset($_SESSION['vis_send_once'.$visform->id]); } else { JError::raiseWarning( 0, JText::_( "COM_VISFORMS_CAN_SENT_ONLY_ONCE" )); return false; }

You can just remove it.

I don't know whether there maybe is a thridparty cache extension, which can help you with the problem.
But please, if you find a solution, share it here.

Kind Regards,
Aicha

:idea: I recommend you the new and up-to-date documentation for Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/en/docs/
Most of this also applies retrospectively to Joomla 3.
Please only ask 1 question per topic :-).

:idea: Ich empfehle Dir die neue und aktuelle Dokumentation für Joomla 4:
docs.joomla-5.visforms.vi-solutions.de/docs/
Das meiste gilt rückwirkend auch für Joomla 3.
Bitte immer nur 1 Frage pro Thema stellen :-).

Moderators: Administrator AVAdministrator IV
Powered by Kunena Forum