boutik-fan Posted March 1, 2016 Share Posted March 1, 2016 (edited) Hello, Javascript seems not to work in the BO. So Text editor is not there and datepicker also. See the errors: Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.ui.core.min.js:4 jquery.ui.widget.min.js:4 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.ui.widget.min.js:4 jquery.ui.mouse.min.js:4 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.ui.mouse.min.js:4 jquery.ui.sortable.min.js:4 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.ui.sortable.min.js:4 fileinput.js:21 Uncaught TypeError: Cannot read property 'fn' of undefined(anonymous function) @ fileinput.js:21(anonymous function) @ fileinput.js:2381 jquery.ui.slider.min.js:4 Uncaught TypeError: Cannot read property 'mouse' of undefined Someone has an idea ? Edited March 5, 2016 by boutik-fan (see edit history) Link to comment Share on other sites More sharing options...
polosat Posted March 1, 2016 Share Posted March 1, 2016 These errors only says that jQuery was not loaded.Maybe your jQuery file is missing? Link to comment Share on other sites More sharing options...
boutik-fan Posted March 2, 2016 Author Share Posted March 2, 2016 I verify the js/ folder. every files are there. And js is working in the front. In the source code I've found this just before the js lines : var host_mode = false. Is it ok ? Link to comment Share on other sites More sharing options...
polosat Posted March 2, 2016 Share Posted March 2, 2016 Yes, it's ok. Do you see jQuery in included js files? Something like: <script type="text/javascript" src="/js/jquery/jquery-1.11.0.min.js"></script> Link to comment Share on other sites More sharing options...
boutik-fan Posted March 3, 2016 Author Share Posted March 3, 2016 (edited) Yes I have it in the source code. Edited March 3, 2016 by boutik-fan (see edit history) Link to comment Share on other sites More sharing options...
polosat Posted March 3, 2016 Share Posted March 3, 2016 And jquery is included before all other scripts? Link to comment Share on other sites More sharing options...
boutik-fan Posted March 3, 2016 Author Share Posted March 3, 2016 (edited) It was a module on the displayBackOfficeHeader Edited March 5, 2016 by boutik-fan (see edit history) Link to comment Share on other sites More sharing options...
Christian Alias Posted May 31, 2016 Share Posted May 31, 2016 (edited) It was a module on the displayBackOfficeHeader Could you tell us how did you solved plis ? which module I mean Edited May 31, 2016 by Christian Alias (see edit history) Link to comment Share on other sites More sharing options...
Motoza Posted June 28, 2017 Share Posted June 28, 2017 It was a module on the displayBackOfficeHeader I'm getting these exact same errors, same symptoms with the addition that I can no longer add images or edit product images. Same version of prestashop etc. Please help with which module was causing the problem? Link to comment Share on other sites More sharing options...
Motoza Posted June 28, 2017 Share Posted June 28, 2017 Much like the OP I have verified the js/ folder contents, all are there and everything is working perfectly in the front office. This all started after optimizing the site for speed, disabled and uninstalled some modules, as well as enabling some performance based options. I've obviously tried undoing those things but with no effect. Front office works great, nice and fast now but the back office is pretty useless: -no text editor for CMS pages -no image preview for existing products -no ability to add new products -no ability to change any images So can all this stem from js being called before loaded by some module on the displayBackOfficeHeader? Some things I've been thinking about are if changes have been made to the admin controller, or some tpl file for the back office? Any ideas would be appreciated Link to comment Share on other sites More sharing options...
Cvalya Posted August 11, 2017 Share Posted August 11, 2017 Much like the OP I have verified the js/ folder contents, all are there and everything is working perfectly in the front office. This all started after optimizing the site for speed, disabled and uninstalled some modules, as well as enabling some performance based options. I've obviously tried undoing those things but with no effect. Front office works great, nice and fast now but the back office is pretty useless: -no text editor for CMS pages -no image preview for existing products -no ability to add new products -no ability to change any images So can all this stem from js being called before loaded by some module on the displayBackOfficeHeader? Some things I've been thinking about are if changes have been made to the admin controller, or some tpl file for the back office? Any ideas would be appreciated Hi, i have same problem. In my case all files exist and load on pages, but wrong order of this files. And jquery lib load after most of other js files and dont initialized properly. Most of this "wrong order" files come from 1 module and i send question about change order to support. Right now i search how change order for loaded js files... Link to comment Share on other sites More sharing options...
asmar Posted April 2, 2020 Share Posted April 2, 2020 Can anyone share a solution on this? I've got the same problem. The jquery.autocomplete.js loads before the jquery and nothing is working under products. Link to comment Share on other sites More sharing options...
Talas Posted January 27, 2021 Share Posted January 27, 2021 Hello, i've got the same problem too. Do you have solved your problem? Link to comment Share on other sites More sharing options...
Bequitas Posted February 2, 2021 Share Posted February 2, 2021 I also have the same problem... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now