drewboterf Posted March 31, 2016 Share Posted March 31, 2016 (edited) I've seen this issue on the forums but I have a unique situation. My store is installed in a subdirectory on my domain. The back office address is like this: https://mydomain.com/Commerce/admin When I try to reorder the slides in the Home Slider module, I've looked at the browser console and the error is a 404 (File not found) and it's because the path is not including the subdirectory. Here's the error: jquery-1.11.0.min.js:4 POST https://mydomain.com/modules/homeslider/ajax_homeslider.php?secure_key=a39fba00d12de13c08f16b4acdef0e63 404 (Not Found) How can this be corrected? Edited March 31, 2016 by drewboterf (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted April 5, 2016 Share Posted April 5, 2016 That URL is created as $this->context->shop->physical_uri.$this->context->shop->virtual_uri.'modules/... in the homeslider v1.6.0. Can be that the Base URI (SEO & URLs) in your shop isn't "Commerce"? Link to comment Share on other sites More sharing options...
drewboterf Posted April 5, 2016 Author Share Posted April 5, 2016 Here's what my URL setting looks like. (See Attachment) Link to comment Share on other sites More sharing options...
Reho Posted December 8, 2016 Share Posted December 8, 2016 I'm suffering almost the same effect. My multistore presta has 3 stores in a directory (physichal uri) and each store has it's virtual uri. i found that when on the admin I select the default store the $this->context->shop->virtual_uri is an empty string! This might be a bug in Prestashop core. Ver 1.6.10. 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