mkinternet Posted May 7, 2021 Share Posted May 7, 2021 (edited) I upgraded ps from 1.7.5 to 1.7.7.4. Upgrade was done smothly but there was some database errors which were fixed. Now i noticed that theme doesn't load some modules assets: /ps_searchbar/ps_searchbar.js, /ps_searchbar/ps_shoppingcart.js, jquery-ui (css and js. Take a look here: hesterfishing.com. What can cause this error? Edited May 7, 2021 by mkinternet (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted May 7, 2021 Share Posted May 7, 2021 1 hour ago, mkinternet said: What can cause this error? Permission settings could do that. Those Modules are there? Link to comment Share on other sites More sharing options...
mkinternet Posted May 7, 2021 Author Share Posted May 7, 2021 Which permission settings? Modules are installed. Home slider appears but it doesn't work. Cart module works too. Link to comment Share on other sites More sharing options...
Nickz Posted May 7, 2021 Share Posted May 7, 2021 in ftp right click on the respective folders. That is how you see the permission settings http://doc.prestashop.com/display/PS17/Permissions Link to comment Share on other sites More sharing options...
mkinternet Posted May 7, 2021 Author Share Posted May 7, 2021 But this is team permission settings. Not folder settings. modules/ps_shoppingcart/ps_shoppingcart.js permissions are -rw-r--r-- Link to comment Share on other sites More sharing options...
Nickz Posted May 7, 2021 Share Posted May 7, 2021 9 minutes ago, mkinternet said: But this is team permission settings. What stops you to search from there? Google > permission settings Modules prestashop. Or any other searchengine you like. Link to comment Share on other sites More sharing options...
mkinternet Posted May 7, 2021 Author Share Posted May 7, 2021 All modules are available on team permissions settings. But id don't know why even /js/jquery/ui/jquery-ui.min.js is not loading. There are only <script type="text/javascript" src="https://hesterfishing.com/themes/core.js" ></script> <script type="text/javascript" src="https://hesterfishing.com/themes/classic/assets/js/theme.js" ></script> <script type="text/javascript" src="https://hesterfishing.com/modules/blockreassurance/views/dist/front.js" ></script> <script type="text/javascript" src="https://hesterfishing.com/modules/ps_emailsubscription/views/js/ps_emailsubscription.js" ></script> <script type="text/javascript" src="https://hesterfishing.com/themes/classic/assets/js/custom.js" ></script> Link to comment Share on other sites More sharing options...
Nickz Posted May 7, 2021 Share Posted May 7, 2021 Have a look onto settings of themes, modules. If jquery-ui.min.js is not loading do you have it folder /js/jquery/ui/ or elsewhere? Link to comment Share on other sites More sharing options...
mkinternet Posted May 7, 2021 Author Share Posted May 7, 2021 Files are available https://www.hesterfishing.com/js/jquery/ui/jquery-ui.min.jshttps://www.hesterfishing.com/modules/ps_shoppingcart/ps_shoppingcart.jshttps://www.hesterfishing.com/modules/ps_searchbar/ps_searchbar.js I reseted theme settings to default. Shopingcart module has ajax enabled, slider settings are available. All modules are upgraded to the newest versions. Link to comment Share on other sites More sharing options...
Nickz Posted May 7, 2021 Share Posted May 7, 2021 The slider does not load, upload those pictures again, can you? Link to comment Share on other sites More sharing options...
mkinternet Posted May 7, 2021 Author Share Posted May 7, 2021 Yes i can. Link to comment Share on other sites More sharing options...
viniebenet3 Posted May 8, 2021 Share Posted May 8, 2021 Hi upgrading from 1.7.4.4 the previous hook are reseted to default I've reported it on another bug report but I don't find it again it should be fixed on the 1.7.5 but it is not so Link to comment Share on other sites More sharing options...
Nickz Posted May 8, 2021 Share Posted May 8, 2021 It does not look too bad without header IMHO best selling shops are anyway not really a beauty. Link to comment Share on other sites More sharing options...
mkinternet Posted May 10, 2021 Author Share Posted May 10, 2021 I thing that modules which are hooked to hookHeader are not loading assets, should the be moved to actionFrontControllerSetMedia? Link to comment Share on other sites More sharing options...
Roxayl Posted August 19, 2021 Share Posted August 19, 2021 I upgraded my shop from PS 1.7.5.1 to 1.7.7.5 and I do have the same issue, using the default theme. Scripts registered by modules do not load at all. I tried to reinstall my modules, checked that all module hooks are registered correctly and enabled in the correct shops, etc. On 5/10/2021 at 8:30 AM, mkinternet said: I thing that modules which are hooked to hookHeader are not loading assets, should the be moved to actionFrontControllerSetMedia? I noticed that some modules call registerJavascript() from the hookHeader() method defined in the module class. Does using the actionFrontControllerSetMedia hook instead solve the issue? Although I'm already using the latest versions of my modules, and I shouldn't have to change each module's code... 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