Extension

Archived
Forum
(read-only)

Magic Fields

ExpressionEngine 2

Back to this add-on's main page
View Other Add-ons From Isaac Raway

     

Updated to latest version, can’t add new fields

General

Bart Rylant
Bart Rylant

I just updated to the latest version (because Magic Fields suddenly stopped working), but now I cannot add new fields. All I see is this:

http://cl.ly/image/0W3j2I2V0r1W

And when I click “+ Add” nothing happens. There are no js errors in the console.

MetaSushi
# 1
Developer
MetaSushi

Hey Bart,

What version of EE are you running?

MetaSushi
# 2
Developer
MetaSushi

One thing you can check is to make sure the ext_scripts hook is returning magic_field’s JavaScript code.

The URL would be something like:

http://example.com/system/index.php?S=e6ff4c1efa6398b02985e4b6336267db&D=cp&C=javascript&M=load&file=ext_scripts

However you cannot just visit this page as ExpressionEngine uses the referrer to determine what content should be added to the output, so it has to be the version actually requested by the control panel page or it won’t be accurate.

It would look something like the attached image. Check to see if there are extraneous scripts from other extensions that are causing any kind of problem with the JS code.

In addition to the EE version, if you can list any other extensions you have installed other than Magic Fields that will help.

Bart Rylant
# 3
Bart Rylant

Seems like Cloudflare was minifying and combining all the javascript, although I had set a rule not to do it on admin pages.

Anyway, everything is back to normal right now, it was an error on my side.