josef@personera.com Posted April 8, 2013 Share Posted April 8, 2013 When I visit our Prestashop 1.5.4 admin page, none of the CSS, JS and images are loading properly. For example css/admin.css is failing to load, but it loads as: /css/admin.css Why is this happening? If I open a new tab, and I prefix the site domain before it it works fine, it's clearly missing the leading / for assets, but why does it get dropped all of a sudden? Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 you use ssl ? those files exists anywhere? your website is online? if so, can you provide an url to your admin directory? Link to comment Share on other sites More sharing options...
josef@personera.com Posted April 8, 2013 Author Share Posted April 8, 2013 SSL is off for now, the files do exist, site is online, I can login, but only see a text only version of my site. http://test2.personera.com/admin75149/ Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 ok i checked it My browser tried to load files from: http://css/login.css http://js/jquery/jquery-1.4.4.min.js (..) etc. so as you can see the problem is with an url. Can you go to the database manager like phpmyadmin? check ps_shop_url tables. I think that the problem is there. Check domain and domain_ssl values Link to comment Share on other sites More sharing options...
josef@personera.com Posted April 8, 2013 Author Share Posted April 8, 2013 I noticed that yes, I'm not sure if this is .htaccess causing this, or what. Lemme check the DB quick. Link to comment Share on other sites More sharing options...
josef@personera.com Posted April 8, 2013 Author Share Posted April 8, 2013 Compared to data on live DB, the shop URL appears to be fine. Link to comment Share on other sites More sharing options...
josef@personera.com Posted April 8, 2013 Author Share Posted April 8, 2013 The problem was between my ears...wrong domain settings in the ps_configuration table. Link to comment Share on other sites More sharing options...
vekia Posted April 8, 2013 Share Posted April 8, 2013 I think that this issue isn't related to the htaccess because back office dont use it... im trying to figure out where the links are generated, maybe there is an issue for now i don't know what is goin on:( -------------------- edit: yeah :-) thanks for the information, i was crying that i don't know whats going on haha ;P so i can go ahead and mark this topic as solved thanks for the info Link to comment Share on other sites More sharing options...
Recommended Posts