151 Posts
jimenaes
7 years ago
9
Topic

Hello

I have just made a new Joomla + Seblod installation and I can't creat new fields in a new Content Type, nothing happens when I click the "+" button. Seems like there is a problem with the colorbox JS code. The browser console displays this error:

TypeError: e(...).colorbox is not a function[Learn More] cck.backend-3.9.0.min.js:3:5564
TypeError: $.colorbox is not a function[Learn More]

I tried changing the template and reinstall Seblod but the error remains there.

Does anybody has the same problem?

Get a Book for SEBLOD
4229 Posts
Kadministrator
7 years ago
3
Level 1

Looks like colorbox is not loaded for some reason, did you install any other extensions? ALso check in network tab if if here is a call to load media/cck/scripts/jquery-colorbox/js/jquery.colorbox-min.js and if there are any errors when Seblod tries to load that script.

151 Posts
jimenaes
7 years ago
1
Level 2

Hi Klas, thanks for answer.

I just installed JCE editor, Akeeba and Yootheme Master2 template. I always work with those extension and until yesterday they work fine with Seblod.

Today, in another project of mine I found a similar problem with jquery: In my content view I have a link to a serch & list witch was working perfect, now the link doesn't work and I get this console error:

Error: Syntax error, unrecognized expression: /zonas-arqueologicas/zonas.html?search=zonas_mosaico&task=search&museo_zona_id=1685&lugar_id=1685

jquery.min.js (línea 2, columna 12733)

151 Posts
jimenaes
7 years ago
0
Level 3

I found the problem with link in my content view it was a tab field I was using whithin divs fields. I had to removed them and write some code in a free text field to make the tabs.

I haven't found the problem with the js needed to create fields on backend Seblod interface :(

151 Posts
jimenaes
7 years ago
0
Level 2

About your question :

ALso check in network tab if if here is a call to load media/cck/scripts/jquery-colorbox/js/jquery.colorbox-min.js and if there are any errors when Seblod tries to load that script.

Yes the network displays that call and write  a 303 status. I don't know what does that means :(

151 Posts
jimenaes
7 years ago
4
Level 1

Hello

I have just made another new joomla and Seblod installation without anything else, no extensions nor templates and the "+" button to create new field in a Content Type and the tabs admin/site/intro/content are not working.

What could be the problem?

Thanks

4229 Posts
Kadministrator
7 years ago
3
Level 2

This has something to do with your hosting, for the start check if media/cck/scripts/jquery-colorbox/js/jquery.colorbox-min.js file is indeed there - if it is some system on your hosting is blocking access to it - either you haven't set the right permissions on file or hey have some protection system activated.

151 Posts
jimenaes
7 years ago
2
Level 3

Thanks for your answer Klas.

Yes, the file is there and has the same permissions as the others (644). I'm working in a Bluehost server and I haven't had any problems with this issue before

151 Posts
jimenaes
7 years ago
1
Level 4

In the browser console the error points some how to

media/jui/js/jquery.min.js

Does anybody knows anything about this?

4229 Posts
Kadministrator
7 years ago
0
Level 5

That is just where error happens as jquery executes some other script, but the problem comes from somewhere else.hard to tell without access to the site.

Get a VIP membership