CT Admin
ExpressionEngine 2
Back to this add-on's main page
View Other Add-ons From Foster Made
Errors with CT 2.5
General (Resolved)
Kenny Stocker
|
Posted: 05 February 2014 11:10 AM |
|
|
|
Hi Eric I have just upgraded to CT 2.5 and I am getting a couple of errors when clicking through to checkout.
I only see the errors as a logged in super admin.
On my live site I get this:
A Database Error Occurred You must use the "set" method to update an entry.
Filename: third_party/ct_admin/models/ct_admin_carts_model.php
Line Number: 358
And on a fresh install I get this:
A Database Error Occurred Error Number: 1054
Unknown column 'site_id' in 'field list'
UPDATE `exp_ct_admin_cart_items` SET `site_id` = '1', `item_options` = 'YToxOntzOjM2OiJjb25maWd1cmF0aW9uOnByaWNlX21vZGlmaWVyczpjb2xvdXIiO3M6NToiR3JlZW4iO30=', `quantity` = '1' WHERE `cart_id` = 'ec12c818d1fea05b8e754eb14cdd5075' AND `row_id` = 0
Filename: third_party/ct_admin/models/ct_admin_carts_model.php
Line Number: 179
Any ideas what that could be?
cheers Kenny
|
|
|
mithra62
|
Posted: 05 February 2014 03:45 PM |
# 1
|
|
Developer
|
Hi Kenny,
What version of CT Admin are you using? Those line numbers, and errors, don’t match up with anything in the current build so it’s impossible to track down. For example, the ct_admin_cart_items table has never had a site_id column and nowhere in teh code does it reference site_id so that’s really odd…
Eric
|
|
|
Kenny Stocker
|
Posted: 06 February 2014 05:15 AM |
# 2
|
|
|
Hi Eric I am on 1.6.1
I posted the error over to Chris Barrett and he said that he thought you were working on an update to CT Admin?
cheers Kenny
|
|
|
mithra62
|
Posted: 06 February 2014 03:13 PM |
# 3
|
|
Developer
|
Hi Kenny,
I’ve sent you the latest update that’s about to be released this week. It includes a fix for the site_id issue and should be good to go. Please let me know if you have any issues or questions.
Thanks,
Eric
|
|
|
Kenny Stocker
|
Posted: 07 February 2014 05:43 AM |
# 4
|
|
|
Hi Eric,
I just tried to run the update and got the following error:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: Addons_modules::$dbforge
Filename: ct_admin/upd.ct_admin.php
Line Number: 337
Fatal error: Call to a member function drop_table() on a non-object in *****/third_party/ct_admin/upd.ct_admin.php on line 337
|
|
|
mithra62
|
Posted: 07 February 2014 01:50 PM |
# 5
|
|
Developer
|
Gah! That’s what I get for just sending something without testing it…
Can you add the below right above line 337 and run it again?
$this->EE->load->dbforge();
|
|
|