run this SQL (twice!), upload "/install" and run the insatllation - then ... blank.
Code: Select all
ALTER TABLE `hesk_users` DROP COLUMN `autorefresh`;
ALTER TABLE `hesk_tickets` DROP COLUMN `parent`;
ALTER TABLE `hesk_users` DROP COLUMN `can_manage_settings`;
ALTER TABLE `hesk_users` DROP COLUMN `active`;
ALTER TABLE `hesk_users` DROP COLUMN `notify_note_unassigned`;
ALTER TABLE `hesk_users` DROP COLUMN `can_change_notification_settings`;
DROP TABLE `hesk_settings`;
DROP TABLE `hesk_verified_emails`;
DROP TABLE `hesk_pending_verification_emails`;
DROP TABLE `hesk_stage_tickets`;
ALTER TABLE `hesk_service_messages` DROP COLUMN `icon`;
ALTER TABLE `hesk_tickets` DROP COLUMN `latitude`;
ALTER TABLE `hesk_tickets` DROP COLUMN `longitude`;
ALTER TABLE `hesk_stage_tickets` DROP COLUMN `latitude`;
ALTER TABLE `hesk_stage_tickets` DROP COLUMN `longitude`;
ALTER TABLE `hesk_categories` DROP COLUMN `manager`;
ALTER TABLE `hesk_users` DROP COLUMN `permission_template`;
DROP TABLE `hesk_permission_templates`;
DROP TABLE `hesk_denied_ips`;
DROP TABLE `hesk_denied_emails`;
DROP TABLE IF EXISTS `hesk_statuses`;
CREATE TABLE `hesk_statuses` (
`ID` int(11) NOT NULL,
`ShortNameContentKey` text NOT NULL,
`TicketViewContentKey` text NOT NULL,
`TextColor` text NOT NULL,
`IsNewTicketStatus` bit(1) NOT NULL DEFAULT b'0',
`IsClosed` bit(1) NOT NULL DEFAULT b'0',
`IsClosedByClient` bit(1) NOT NULL DEFAULT b'0',
`IsCustomerReplyStatus` bit(1) NOT NULL DEFAULT b'0',
`IsStaffClosedOption` bit(1) NOT NULL DEFAULT b'0',
`IsStaffReopenedStatus` bit(1) NOT NULL DEFAULT b'0',
`IsDefaultStaffReplyStatus` bit(1) NOT NULL DEFAULT b'0',
`LockedTicketStatus` bit(1) NOT NULL DEFAULT b'0',
PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
INSERT INTO `hesk_statuses` (`ID`, `ShortNameContentKey`, `TicketViewContentKey`, `TextColor`, `IsNewTicketStatus`, `IsClosed`, `IsClosedByClient`, `IsCustomerReplyStatus`, `IsStaffClosedOption`, `IsStaffReopenedStatus`, `IsDefaultStaffReplyStatus`, `LockedTicketStatus`) VALUES
(0, 'open', 'open', '#FF0000', CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0),
(1, 'wait_reply', 'wait_staff_reply', '#FF9933', CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0),
(2, 'replied', 'wait_cust_reply', '#0000FF', CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0),
(3, 'resolved', 'resolved', '#008000', CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('1', 2, 10) + 0),
(4, 'in_progress', 'in_progress', '#000000', CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0),
(5, 'on_hold', 'on_hold', '#000000', CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0, CONV('0', 2, 10) + 0);