I attempted to upgrade from version 2.3 to 2.4 and saw there were some on going bugs, so I waited until the release of 2.4.1. The 2.4.1 upgrade appears to be successful. But when administrative settings are saved, resulting in the following:
Error:
Tables not found:
hesk_pipe_loops
Non logged in users landings on the home page get the following:
Error:
Can't execute SQL
Please notify webmaster at
Nor can administrators create new tickets, which result in the same message as the home page. Though existing tickets can be accessed and edit.
HESK upgrade from 2.3 to 2.4.1
Moderator: mkoch227
Re: HESK upgrade from 2.3 to 2.4.1
Looks like your database wasn't updated to 2.4.1.
Did you run the install/upgrade script as instructed in step-by-step guide?
Did you run the install/upgrade script as instructed in step-by-step guide?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: HESK upgrade from 2.3 to 2.4.1
Yes, steps 1-7. Although I would occasionally forget to delete/rename the install directory before clicking the 'Click here to login automatically' button and would get the 'Please delete the install folder from your server for security reasons then refresh this page!' message. Deleting/removing the install directory after attempting to login, is too late to get the upgrade to complete successfully.Klemen wrote:Did you run the install/upgrade script as instructed in step-by-step guide?
Upon following that IMPORTANT step, which is there in bold red letters, it appears to working. Maybe some logic can be added to prevent that before proceeding to the login.
Re: Upgrade from 2.3 to 2.4.1 'Can't execute SQL' [RESOLVED]
Klemen, turns out the problem was a permission issue with the user mysql and /tmp, so all is well now.
chmod 1777 /tmp
--
tbt
For those getting 'Can't execute SQL', check to make sure your mysql user has the correct permissions:The debug info:
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` WHERE `owner`=`t1`.`id` AND `status` != '3') as `open_tickets` FROM `hesk_users` AS `t1` WHERE `t1`.`autoassign`='1' ORDER BY `open_tickets` ASC, RAND()
MySQL said:
Can't create/write to file '/tmp/#sql_723_0.MYI' (Errcode: 13)
chmod 1777 /tmp
--
tbt
Re: HESK upgrade from 2.3 to 2.4.1
Glad to hear you fixed it!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools