Pretty bad error

Posts: 46
Joined: 01/18/2008

I just asked this in IRC, but thought I would post it here as well.

so I just noticed something weird, maybe someone here has some in sight.
I have a site setup and running ubercart
my first like 8 orders were all test orders
then we went public
since then we've gotten another 10+ orders
at first it went from order 8 (our last test order) to order 9
with the customers information
we got up to like order 20
and all of a sudden
the new orders starting linking
to already registered users
so order 20, rather then linking to the new users account and actually creating that users info
actually linked to my account
as user ID 1

So in my profile, I actual see this new persons order. And now whats happening is each new order is being linked to an existing user in progression. Like order 21 is now linked into user ID 2, and that persons account information is not being added as a new user.

We have quite a few demo user accounts, but soon this is going to get into our exsisting clients and could really REALLY screw things up.

--

i build stuff

Posts: 3193
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

No clue on that one. Sticking out tongue I doubt this is related, but I'd disable caching. Also, can you specify which version of Ubercart you're running?

Posts: 46
Joined: 01/18/2008

version beta 7
which table in the database can i modify so it doesn't over right all the current users information with new client orders?

--

i build stuff

Posts: 781
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

Are you allowing anonymous checkout? Are all of these screwy orders coming from anonymous customers? You might try disabling the anonymous config ... see if that helps.

So, if you go into the uc_orders table in your database, you are seeing orders that you didn't create that are given a uid of 1? (In other words are associating with your account at the db level)

I've heard of something like this happening - I think when our site first went live, we were getting users whose orders were tripping over each other or overwriting a previous order. I think Lyle had mentioned something about it being a PHP but, but for the life of me I can't remember - nor can I find it in my posting history. It's like the sessions are being cached or something - and a user is coming to your site and checking out but somehow their session information is being overwritten by yours.

What versions of PHP and Apache are you on? Or are you on Windows?

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com

Posts: 46
Joined: 01/18/2008

Were using php 5.16, apache 2, mysql 5. I've been trying to get the server admin to upgrade these, but I don't think its coming from these settinngs. I went into the db and located the sequences or sessions table. What ever tracks the order number, changed a bunch of them from 5 to 18 (which is where the orders should have been at) and then did a couple test orders, seems to be working now.

I had deleted the first 8 orders before going live, so the order number was at 9 for our first order. Things look to be working fine, I will post if the problem comes back.

--

i build stuff

Posts: 781
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

I was going to ask about the sequences table too - weird. Glad you got it taken care of.

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com