Script URL:
Version of script: 2.7.1
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I am upgrading HESK from veriosn 2.6.8 to 2.7.1 and getting following error:
Error:
Can't execute SQL: ALTER TABLE `hesk_tickets` CHANGE `closedby` `closedby` MEDIUMINT(8) NULL DEFAULT NULL
MySQL said:
Invalid default value for 'dt'
WARNING
Debug mode is enabled. Make sure you disable debug mode in settings once HESK is installed and working properly.
I have tried to copy source files and repeated the installation process again but stuck at same error.
Help is required here.
Farrukh.
Database Error while upgrading to HESK 2.7.1
Moderator: mkoch227
Database Error while upgrading to HESK 2.7.1
Last edited by farrukh on Mon Dec 05, 2016 8:52 am, edited 1 time in total.
Re: Database Error while upgrading to HESK 2.7.1
Can you try manually executing this SQL code (for example in phpMyAdmin or via SSH) and see if that fixes your issue and you can run the update then?
Code: Select all
ALTER TABLE `hesk_tickets` CHANGE `dt` `dt` timestamp NOT NULL DEFAULT '2000-01-01 00:00:00'
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: Database Error while upgrading to HESK 2.7.1
Hi Klemen,
This is perfect. The issue solved. Upgrade went smooth after manually executing the SQL.
Thankx and excellent support.
Farrukh.
This is perfect. The issue solved. Upgrade went smooth after manually executing the SQL.
Thankx and excellent support.
Farrukh.
Re: Database Error while upgrading to HESK 2.7.1
X2 worked for me too.
Another damn fine update!!
Another damn fine update!!