Skip to main content
added 228 characters in body
Source Link
Jim Pannell
  • 949
  • 6
  • 14

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

enter image description here

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10.3 version and installed the most up to date Structure version (3.3.19). Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Update: I've been able to fix this... in the weirdest way. By adding a couple of line breaks at the end of the following Structure javascript files:

  • jquery.ui.nestedsortable.js
  • structure-collapse.js

That's it!

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

enter image description here

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10.3 version and installed the most up to date Structure version (3.3.19). Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

enter image description here

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10.3 version and installed the most up to date Structure version (3.3.19). Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Update: I've been able to fix this... in the weirdest way. By adding a couple of line breaks at the end of the following Structure javascript files:

  • jquery.ui.nestedsortable.js
  • structure-collapse.js

That's it!

Added screenshot of js error plus versions of Structure and EE
Source Link
Jim Pannell
  • 949
  • 6
  • 14

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

enter image description here

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10.3 version and installed the most up to date Structure version (3.3.19). Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10 version and installed the most up to date Structure version. Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

enter image description here

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10.3 version and installed the most up to date Structure version (3.3.19). Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?

Source Link
Jim Pannell
  • 949
  • 6
  • 14

Strange issue causing JS errors in Structure in EE Control Panel

Very weird issue this - never seen it before. When I access Structure in the control panel I'm getting javascript errors because something is cutting off the end of the Structure js files that the CP is accessing via the following type of URLS:

/admin.php?S=0&D=cp&C=javascript&M=load&package=structure&file=structure-collapse

Basically the end of the JS file is being shown as:

})(jQuery

rather than:

})(jQuery);

which is what the actual file has. So it isn't an issue with the Structure files not having been uploaded properly.

I've even tried reinstalling on another server, but same issue. I've also upgraded EE to the latest 2.10 version and installed the most up to date Structure version. Same issue.

I'm running on Ubuntu 14.4 with Nginx and PHP-FPM.

Anybody any ideas?