Jump to content

PS1.6 multistore, local install, new user login not working in second shop


Recommended Posts

Now it's an interesting problem:

 

I have an absolutely fresh, local install (xampp) of PS 1.6.1

 

Steps I made:

- Clean default user data

- Switch on multishop, create a second shop group, and one shop in both groups.

Their domains are: localhost and localhost/xy

 

I can register new user at FO of the basic one (localhost), but when I try to do this with the second shop (localhost/xy), login does not work (the registered user actually shows up in BO, but he can not log in at FO)

 

Any idea what's going on here? (It seems as if it happened only with local install.)

 

Thank you very much,

 

Bye,

Istvan

Link to comment
Share on other sites

  • 2 weeks later...

I wonder if it's a new bug, I haven't tested it myself. CHeck the database, see if it reads the correct shop id in the customer table. Also, is the multishop group set to share customers? I wonder if you can try logging in with that user on the first shop?

Link to comment
Share on other sites

Thanks for your reply. It actually gave me a hint, and it seems that I solved the problem:

 

It had nothing to do with Presta itself (or at least, it is working now): I imported back the whole database from a backup with phpmyadmin, and I forgot to uncheck the default option: "Don't use AUTO INCREMENT for 0 values". As my customer table was empty, maybe that is why it did not work.

 

But, on the other hand, only logging in did not work, the newly created user was there in the database. And both creation and logging in worked fine with the base domain (localhost, in this case).

 

So, the bottom line is: I am still not shure, why it is working now. :) (but the only difference is that AUTO INCREMENT setting.)

 

Thank you anyway,

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