Keyword

Item and category (Adm) Lost configuration and functions.

  • Rafael G. S.
  • Rafael G. S.'s Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 week ago #177399 by Rafael G. S.
The tabs have lost their configuration and the functions do not work.
It was a big mess of css and javascript.
It happened on 2 different server sites, one with the K2 version v2.10.3 and 10.2.

I have another website in version 2.9 that is working normally.

Even reinstalling and updating the problem remains.

I tried everything. Any suggestions?

Images:
prnt.sc/vhmhbo
prnt.sc/vhmnxl

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177408 by oscar
Hi Rafael GS

I had the same problem, the solution is to modify the jquery call (1.8.24/jquery-ui.min.js). In the directory

raiz /administrator/components/com_k2/helpers/html.php (in the line 308) Replace by

code.jquery.com/ui/1.8.24/jquery-ui.min.js

for

ajax.googleapis.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js

thnks

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177410 by JoomlaWorks
It's most likely a 3rd party extension causing that, as I see something being injected before the image tab form controls. There is no plugin even there, so my guess is that this plugin modifies the form's HTML and as such probably breaks it. Not a very smart way to extend K2 when K2 gives you all the tools to augment its backend forms...

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Rafael G. S.
  • Rafael G. S.'s Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 week ago #177411 by Rafael G. S.
My friend. Believe that at that very moment I was going to post about this difference that I found.

The new version pulls from here and is not working.

code.jquery.com/ui/1.8.24/jquery-ui.min.js


The old version 2.9 of the car pulls from here:
cdnjs.cloudflare.com/ajax/libs/jqueryui/1.8.24/jquery-ui.min.js

I was going to post here asking for the air way to change that, I didn't think so.

Thank you very much, I will try.

Please Log in or Create an account to join the conversation.

  • Rafael G. S.
  • Rafael G. S.'s Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 week ago #177413 by Rafael G. S.
The problem was with the same jquery path.

code.jquery.com/ui/1.8.24/jquery-ui.min.js

Out of service.

Thanks.

Please Log in or Create an account to join the conversation.

  • Rafael G. S.
  • Rafael G. S.'s Avatar Topic Author
  • Offline
  • New Member
More
4 years 1 week ago #177414 by Rafael G. S.
It worked, thank you very much.
One less problem.

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177417 by oscar
exactly !, one less problem jsjs.

thank you very much!

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177418 by JoomlaWorks
The URL loads just fine for me.

code.jquery.com/ui/1.8.24/jquery-ui.min.js

cURL results:
$ curl -I "https://code.jquery.com/ui/1.8.24/jquery-ui.min.js"
HTTP/2 200 
date: Thu, 12 Nov 2020 17:22:54 GMT
content-length: 200719
content-type: application/javascript; charset=utf-8
last-modified: Fri, 24 Oct 2014 00:16:10 GMT
accept-ranges: bytes
server: nginx
etag: W/"54499a4a-3100f"
cache-control: max-age=315360000
cache-control: public
access-control-allow-origin: *
vary: Accept-Encoding
x-hw: 1605201774.dop106.fr8.t,1605201774.cds246.fr8.hn,1605201774.cds132.fr8.c

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177419 by oscar
the return of the code 200, surely it is because it exists.

the problem is that it solves badly.

the message for browser is:
ERR_TOO_MANY_REDIRECTS

surely because it is in a loop

Please Log in or Create an account to join the conversation.

More
4 years 1 week ago #177420 by oscar
curl -I "code.jquery.com/ui/1.8.24/jquery-ui.min.js"
HTTP/2 301
date: Thu, 12 Nov 2020 17:38:05 GMT
content-length: 178
content-type: text/html
accept-ranges: bytes
server: nginx
location: code.jquery.com/ui/1.8.24/jquery-ui.min.js
cache-control: max-age=2592000
cache-control: public
access-control-allow-origin: *
x-hw: 1605202685.dop208.ez1.t,1605202685.cds208.ez1.hn,1605202685.cds224.ez1.c

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum