• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Joomla 4 submission directory

Joomla 4 submission directory 2 years 7 months ago #41548

Hello all,
Joomla 4.0.3
RSForm Pro 3.0.12
yootheme Pro 2.6.2
PHP 8.0.8

The submission directory with your code :
$directoryEmail = '';
$directoryEmail ='';

$db = JFactory::getDbo();
$db->setQuery("UPDATE #__rsform_submission_values SET `FieldValue`='".date('m/d/y H:i:s')."' WHERE `SubmissionId`=".$SubmissionId." AND
FieldName='Update'");
$db->query();

Don't work ?
Error 0
Call to undefined method Joomla\Database\Mysqli\MysqliDriver::query()

is this code functional for Joomla 4 ?

Thank You
François Party
The administrator has disabled public write access.

Joomla 4 submission directory 2 years 7 months ago #41549

Hello thanks to RS Team,
I have change
$directoryEmail = '';
$directoryEmail ='';

$db = JFactory::getDbo();
$db->setQuery("UPDATE #__rsform_submission_values SET `FieldValue`='".date('m/d/y H:i:s')."' WHERE `SubmissionId`=".$SubmissionId." AND
FieldName='Update'");
$db->query();

to
$directoryEmail = '';
$directoryEmail ='';

$db = JFactory::getDbo();
$db->setQuery("UPDATE #__rsform_submission_values SET `FieldValue`='".date('m/d/y H:i:s')."' WHERE `SubmissionId`=".$SubmissionId." AND
FieldName='Update'");
$db->execute();

Work perfectly now :)
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!