Trying to Delete a site:
A Database Error Occurred
Error Number: 1054
Unknown column 'site_id' in 'where clause'
DELETE FROM `exp_file_dimensions` WHERE `site_id` = '2'
Filename: controllers/cp/sites.php
Line Number: 2077This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 13, 2012 2:44pm
Subscribe [1]#1 / Aug 13, 2012 2:44pm
Trying to Delete a site:
A Database Error Occurred
Error Number: 1054
Unknown column 'site_id' in 'where clause'
DELETE FROM `exp_file_dimensions` WHERE `site_id` = '2'
Filename: controllers/cp/sites.php
Line Number: 2077#2 / Aug 14, 2012 5:05pm
Hi AirWatch,
Looks like the first issue you’re facing is fixed in the upcoming release of EE.
Regarding the second issue, could you run an SQL for me and post the results back here? Go to Tools > Data > SQL Manager, and click on Database Query Form. Then run this query:
DESCRIBE exp_file_dimensions`;And paste the results back here! (You can take a screenshot of the results if you like.)
#3 / Aug 14, 2012 5:13pm
Attached file. Thanks!
Also, just before you replied I removed part one of my post since I wanted to keep this focused on the deleting part of the issue.. sorry about that.
#4 / Aug 15, 2012 3:12pm
Hi AirWatch,
What version of ExpressionEngine and MSM are you using?
Cheers,
#5 / Aug 15, 2012 3:19pm
EE 2.5.2 and MSM 2.1.3
#6 / Aug 16, 2012 1:35pm
Yep, definitely a field missing from your database that should be there.
When you were updating from a previous version, do you recall experiencing any errors during the update?
Be on the lookout for an email from me. I want to get a first-hand look at your database to check it’s integrity.
#7 / Aug 17, 2012 1:05pm
Just posting a note here to let onlookers know that we’re working with AirWatch privately on this for the time being. I’ll post an update back here once we have something to share!