floriankajbe Posted April 6, 2023 Share Posted April 6, 2023 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: 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 More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 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 More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 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" Link to comment Share on other sites More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 1 minute ago, floriankajbe said: i have my shop-folders like this and got still the '500 Server Error" And what are the error details? Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 Just now, JBW said: And what are the error details? you mean this? Link to comment Share on other sites More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 After debug mode activation you will see the details (or check server error log) Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 Just now, JBW said: After debug mode activation you will see the details (or check server error log) How do i activate debug mode? Link to comment Share on other sites More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 change config/defines.inc.php define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 2 minutes ago, JBW said: change config/defines.inc.php define('_PS_MODE_DEV_', false); to define('_PS_MODE_DEV_', true); Danke.habs gemacht, jetzt schaut die seite so aus:was muss ich jetzt machen? Link to comment Share on other sites More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 This file is missing, maybe wrong theme installation!? Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 1 minute ago, JBW said: This file is missing, maybe wrong theme installation!? I dont think so, this is the Theme i use for the shop and usually it must be allright?! v1.0.8-jewelrystore.zip Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 10 minutes ago, JBW said: This file is missing, maybe wrong theme installation!? I dont even have this file in my themes folder: Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 22 minutes ago, JBW said: This file is missing, maybe wrong theme installation!? I installed the Theme in /themes and now when i search for shop2 it forward me into shop1 Link to comment Share on other sites More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 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 More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 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 More sharing options...
JBW Posted April 6, 2023 Share Posted April 6, 2023 Just now, floriankajbe said: Search for shop copy / clone in this forum, there are plenty of instructions Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 3 minutes ago, JBW said: Search for shop copy / clone in this forum, there are plenty of instructions cant find any instructions that would solve my problem in this forum Link to comment Share on other sites More sharing options...
Nickz Posted April 6, 2023 Share Posted April 6, 2023 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 More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 7 minutes ago, Nickz said: A few questions for you: What Server do you have, Ubuntu 20.04 7 minutes ago, Nickz said: Ram 7.8GI 7 minutes ago, Nickz said: Are those shops identical as in 100%? Dont understand what you mean Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 6, 2023 Share Posted April 6, 2023 make sure the permission of fold is right Link to comment Share on other sites More sharing options...
floriankajbe Posted April 6, 2023 Author Share Posted April 6, 2023 11 minutes ago, irder shopping said: make sure the permission of fold is right i have all permissions on both shop-folders Link to comment Share on other sites More sharing options...
TiaNex Shopping Posted April 6, 2023 Share Posted April 6, 2023 49 minutes ago, floriankajbe said: i have all permissions on both shop-folders maybe you can try to rename your theme name to "furniture" (the theme name in error information) if you can don't know what to do Link to comment Share on other sites More sharing options...
Nickz Posted April 6, 2023 Share Posted April 6, 2023 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 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