Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Module does not save and empty query
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Module does not save and empty query
#64759
Module does not save and empty query 5 Years, 8 Months ago Karma: 0
Running Joomla 3.9.4 and latest version of Ari Data Tables (1.16.4), module does not save changes even if system message says it was successfull and seems the query is not executed as the page throw a "0" sql empty query error (I had to paste the sql query directly in the .

See natation-nsh.com/nage-o-don-2019.html
The administrator has disabled public write access.
 
#64762
Re:Module does not save and empty query 5 Years, 8 Months ago Karma: 760
Hello,

Could you provide a temporary access to your J! backend by email so we can investigate the problem.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#65067
Re:Module does not save and empty query 5 Years, 5 Months ago Karma: 0
I am seeing the same issue, and have determined that it is caused by an interaction with Regular Labs' Advanced Module Manager.

Specifically, the default module manager triggers the following when a module is edited or deleted:
Code:

onExtensionBeforeSave / onExtensionAfterSave / onExtensionBeforeDelete / onExtensionAfterDelete

AMM 7.11.0, on the other hand, triggers these:
Code:

onContentBeforeSave / onContentAfterSave / onContentBeforeDelete / onContentAfterDelete


Apparently, the problem cannot be fixed in AMM, because of a limitation in the Joomla core (see this bug report).

For the moment, I have solved the problem in ARI by hacking plugins/system/ariextensions/ariextensions.php as follows:
Code:

--- ariextensions.php.ORIG      2019-02-05 15:10:29.006982402 -0500
+++ ariextensions.php   2019-05-28 14:29:40.886223593 -0400
@@ -36,6 +36,15 @@
        var $_cacheEnabled = null;
 
        /**
+        * JMD
+        * A total hack; Regular Labs Advanced Module Manager calls onContentBeforeSave instead of onExtensionBeforeSave.
+        */
+       function onContentBeforeSave($scope, $data, $isNew)
+       {
+               $this->onExtensionBeforeSave($scope, $data, $isNew);
+       }
+
+       /**
         * Allow to processing of extension data before it is saved.
         *
         * @param       object  The data representing the extension.



Perhaps this workaround can be added to the official code base.
The administrator has disabled public write access.
 
#65070
Re:Module does not save and empty query 5 Years, 5 Months ago Karma: 760
Hello,

Thank you for sharing your investigation and for the solution. We will check the code and if it doesn't cause any problem, we will include it to the next "ARI Data Tables" release.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1