Welcome to Geeklog, Anonymous Sunday, December 01 2024 @ 12:10 pm EST

Geeklog Forums

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


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

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).
 Quote

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

Status: offline

Laugh

Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
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: 12/06/17
Posts: 107
Thanks Laugh.
 Quote

All times are EST. The time is now 12:10 pm.

  • 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