Mufdo Posted March 2, 2016 Share Posted March 2, 2016 Hello, I move my Prestashop website (File + database) to local environment I make this move many times ( ps_configuration table : 127.0.0.1, ps_shop_url : /aloemarket/, changing the settings.inc ) Everything work database, login, product update , all but with this web site I have a CSS problem : When I display the page source and click on one of this links , I got this message : </script> <link href="/admin123/themes/default/css/admin-theme.css" rel="stylesheet" type="text/css"/> <link href="/modules/gamification/views/css/gamification.css" rel="stylesheet" type="text/css"/> .... *********** Message displayed in the browser **************************** <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> <p>The requested URL /admin123/themes/default/css/admin-theme.css was not found on this server.</p> <hr> <address>Apache/2.4.9 (Win64) PHP/5.5.12 Server at 127.0.0.1 Port 80</address> </body></html> ... *************************************** Url in a browser after clicking the link above : view-source:http://127.0.0.1/admin123/themes/default/css/admin-theme.css When it function properly view-source:http://127.0.0.1/aloemarket/admin123/themes/default/css/admin-theme.css I find the problem : the /aloemarket/ is missing in the Url -- so the admin-theme.css file can not be loaded and all other file as well (gamification.css, advice-1.6.0.11_26.css, etc) Someone has an idea ? Thanks for your help Botchan Link to comment Share on other sites More sharing options...
Knowband Plugins Posted March 3, 2016 Share Posted March 3, 2016 Hi, You need to Use phpMyAdmin to edit table ps_shop_url table. Edit the field 'physical_uri' to reflect the changed location of your shop Link to comment Share on other sites More sharing options...
musicmaster Posted March 3, 2016 Share Posted March 3, 2016 Delete .htaccess. And regenerate it then in the backoffice (Advanced settings->SEO). Link to comment Share on other sites More sharing options...
Mufdo Posted March 4, 2016 Author Share Posted March 4, 2016 Hello, thanks for your solution. I tried everything you propose to me. This day I make a lot of test moving a fresh install of Prestashop from Hosting server to Local environment WAMP server with 100% success and no CSS problem. I m webmaster in ASPnet and SQL server...may by is this my problem I know all the stuff to do to move. I disable friendly Url - force compilation - clear smarty and compilation cache (leave the index) Change the configuration and shop-url table ( domain - domain SSL physical uri, etc.) But with this site /aloemarket/ I have this CSS problem !! If I write anything( "asdfasdf" ) inside physical_uri or Domain or Domain SSL It not change anything !!! I have still my CSS problem. This Prestashop site have been installed inside the Arvixe hosting server and now I want to make big change on it. It's why I want to work and make change locally. Any idea ? Link to comment Share on other sites More sharing options...
Mufdo Posted March 4, 2016 Author Share Posted March 4, 2016 I just make a test : In a fresh install of Prestashop who have no CSS problem and work locally, I changed the "physical_uri" in the shop url table and immediately I got the CSS problem. So for the /aloemarket/ site is like it doesn't matter what is inside the "physical_uri". Because the site not take in account this information !! Any idea ? Link to comment Share on other sites More sharing options...
Mufdo Posted March 7, 2016 Author Share Posted March 7, 2016 Thanks all . Done problem resolved. 1 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