sondaj Posted March 14, 2017 Share Posted March 14, 2017 (edited) Hi! I've installed prestashop 1.7 on my server in root directory. I faced some problems with that with installation but define('TARGET_FOLDER', __DIR__.'/'); changed to define('TARGET_FOLDER', './'); solved problem. Now I'm facing weird issue. I have problem with missing slashes "/" in js and css paths. Source code in meta : <link rel="stylesheet" href="http://[domain]themesclassicassetscsstheme.css" type="text/css" media="all"> <link rel="stylesheet" href="http://[domain]jsjqueryuithemesbaseminifiedjquery-ui.min.css" type="text/css" media="all"> <link rel="stylesheet" href="http://[domain]jsjqueryuithemesbaseminifiedjquery.ui.theme.min.css" type="text/css" media="all"> <link rel="stylesheet" href="http://[domain]modulesps_imageslidercsshomeslider.css" type="text/css" media="all"> When I add slashes file is shown properly. I tried with __PS_BASE_URI__ constant but didn't solve that. Any suggestion would be very helpful! Edited March 14, 2017 by sondaj (see edit history) Link to comment Share on other sites More sharing options...
bojowyzajaczek Posted April 17, 2017 Share Posted April 17, 2017 Same problem here.I've just installed prestashop 1.7.1 and receive fatal problem with loading css and jp files. http://designdistrikt.ch Any ideas/ solution? Regards. S. Link to comment Share on other sites More sharing options...
bebsi Posted February 26, 2018 Share Posted February 26, 2018 I have the same problem. Anyone already solved that ? Link to comment Share on other sites More sharing options...
siledzik Posted May 19, 2018 Share Posted May 19, 2018 Does anyone know solution? Link to comment Share on other sites More sharing options...
bbnicu Posted January 23, 2020 Share Posted January 23, 2020 Hello, did you solved the problem? and how? i think is related to hosting. Link to comment Share on other sites More sharing options...
sondaj Posted August 13, 2020 Author Share Posted August 13, 2020 (edited) I didnt solve it. I just installed 1.6 Edited September 9, 2020 by sondaj (see edit history) Link to comment Share on other sites More sharing options...
sondaj Posted September 9, 2020 Author Share Posted September 9, 2020 On 1/23/2020 at 8:58 PM, bbnicu said: Hello, did you solved the problem? and how? i think is related to hosting. It happens also on local Link to comment Share on other sites More sharing options...
fgrs Posted September 9, 2020 Share Posted September 9, 2020 same issue here, can't believe it hasn't been resolved yet! all the js and css paths are stripped from slash / for example <script type="text/javascript" src="http://xxx.commodulesan_brandsliderviewsjs7de2d73e0f14afa857eeaab9d386f021.js" ></script> or <link rel="stylesheet" href="http://xxx.commodulesan_themeviewscsssidebarcart.css" type="text/css" media="screen"> <link rel="stylesheet" href="http://xxx.commodulesan_themeviewscssbuttons_effect.css" type="text/css" media="screen"> It's broken when in Multistore and shop url is set to subdomain xxx.xxx.com but works for main domain xxx.com/shop any idea?? PS 1.7 Link to comment Share on other sites More sharing options...
bebsi Posted October 1, 2020 Share Posted October 1, 2020 Hi, 2 years have passed and I found solution for my issue. In my case it was hosting settings - I had to enable redirection to a subdirectory without site separation from redirection with site separation. It works! Link to comment Share on other sites More sharing options...
sondaj Posted October 1, 2020 Author Share Posted October 1, 2020 (edited) Brilliant! Works like magic Edited October 1, 2020 by sondaj (see edit history) Link to comment Share on other sites More sharing options...
Nicula Gabriel Posted January 4, 2021 Share Posted January 4, 2021 (edited) installed a new prestashop version 1.7.7.0 php version: 7.3 ------------- Error: ------------- Solution: ---------- Result: Edited January 4, 2021 by Nicula Gabriel (see edit history) 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