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.

won't delivery form data after upgrade

More
7 years 4 months ago #3808 by Gabor
Replied by Gabor on topic won't delivery form data after upgrade
Good viewpoint...

So I made a picture from your startpage and simple rename it to "res pon sive wüb dís őig ßän.png".

The media manager is uploading it without issue, but removes spaces and not English characters, and it is okay. Visform is not. I get and error message:
Code:
FORM SUBMIT FAILED File res pon sive wüb dís őig ßän.png has invalid name. Name must only contain alphanumeric characters and no spaces.

I create a normal TXT file with same name and content "res pon sive wüb dís őig ßän.xtx" and things goes same.

More
7 years 4 months ago #3809 by Administrator AV
Replied by Administrator AV on topic won't delivery form data after upgrade
Hi Gabor,

thanks for your testing and the clarifications!!!

So the media manager seems to have an additional function that cleans the file name.

I will take a look into this as soon as possible and hopefully find a solutions.
But I cannot do this today.

Downgrading Visforms sadly is not possible because of changes to the database structure (of Visforms) which I have to make sometime. The only way to get back to an earlier Version is, if you have a backup of the Website (Filesystem and database).

So if you do not have such a backup, to which you could revert, I fear you have to find a workaround and make it clear to your users how they have to name the files. Sorry for that.

I'll come back to you, as soon as I have more information.

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
7 years 4 months ago #3810 by Gabor
Replied by Gabor on topic won't delivery form data after upgrade
Okay Aicha, you are awesome as always.

Thank you.

More
7 years 4 months ago #3811 by Administrator AV
Replied by Administrator AV on topic won't delivery form data after upgrade
Hi Gabor,

ok, I found the time and I took a look at it and I think it is only one line, which you have to add and and it will work again as before.

Please open the file administrator/components/com_visforms/helpers/visformsmedia.php

At line 113 starts a function uploadFiles...

At line 150 (that is inside that function) you find the following code
Code:
$file['name'] = JFile::makeSafe($file['name']);

Directly after this code line add
Code:
$file['name'] = str_replace(' ', '-', $file['name']);

This will fix the problem as far as I was able to test.

I will add the fix to the Joomla! Core, so that your changes will not get lost with and update.

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
7 years 4 months ago #3812 by Gabor
Replied by Gabor on topic won't delivery form data after upgrade
As I sad, you are awesome.

Everything works fine – thank you very much.

More
7 years 4 months ago #3813 by Administrator AV
Replied by Administrator AV on topic won't delivery form data after upgrade
Hi Gabor,

you're welcome.

Actually I think, what you reported was very helpful for me, too, because I wanted this to work exactly like the Joomla! media manager, and it did not. Without the feed back of Visforms user, as you gave it, Visforms would certainly be less good. It is a give and take, which I appreciate very much.

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