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.

Issues post Joomla and Visforms upgrade

More
6 years 11 months ago #4227 by bcosby
I upgraded my Joomla site to 3.3.6 today and then upgraded my extensions. All went well with exception of my Visforms update. I get this message now. Warning: include_once(/home/content/65/9849565/html/administrator/components/com_visforms/include.php): failed to open stream: No such file or directory in /home/content/65/9849565/html/administrator/components/com_visforms/visforms.php on line 16 Warning: include_once(): Failed opening '/home/content/65/9849565/html/administrator/components/com_visforms/include.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/65/9849565/html/administrator/components/com_visforms/visforms.php on line 16 Fatal error: Class 'VisformsHelper' not found in /home/content/65/9849565/html/administrator/components/com_visforms/views/viscpanel/view.html.php on line 41 Can you please assist me? My site is down until I can get a resolution.

The email response received instructed me to do the following:
This looks to me, that the Joomla! installer did not install all files from the Visforms installation properly. Copying all files from the installation package to the proper location on your Joomla! installation is done by Joomla! itself and not by the extension that is installed or updated. But sadly sometimes, for some reasons, which I do not really know, it can happen, that some files are just not copied. In this case you have to find out manually, which files are missing and add them manually using FTP.

In order to solve the problem, please download the visforms 3.8.21 installation from our website (save it on your computer): www.vi-solutions.de/en/joomla-extension-...sion-visforms-stable Then extraxt the downloaded zip file (visForms_j3.3.6_3.8.21.zip) You will find the following main folders inside the extracted installation

admin
libraries
media
modules
plugins
site

Then please check, which files and folders from inside these main folders have not been copied properly by the Joomla! installer and add them manually. (File and folder structure from inside the respective main folder in the extracted installation has to be preservered in the destination folder of your Joomla! installation).

Files and folder from admin in installation folder goes to administrator/components/com_visforms folder on your Joomla! installation (I think, that at least the file includes.php from this folder is missing on your website).
Files and folder from libraries in installation folder goes to libraries folder on your Joomla! installation
Files and folder from media in installation folder goes to media/com_visforms folder on your Joomla! installation
Files and folder from modules in installation folder goes to modules folder on your Joomla! installation
Files and folder from plugins in installation folder goes to plugins folder on your Joomla! installation
Files and folder from site in installation folder goes to components/com_visforms folder on your Joomla! installation

I followed these instructions. Now I have a different set of error messages. The file indicated below does indeed exist in the correct directory.

Warning: include_once(/home/content/65/9849565/html/administrator/components/com_visforms/include.php): failed to open stream: No such file or directory in /home/content/65/9849565/html/modules/mod_visforms/mod_visforms.php on line 12

Warning: include_once(): Failed opening '/home/content/65/9849565/html/administrator/components/com_visforms/include.php' for inclusion (include_path='.:/usr/local/php5_4/lib/php') in /home/content/65/9849565/html/modules/mod_visforms/mod_visforms.php on line 12

Fatal error: Call to undefined method VisformsModelVisforms::addSupportedFieldType() in /home/content/65/9849565/html/modules/mod_visforms/helper.php on line 30

Assistance would be appreciated!

Thank you.

More
6 years 11 months ago #4228 by Administrator AV
Replied by Administrator AV on topic Issues post Joomla and Visforms upgrade
Hi,

so you have made sure, that the file inculde.php is in place in the administrator/components/com_visforms folder of your installation?, Because this is the one, causing the problems.

And the warning and the error is gone now in the administration of your website but when you go to the form view in front end, you get a similar message? This is very weird, because, if the include.php file is in place, the warning "failed to open stream should be gone" on both "locations" (administration and front end).

So if the warning is gone in administration but not in front end, the only things I can think of why it is still there in front end is, that
- there is a problem with cached files
- there is a problem with file permissions (caused i.e by a .htaccess setting or the way file permissions are set by your provider)

The Fatal error: Call to undefined method VisformsModelVisforms::addSupportedFieldType() in /home/content/65/9849565/html/modules/mod_visforms/helper.php on line 30 is something different but also indicates, that copying of some of the files of the Visforms installation/update to your Joomla! installation did not work. So although there is a file, it might be an outdated one. In this case I think, it is the file components\com_visforms\models\visforms.php which is either outdated or, if the new one was installed correctly, is still not used, because of some caching problem.

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