Page 1 of 1

Can't execute SQL

Posted: Wed Jun 20, 2018 5:59 pm
by untuned
Here's the debug statement I get:

Image

Any way to fix this?

Re: Can't execute SQL

Posted: Wed Jun 20, 2018 6:02 pm
by mkoch227
Looks like you're missing the "assignedby" column, which was added in HESK 2.8. Did you update/install HESK 2.8.1 before installing/updating Mods for HESK?

Re: Can't execute SQL

Posted: Wed Jun 20, 2018 6:12 pm
by untuned
mkoch227 wrote: Wed Jun 20, 2018 6:02 pm Looks like you're missing the "assignedby" column, which was added in HESK 2.8. Did you update/install HESK 2.8.1 before installing/updating Mods for HESK?
Yes. Is that a problem?

Re: Can't execute SQL

Posted: Wed Jun 20, 2018 6:15 pm
by untuned
Also, this happened on a clean install.

Re: Can't execute SQL

Posted: Wed Jun 20, 2018 6:40 pm
by untuned
I was able to fix it by running this SQL query:

Code: Select all

ALTER TABLE `hesk_stage_tickets` ADD `assignedby` MEDIUMINT(8) NULL DEFAULT NULL AFTER `owner`;

Re: Can't execute SQL

Posted: Wed Jun 20, 2018 6:57 pm
by mkoch227
Ah, the stage tickets table..... I was thinking this was the regular tickets table. Well that's a bug then :P.