Jump to content

Problem with 2 Prestashop's on 1 Ubuntu Server


floriankajbe

Recommended Posts

Hello, i have 1 Prestashop on my Ubuntu 20.04 Server and it works fine, but when i want to download another prestashop on a different folder in the server then the first shop gets down but then the second one works fine. Like everytime when i download 2 Prestashop's only 1 of them works fine and the other one gives me an "500 Server Error" like this:

image.thumb.png.0f040fdc03a66b7ba11a23f4032b75c2.png

I have looked into the prestashop.conf and 000-default.conf , added the files for the shop's but only 1 Shop works the other one "500 Server Error". Like when i download like 2 Different things on my Server it works on both of them. IDK why its only not working only on my Prestashop's.. 


Please can anyone help me i gotta solve this problem its very important.

Thanks for everyone!

Link to comment
Share on other sites

Looks like a server misconfiguration. Usual way is to install both shop in subfolders below you webserver root folder e.g. /var/www/html/shop1 and /var/www/html/shop2 - for easier access I usually use subdomains to access them. And for sure you need two different databases for them

If you want to see the details of the 500 error you must active presteshop debug mode.

Link to comment
Share on other sites

19 minutes ago, JBW said:

Looks like a server misconfiguration. Usual way is to install both shop in subfolders below you webserver root folder e.g. /var/www/html/shop1 and /var/www/html/shop2 - for easier access I usually use subdomains to access them. And for sure you need two different databases for them

Of course i have different databases for each shop.

i have my shop-folders like this and got still the '500 Server Error" 

image.png.dbbca5d9f4fbf025d5248fdbb49c6c42.png

Link to comment
Share on other sites

Looks like you copied one shop to another directory. You need some adjustments e.g. in parameter.php, database (shop_url), recreate .htaccess. Search for shop copy / clone in this forum, there are plenty of instructions

Link to comment
Share on other sites

25 minutes ago, JBW said:

Looks like you copied one shop to another directory. You need some adjustments e.g. in parameter.php, database (shop_url), recreate .htaccess. Search for shop copy / clone in this forum, there are plenty of instructions

how do i do that?

Link to comment
Share on other sites

2 hours ago, floriankajbe said:

cant find any instructions that would solve my problem in this forum

A few questions for you:

  • What Server do you have,
  • Ram,
  • Memory settings etc..
  • Are those shops identical as in 100%?
Link to comment
Share on other sites

4 hours ago, floriankajbe said:

Dont understand what you mean

The shop you mounted is a clone

 

5 hours ago, floriankajbe said:

Ubuntu 20.04

Moire importandly you need to tell us what server it is, shared, dedicated, managed or which form of server.

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...