[LOCKED] Mods for HESK "archive" Thread

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

coinwall
Posts: 1
Joined: Wed Jan 28, 2015 9:14 pm

Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0

Post by coinwall »

I have this problem with clean install hesk 2.5.5 + mods 1.7.0 from github:

Code: Select all

Can't execute SQL: SELECT `t1`.`id`,`t1`.`user`,`t1`.`name`, `t1`.`email`, `t1`.`language`, `t1`.`isadmin`, `t1`.`categories`, `t1`.`notify_assigned`, `t1`.`heskprivileges`, (SELECT COUNT(*) FROM `hesk_tickets` FORCE KEY (`statuses`) WHERE `owner`=`t1`.`id` AND `status` IN ('0','1','2','4','5') ) as `open_tickets` FROM `hesk_users` AS `t1` WHERE `t1`.`autoassign`='1' ORDER BY `open_tickets` ASC, RAND()
MySQL said:
Key 'statuses' doesn't exist in table 'hesk_tickets'
Cheers
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: [UPDATED Jan-05-2015] Mods for HESK v1.7.0

Post by mkoch227 »

This issue will be fixed in 2.0.0. For now, execute this query:

Code: Select all

ALTER TABLE `hesk_tickets` ADD KEY `statuses` (`status`)
Where "hesk_" is your table prefix.
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
Locked