Page 2 of 2
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 7:42 pm
by Klemen
@geekygemini - try the solution from my previous post, starting with "Aha, it's a problem with custom field values ..."
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 7:49 pm
by ivoreis
I know, I took on purpose to see if it worked, but had already been tested with all.
http://www.ciasoftware.com.br/temp/img2.gif
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 7:56 pm
by Klemen
I'm out of ideas then here...
Would it be possible for me to have FTP access to your help desk and run some tests? If you are willing to give me access (at least FTP, best would be FTP + MySQL (phpMyAdmin)) feel free to send me a private message.
I may not be able to do it today though, probably tomorrow. In the mean time you could restore your version 2.3 backup.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 8:19 pm
by geekygemini
The error I am getting is this on ticket submission:
Error:
Can't execute SQL: SELECT `autoassign` FROM `hesk_categories` WHERE `id`=8 AND `type`='0' LIMIT 1
MySQL said:
Unknown column 'autoassign' in 'field list'
WARNING
Debug mode is enabled. Make sure you disable debug mode in settings once HESK is installed and working properly.
and on ticket reply:
Error:
Can't execute SQL: UPDATE `hesk_tickets` SET `status`='2',`lastreplier`='1',`replierid`='4',`time_worked` = ADDTIME(`time_worked`,'00:00:00') WHERE `id`=625 LIMIT 1
MySQL said:
Unknown column 'time_worked' in 'field list'
WARNING
Debug mode is enabled. Make sure you disable debug mode in settings once HESK is installed and working properly.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 8:22 pm
by Klemen
You don't have database updated to version 2.4, make sure you follow "Upgrade from old HESK version" instructions in the readme.html file to the point!
Before doing that close all browser windows to reset sessions.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 8:33 pm
by geekygemini
I did update it. In fact, when I try to reinstall the upgrade, it says
Testing database connection...success
Installing database tables... ERROR: 2.4 MySQL tables exist.
Your Hesk has already been updated to version 2.4. Click here to continue.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 13, 2012 9:20 pm
by geekygemini
Is there a .sql file of all the new/changed tables for 2.4?
Re: Can't create New Ticket or add answer after update 2.4
Posted: Tue Aug 14, 2012 10:40 am
by Goue1
Hi Klemen,
I test save hesk_setting.inc in UTF-8 (BOM)... delete all beetwen $hesk_settings['custom_fields']=array ( and );
I have always this issue....
have you other idea?
for info I tryre update hesk version because after first update in parameters Hesk version is sitll 2.3
when I try re update I have an issue where wizard say me Error SQL : you are still in 2.4...
Re: Can't create New Ticket or add answer after update 2.4
Posted: Tue Aug 14, 2012 1:25 pm
by Klemen
@geekygemini
That doesn't make sense - the database isn't updated because fields are from 2.3, but the hesk_pipe_loops table exists??
Did you perhaps change database settings or table prefix after updating?
The SQL code is inside "install/update.php" file starting with
You can try manually running the code from below $sql = array(); to see if that helps.
@Goue1
I'm running out of ideas here. Would it be possible for me to have FTP access to your help desk and run some tests? If you are willing to give me access to your help desk (at least FTP, best would be FTP + MySQL (phpMyAdmin)) feel free to send me a private message with info.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Tue Aug 14, 2012 2:18 pm
by Goue1
I can't give you an FTP Access...
but I can upload you all the directory if you want
Re: Can't create New Ticket or add answer after update 2.4
Posted: Tue Aug 14, 2012 2:34 pm
by Klemen
No problem, but I'm not sure how I can help further.
You have the same files as me, so it must be a server-side problem, most likely encoding-related. This is not something I can debug on my server as I cannot repeat the issue here (different settings).
Your best bet would be to go back to version 2.3 until this is figured out.
Re: Can't create New Ticket or add answer after update 2.4
Posted: Sat Aug 18, 2012 10:23 am
by Klemen
Found the problem - it was because a required function was missing in PHP prior to version 5.2.0
To fix this issue update your HESK to version 2.4.1 (just released).
Re: Can't create New Ticket or add answer after update 2.4
Posted: Mon Aug 20, 2012 8:41 am
by Goue1
Hi Klemen,
Thanks for your update!!
It works great now!
Thanks a lot for your job!