Welcome to Geeklog Wednesday, June 03 2020 @ 02:57 am EDT

Geeklog Forums

Uncaught TypeError: tablechanger.live is not a function for r.php


Status: offline

OMAL

Forum User
Regular Poster
Registered: 06/12/17
Posts: 102
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.
 Quote

Status: offline

OMAL

Forum User
Regular Poster
Registered: 06/12/17
Posts: 102
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).
 Quote

Status: offline

OMAL

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

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1397
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.
 Quote

Status: offline

OMAL

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

All times are EDT. The time is now 02:57 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content