Forum Moderators: phranque
Mine did just that and I can’t figure out why. My host says it’s not the server. I have not updated that part of the website in weeks.
It is pulling the price from the database, but when you add the items to the cart it shows a 0.00 balance.
Any help would be most appreciated.
So now my questions are...
1)What would cause a database to become corrupt?
2)And is there any quick fix you guys can share in case this happens again.
The backup database is missing about 2 weeks worth of sales, which I can import, but if there is a quick way to fix a corrupt database I would love to know.
The problem could be with the ASP code, Access or even a hacker (unlikely). Can you figure out when you first started losing data? Do you have any logs that show unusual errors for that day?
You might want to ask another ASP programmer to look over your code to see if any strange possibility could cause sales to be zeroed or erased.
This is the first time I hear of anyone using Access for a shopping cart. It seems to me a relational database would be better suited; MSSQL or MySQL would probably be much more stable.
HTH
I looked for missing records and could not find any. I did not see any records that contained invalid characters like ######
But as soon as I replace that table... it started working... which makes sense since Viewcart.asp (that page that does the preliminary calculations) only pulls data from this table.
I hope it wasn’t a hack. I don’t even know how I would find out if it was.
Julia