peti2ty Posted July 16, 2017 Share Posted July 16, 2017 (edited) Hi!It seems like the javascripts don't load in my backoffice. I got this errors in developer console:Uncaught TypeError: $(...).result is not a function at HTMLDocument.<anonymous> (index.php?controller=AdminModules&token=8bccbb7…:978) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at Function.ready (jquery-1.11.0.min.js:2) at HTMLDocument.K (jquery-1.11.0.min.js:2) gamification_bt.js:80 Uncaught TypeError: $(...).fancybox is not a function at Object.success (gamification_bt.js:80) at j (jquery-1.11.0.min.js:2) at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2) at x (jquery-1.11.0.min.js:4) at XMLHttpRequest.b (jquery-1.11.0.min.js:4) index.php?controller=AdminModules&token=8bccbb7…:959 Uncaught TypeError: $.uiTableFilter is not a function at HTMLInputElement.<anonymous> (index.php?controller=AdminModules&token=8bccbb7…:959) at HTMLInputElement.dispatch (jquery-1.11.0.min.js:3) at HTMLInputElement.r.handle (jquery-1.11.0.min.js:3) index.php?controller=AdminModules&token=8bccbb7…:959 Uncaught TypeError: $.uiTableFilter is not a function at HTMLInputElement.<anonymous> (index.php?controller=AdminModules&token=8bccbb7…:959) at HTMLInputElement.dispatch (jquery-1.11.0.min.js:3) at HTMLInputElement.r.handle (jquery-1.11.0.min.js:3) (I already checked the permissions, disabled cache, regenerated .htaccess but nothing helped...What should I do?Thank you, Edited July 16, 2017 by peti2ty (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted July 16, 2017 Share Posted July 16, 2017 One rather common problem is that javascript works but that jQuery for some reason didn't load. Many javascript errors can cause this but a rather common problem is the performance trick of Prestashop to move the javascript to the bottom. Try to disable that (under Advanced Settings->Performance with the CCC settings). Link to comment Share on other sites More sharing options...
peti2ty Posted July 16, 2017 Author Share Posted July 16, 2017 One rather common problem is that javascript works but that jQuery for some reason didn't load. Many javascript errors can cause this but a rather common problem is the performance trick of Prestashop to move the javascript to the bottom. Try to disable that (under Advanced Settings->Performance with the CCC settings). Thanks for your reply! When I try to allow Smart Cache for JS, it says: To use Smart Cache directory must be writable.... This cache folder is already on 777 permission and there is no other cache folder in my theme directory. Link to comment Share on other sites More sharing options...
musicmaster Posted July 16, 2017 Share Posted July 16, 2017 And what about the cache directory in the root? Link to comment Share on other sites More sharing options...
peti2ty Posted July 16, 2017 Author Share Posted July 16, 2017 And what about the cache directory in the root? That is also 777. I heard that I could try with sticky bit but it doesn't work either Link to comment Share on other sites More sharing options...
Dashe Posted January 5, 2019 Share Posted January 5, 2019 Did you fix the problem? i Have same issue Link to comment Share on other sites More sharing options...
musicmaster Posted January 5, 2019 Share Posted January 5, 2019 It could be an ownership problem. A common cause of problems on Linux servers. 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