gelnn Posted March 19, 2019 Posted March 19, 2019 Hi all I have been trying TB, I was using PS 1.7 long story short that's why I am here. I never used PS 1.6. When I add a shop to multistore I get a 404 just for the second store not my main store. I did this with PS and worked at first but to many bugs, So I don't think I am doing it wrong. I have my Performance set to force compilation, cache set to no. I tried with friendly url's no and off I checked the debug mode and no errors. Any help would be appreciated. Thanks Glenn
wakabayashi Posted March 19, 2019 Posted March 19, 2019 Can you show your urls setting for multistore? Are you using physical or virtual directories?
gelnn Posted March 20, 2019 Author Posted March 20, 2019 (edited) I think I found my problem, when I add a store in multistore it makes it a main URL. I know I can only have 1 main URL, but it wont let me change it or add it so it is not the main URL. Edited March 20, 2019 by gelnn
wakabayashi Posted March 20, 2019 Posted March 20, 2019 The configuration is correct. It has to be 2 main urls. Have you tried to work with a subdomain instead of virtual shop? I have a similair issue in my testshop... Edit: It's interesting that I can make it work with multiple domains/subdomains. But not with virtual directories. Do you know something about your server configuration? Do you use Nginx? @Traumflug Do you have any idea, what could be the issue? Maybe you remember my "nginx problem". It's really interesting that instead of genzo.ch/chesspoint/ a setup with chesspoint.genzo.ch works.
gelnn Posted March 20, 2019 Author Posted March 20, 2019 I tried sub domain no luck. I have a Hostgator vps.
wakabayashi Posted March 20, 2019 Posted March 20, 2019 so you added a subdomain in cpanel/plesk, changed the folder in cpanel/plesk and used it for store2?
gelnn Posted March 21, 2019 Author Posted March 21, 2019 I used the subdomain but I di not change the folder. What folder should I change?
Traumflug Posted March 21, 2019 Posted March 21, 2019 Is there some evidence this Virtual URI thing ever worked? A year ago I was close to removing the feature, because I couldn't imagine a use case other than having https://store.com/shoes rather than https://shoes.store.com/, while one can get https://store.com/shoes easily by defining a category 'shoes' in the main shop. Perhaps we should talk about what the goal is. This should help finding a way to get it working, or to find a easier replacement.
wakabayashi Posted March 21, 2019 Posted March 21, 2019 @Traumflug yes virtual urls was working for me before. I used it only for testing purposes. But I can go with subdomains as well. In real live I am also not sure, why it's useful. Why wouldn't you have a real domain per shop :S @gelnn you need to define this in cpanel or plesk. There you can link a domain/subdomain to a folder on your server. You need to link the subdomain to the folder where thirtybees is installed.
Traumflug Posted March 22, 2019 Posted March 22, 2019 Great. Having a working version is a great help, as it allows bisecting. Do you also remember the version where you've last seen it working? 1.0.3?
wakabayashi Posted March 22, 2019 Posted March 22, 2019 Yes 1.0.3 was working for me. The problem is: I use nginx and I don't understand it. So can't 100% that TB is broken now or my nginx is broken. Edit: @Traumflug can I just downgrade with your module to 1.0.3 and see if it works again?
Traumflug Posted March 22, 2019 Posted March 22, 2019 1 hour ago, wakabayashi said: @Traumflug can I just downgrade with your module to 1.0.3 and see if it works again? It should work. These statistics modules will be missing, though.
wakabayashi Posted March 22, 2019 Posted March 22, 2019 Hm somehow this didn't workout (tried 1.0.4). I got an error, that modules couln't be removed. It still shows 1.0.8 but somehow I can't even compare the version now...
devjunckie Posted March 26, 2019 Posted March 26, 2019 On 3/21/2019 at 5:08 PM, gelnn said: I used the subdomain but I di not change the folder. What folder should I change? you dont have to change any folder.. once you created a subdomain, when that sub-domain resolves.. just point it as the main url for your second store. your virtual directory should be empty though..
wakabayashi Posted April 4, 2019 Posted April 4, 2019 @devjunckie I just tested this again. You have to change the folder of the subdomain in plesk (in cpanel probably too). Normally when adding a subdomain the system will add a folder like subdomain.example.com. This folder if of course empty and it won't work. The subdomain needs to have the correct root folder (where the tb files are).
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