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


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 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.


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?

JSON Parse Error Opening ARI Modules in Backend
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: JSON Parse Error Opening ARI Modules in Backend
#58862
JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 0
Hi,

Today I installed the latest versions of both ARI Datatables and Smart Content on my Joomla site. I am also using the latest 3.6.4 version of Joomla.

I am now seeing that every time I attempt to open any of the ARI DataTables modules I get the error shown in the attached screen grab.

The error "decoding JSON data: Syntax error". In the frontend of the website all seems to work fine.

Any ideas?

Ken
The administrator has disabled public write access.
 
#58863
Re:JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 0
Sorry, here is the screen grab.
The administrator has disabled public write access.
 
#58864
Re:JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 0
I was wrong, the frontend processing of data NO longer works correctly. All the ARI modules return NO data. This is a serious issue.
The administrator has disabled public write access.
 
#58865
Re:JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 0
I have rolled back to ARIDataTables version 1.15.12 and then re-installed both of the following files,

class.LoadAll.php
class.PrepareIn.php

These you provided me as customizations for processing the IN statements in SQL.

The ARI modules are all returning NO DATA. Why?
The administrator has disabled public write access.
 
#58867
Re:JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 0
Let me add some final information that may help debug this issue.

The JSON issue is related to the Joomla version, and the problem exists since 3.6.3. It is a known issue. I rolled back to Joomla 3.6.3 and the JSON issue remains.

I researched and it is a result of tighter syntax in the newer Joomla versions since 3.6.3 all done to tighten security. Extensions with poor syntax for JSON calls are now rejected outright. Start there.

I was able to restore the frontend working correctly after restoring from backup. The new version of ARIDataTables replaced the file "class.LoadAll.php" and removed the line that loads the custom "PrepareIn"filter you created.

Will I have to do this every time an update is installed? Why? Why not just add that line to the standard file and include the "PrepareIn" filter? Why leave this as a manual process? This is a recipe for disaster. It is only a filter, just add to the base product!

Let me know when you have a solution to the JSON issue. Right now I cannot access any of my ARI datatables modules via the backend.

Ken
The administrator has disabled public write access.
 
#58868
Re:JSON Parse Error Opening ARI Modules in Backend 8 Years, 1 Month ago Karma: 760
Update "ARI Data Tables" module to the latest version (1.15.13). It fixes the problem with "JSON" error message.

"PrepareIn" is a custom module so we don't include to a standard version of the extension.

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