poldenais Posted June 11, 2010 Share Posted June 11, 2010 Hi, I installed Prestashop in a sub-folder of my Domain folder. The domain pointer was pointing to the Domain folder so when the site was going live, I changed the Domain pointer to the sub folder Domainfolder/prestashop.then when I loaded the website, everything is messed up. It slowly loads the page but only bits of text appear unformatted, and no pics.I tried switching t back but no joy. I cant get into Prestashop admin now either.Any ideas?The web service provider told me it was CSS problem and not their fault. I cant see how this could be so by just changing the domain pointer....Please help! Link to comment Share on other sites More sharing options...
poldenais Posted June 11, 2010 Author Share Posted June 11, 2010 I probably explained this wrong.I created prestashop in a subdirectory, e.g. http://www.domain.com/WEBSITEfolder/prestashop.'>http://www.domain.com/WEBSITEfolder/prestashop. I had the Domain pointer pointing to www.domain.com/WEBSITEfolderWhen Testing prestashop I would just enter www.domain.com/prestashopEverything was working fine and the shop is ready to go live.So I changed the Domain pointer to point to http://www.domain.com/WEBSITEfolder/prestashop thinking that Prestashop would be the first page to appear when entering www.domain.com in the URL.Hope that explains it more Link to comment Share on other sites More sharing options...
rocky Posted June 11, 2010 Share Posted June 11, 2010 Did you change the PS_BASE_URL in config/settings.inc.php to the new directory? Link to comment Share on other sites More sharing options...
poldenais Posted June 11, 2010 Author Share Posted June 11, 2010 Hi I didnt do that, Is that all I need to do? All the files are still in the Prestashop folder though. Is that ok? Link to comment Share on other sites More sharing options...
poldenais Posted June 11, 2010 Author Share Posted June 11, 2010 Did you change the PS_BASE_URL in config/settings.inc.php to the new directory? '__PS_BASE_URI__', '/prestashop/' is the current setting.Domain pointer is pointing to /public_html/tatamiireland/prestashop/.Should these settings not be ok? Link to comment Share on other sites More sharing options...
rocky Posted June 11, 2010 Share Posted June 11, 2010 Yes, if your homepage is http://www.yourdomain.com/prestashop/index.php, then the PS_BASE_URI should be: define('__PS_BASE_URI__', '/prestashop/'); Link to comment Share on other sites More sharing options...
poldenais Posted June 11, 2010 Author Share Posted June 11, 2010 Yes, its already set at: at define('__PS_BASE_URI__', '/prestashop/');if you look at www.tatamiireland.com you will see what way its messed up Link to comment Share on other sites More sharing options...
rocky Posted June 11, 2010 Share Posted June 11, 2010 I had a look at your site and it appears it is in the root directory, not the prestashop directory. You should use the following code instead: define('__PS_BASE_URI__', '/'); 1 Link to comment Share on other sites More sharing options...
poldenais Posted June 11, 2010 Author Share Posted June 11, 2010 I had a look at your site and it appears it is in the root directory, not the prestashop directory. You should use the following code instead: define('__PS_BASE_URI__', '/'); Rocky I think thats it working now, Im nearly sure. I will check with my brother now who is looking after this site.Thanks so much for you help on this. Link to comment Share on other sites More sharing options...
janosolerdiaz Posted September 10, 2012 Share Posted September 10, 2012 Wow, thank you very much!! I had the same problem and modifiyng the _PS_BASE_URI with "define('__PS_BASE_URI__','/');" I could solve it. Fantastic! Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 10, 2012 Share Posted September 10, 2012 Hello janoslerdiaz, Thank you for the message. I'm Happy it solved your problem. I will go ahead and mark this thread as SOLVED. Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
prince2911 Posted February 8, 2014 Share Posted February 8, 2014 (edited) Hello, I have got the same issue, and it was partially solved by changing the base URL as advised: define('__PS_BASE_URI__', '/'); But the issue is still existing as some pictures still don't show + most of the links i.e categories still pointing to the old address which is: "www.nawarastore.com/NawaraStore/Prestashop/" My domainname is: www.nawarastore.com Pointing to: /public_html/NawaraStore/prestashop/ Just a note: when changing the language to french, it works perfectly. Also the back office is working fine Please advise. Thanks and best regards, Edited February 8, 2014 by prince2911 (see edit history) Link to comment Share on other sites More sharing options...
asanpedros Posted September 18, 2015 Share Posted September 18, 2015 Hello, I didnt know If i need to open a new topic or ask here, I moved to another server and on the information it says I need to modify settings.inc.php with this information 1 define('__PS_BASE_URI__', '/'); but on the file there is no PS_BASE_URI, do I need to add it ?, and where ?, or should i leave it like it is. Thanks ! 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