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?

Due to public holidays and vacations, longer response times can be expected for inquiries in the forum between December 20, 2024 and Janaury 8, 2025.

Error: 'Sorry, you can send the form only once'

More
11 years 2 months ago #217 by andyweb
Hi,

An error occurred when I tried to send a form:

'Sorry, you can send the form only once'

I noticed that the same problem occurred previously in ck forms and was solved in a similar way, by commenting following script in file components/com_visforms/controller.php (line 115 to 120):

/**if (isset( $_SESSION)) {
unset($_SESSION);
} else {
JError::raiseWarning( 0, JText::_( "COM_VISFORMS_CAN_SENT_ONLY_ONCE" ));
return false;
}*/
Joomla: 2.5.11
PHP 5.3.25

could it be a bug or a problem mit wy Joomla version?

Many thanks !
Andy

PS Visforms is a great solution! :)

More
11 years 2 months ago #218 by Administrator AV
Replied by Administrator AV on topic Aw: Error: 'Sorry, you can send the form only once'
Hi Andy,

thank you so much for sharing your problem and your knowledge!

Usually that message should only occure if you really do submit the form more than once.

That could happen if you submit the form and then use the one step back button of your browser. That will show the form again. If you then press the submit button (again), the form is submitted twice and the message occurs. (Could that be the case with your form or does the message really occure even if you submit the form for the first time).

So it's not really a bug but sort of security feature. We don't want the form to be submitted more than once with the same information.

Nevertheless you may of course feel free to delete the feature in the way you described.

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 :-).

More
11 years 2 months ago #253 by Fortha
I have the same problem and it definitely is some kind of bug, because I've asked my friends to try and fill the form and then send it, but no. I test sent it once and after that no one can send it anymore. Very annoying. So do I just have to delete that code to get it to work properly?

More
11 years 2 months ago #254 by Administrator AV
Replied by Administrator AV on topic Aw: Error: 'Sorry, you can send the form only once'
Hi Fortha,

thanks for your post and sorry for your trouble.

I will have a deeper look into that. Usullay this works but it looks as if under some circumstances it really don't. I have to investigate that further but it's difficult to fix a bug you cannot reproduce.

For now, I think it is the best to comment the code as kindly described by Andy.

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