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.

Form Data Display not working

More
6 years 11 months ago #4201 by mikepritchard
Form Data Display not working was created by mikepritchard
I am using
Visforms Version 3.8.21
Joomla 3.6.5

Using the menu to create a form data page is not working anymore, you can see my test here:
apldwa.org/test-of-registration-form-display
(should show 2 registrations)

But the problem is only with the new form I just created after the recent Vis Forms update.
The old form created before the recent Vis Forms update still works:
apldwa.org/form-data-test-display-with-free-form

I have checked all the form settings three times. Everything is identical to the old, working forms.

Do you have any advice?

More
6 years 11 months ago #4202 by Administrator AV
Replied by Administrator AV on topic Form Data Display not working
Hi,

I took a look at the two links.
I don't think, that you problem originates from the Visforms update.
As far as I can see, on the site, where the data are not displayed (the new form), the view is not displayed at all.

In my opinion there are two possible reasons for this.

First: Visforms checks, if a user is allowed to view the data and if everything is correct with the data. If not, if will return without displaying any data but adds an error message to the Joomla! message queue. If your template does not display messages passed to the Joomla! message queue properly, this would just result in what I can see on your website. (Just nothing)

Second: The form is not published (I think this is quite unlikely) but this would give the same result.

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
6 years 11 months ago #4206 by mikepritchard
Replied by mikepritchard on topic Form Data Display not working
Thank you for the info. I turned on error reporting, debug and checked the Joomla error logs. I also created a new link to display only the missing info. There are 10 registrations on this form:
apldwa.org/registration-test-form-display2

There are no errors reported on that page.
The Joomla error log shows this error today:
[18-Apr-2017 06:30:58 America/Chicago] PHP Notice: Undefined property: JObject::$list.limit in /home/apldwa/public_html/components/com_visforms/models/visformsdata.php on line 701
and four times yesterday.

The best I can tell that error refers to this line:
'limit' => $this->state->{'list.limit'},

Another recent error that is repeated many times is:
[13-Apr-2017 18:15:26 UTC] PHP Notice: Undefined variable: tmpl in /home/apldwa/public_html/components/com_visforms/controllers/visforms.php on line 238

In the debug file, in Database Queries it says:
5 duplicate found!
3 duplicates: #13 #20 #24
2 duplicates: #19 #21

I can't copy the entire log and can't leave debug on.

But this is the report from #13:
Query Time: 0.14 ms After last query: 4.33 ms Query memory: 0.027 MB Memory before query: 3.702 MB Rows returned: 0
Duplicate queries: #20 #24

SELECT *

FROM `mb6fy_visfields`

WHERE `fid` = 10
AND `published` = 1
AND `frontaccess` in (1, 1, 5)
AND `typefield`not in ('reset', 'submit', 'image', 'fieldsep')
AND (`frontdisplay` is null or `frontdisplay` in (1,2,3))

ORDER BY `ordering` asc

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE mb6fy_visfields ALL NULL NO INDEX KEY COULD BE USED NULL NULL 53 Using where; Using filesort
Profile
Status Duration
starting 0.03 ms
Waiting for query cache lock 0.00 ms
init 0.00 ms
checking query cache for query 0.01 ms
checking privileges on cached 0.00 ms
checking permissions 0.01 ms
sending cached result to clien 0.01 ms
updating status 0.00 ms
cleaning up 0.01 ms
Call Stack
# Caller File and line number
15 JDatabaseDriverMysqli->execute() JROOT/libraries/joomla/database/driver.php:1689
14 JDatabaseDriver->loadObjectList() JROOT/components/com_visforms/models/visformsdata.php:411
13 VisformsModelVisformsdata->getDatafields() JROOT/components/com_visforms/models/visformsdata.php:100
12 VisformsModelVisformsdata->__construct() JROOT/libraries/legacy/model/legacy.php:204
11 JModelLegacy::getInstance() JROOT/libraries/legacy/controller/legacy.php:547
10 JControllerLegacy->createModel() JROOT/libraries/legacy/controller/legacy.php:728
9 JControllerLegacy->getModel() JROOT/components/com_visforms/controller.php:68
8 VisformsController->display() JROOT/libraries/legacy/controller/legacy.php:702
7 JControllerLegacy->execute() JROOT/components/com_visforms/visforms.php:24
6 require_once JROOT/components/com_visforms/visforms.php JROOT/libraries/cms/component/helper.php:405
5 JComponentHelper::executeComponent() JROOT/libraries/cms/component/helper.php:380
4 JComponentHelper::renderComponent() JROOT/libraries/cms/application/site.php:191
3 JApplicationSite->dispatch() JROOT/libraries/cms/application/site.php:230
2 JApplicationSite->doExecute() JROOT/libraries/cms/application/cms.php:261
1 JApplicationCms->execute() JROOT/index.php:49
[Add xdebug.file_link_format directive to your php.ini file to have links for files.]

I would appreciate any help.
Thanks much,
Mike

More
6 years 11 months ago #4210 by Administrator AV
Replied by Administrator AV on topic Form Data Display not working
Hi Mike,

I was not talking about errors which are reported through debug configuration and error logs but of messages, like you are not permitted to view this page, which are passed through the Joomla! message queue and displayed with the jdocs include type="message" in your template.

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
6 years 11 months ago #4211 by mikepritchard
Replied by mikepritchard on topic Form Data Display not working
yes, there are none of those.

More
6 years 11 months ago #4212 by Administrator AV
Replied by Administrator AV on topic Form Data Display not working
Hi,

could you give me access to the administration of the website? You could send me the required information to contact@vi-solutions.de

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