Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
I am getting an error in the console.
Uncaught TypeError: tablechanger.live is not a function

This is for the script line of r.php after footer.
The jquery version is jQuery v3.2.1.

How to fix this?
Thanks.

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
The javascript and jquery_ui folders under the theme folder were not replaced with those of GL2.2, so that was the reason (script.js was old).

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
By the way, which files and folders are related to r.php? It seems javascript folder is one of them..

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1468
Which version of Geeklog are you talking about? Geeklog v2.2.1 and sr1 shipped with the correct version of jQuery that was defined in the resource class.

The r.php is used by /system/classes/Resource.php

For jQuery you have the option to use the CDN option in the config set to true (Use CDN-hosted copy of jQuery and uikit).

Else it should default to using jquery found in public_html/vender/jquery

Hmmm, I did just notice that we do still have an old copy of jquery and juqery ui located in public_html/javascript/

I have updated this issue: https://github.com/Geeklog-Core/geeklog/issues/1059

to make sure this old version gets removed.
One of the Geeklog Core Developers.

Status: offline

OMAL

Forum User
Regular Poster
Registered: 12/06/17
Posts: 107
Thanks Laugh.