Missing uc_uplog table?
| Project: | Ubercart Userpoints |
| Version: | 5.x-2.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
This is the first time I've submitted an issue on here so be gentle :)
I've just installed ubercart userpoints, but when I checked out I go an error that the table "uc_uplog" did not exist.
I had a look in CVS and it seems that the code to create this table was in userpoints_ubercart.install but that file had been removed from the tree.
I'm using MySQL so I ran the following code to create the table
CREATE TABLE uc_uplog (
uplog_id INT NOT NULL AUTO_INCREMENT,
uid INT(10) NOT NULL DEFAULT '0',
oid INT(10) NOT NULL DEFAULT '0',
points INT(10) NOT NULL DEFAULT '0',
referrer tinyint(4) NOT NULL DEFAULT '0',
discount decimal(10,2) NOT NULL DEFAULT '0',
PRIMARY KEY (uplog_id)
)
And now things seem to be OK.
Maybe this problem doesn't show up when upgrading from 1.x to 2.x
Maybe I should have installed 1.x first and then upgraded.
In any event I've now compled my first issue report.
Yours in open sourceness
Conrad

#1
It looks like you are using the discount module contained in there, which I am not surprised has an error relating to that since it has another bigger error which is still being worked on and I am hoping to have a release out next week. The bug has to do with allowing a discount larger than the order total.
The userpoints_ubercart.xxx files are from 1.x which is a bad version at this point... It wasn't very reliable and had several bugs that I can think of off hand...
Thanks for bring this up though, good chance I would have missed it...
Ben
#2
This has been fixed. It appears I missed a database query when doing the conversion to individual modules. I hope to have the other issues resolved early this week.
#3
Automatically closed -- issue fixed for two weeks with no activity.