Jump to content

[SOLVED] Change domain pointer and now Prestashop doesnt display/work correctly. NEED HELP


Recommended Posts

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

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/WEBSITEfolder

When Testing prestashop I would just enter www.domain.com/prestashop



Everything 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

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

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

  • 2 years later...
  • 1 year later...

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 by prince2911 (see edit history)
Link to comment
Share on other sites

  • 1 year later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...