Page 1 of 1
admin_reply_ticket.php blank after upgrade
Posted: Thu Aug 15, 2013 7:09 pm
by jgold723
Script URL:
http://www.sacomaine.org/helpdesk251
Version of script: 2.5.1
Hosting company: One World Hosting
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
I upgraded from 2.4.1 to 2.5.1. Upgrade appears fine, but when an admin attempts to answer a ticket and clicks "submit" to send their answer, all we get is a blank page. The URL of the page is:
admin/admin_reply_ticket.php
Re: admin_reply_ticket.php blank after upgrade
Posted: Thu Aug 15, 2013 7:15 pm
by jgold723
A clarification. This behavior happens when the "close ticket" box is checked and the admin submits a reply. Just submitting a reply works fine.
John
Re: admin_reply_ticket.php blank after upgrade
Posted: Thu Aug 15, 2013 7:29 pm
by Klemen
This works fine on my installation (local and server - demo on the website as well), so it is probably because the upgrade hasn't been done completely or files have been modified.
Can you try uploading original admin_reply_ticket.php again and see if that helps?
If not, do you get any error messages if you turn on debug mode in HESK settings (Settings > Help Desk tab > Features > Debug mode: ON)?
Re: admin_reply_ticket.php blank after upgrade
Posted: Thu Aug 15, 2013 8:37 pm
by jgold723
Uploading the file didn't help. Turning debug on generated this when I tried to submit with "close ticket" checked:
Fatal error: Call to undefined function hesk_removeAttachments() in /home3/sacoweb/public_html/helpdesk251/admin/admin_reply_ticket.php on line 131
Re: admin_reply_ticket.php blank after upgrade
Posted: Fri Aug 16, 2013 5:42 am
by Klemen
You are still using the old inc/attachments.inc.php file (from 2.4.2).
Upload all HESK 2.5.1 files to the server again (except hesk_settings.inc.php and header/footer).
Note that the 2.5.1 patch/diff files are only for upgrading from 2.5.0, not from 2.4.2
Re: admin_reply_ticket.php blank after upgrade
Posted: Fri Aug 16, 2013 11:00 am
by jgold723
Hi -- still doesn't work. I reuploaded all the files and I'm still getting the blank page when I check "close ticket"
Just an FYI -- I did the upgrade slightly differently from your method -- I created a new directory for 2.5.1 and copied my old database. I modifed the hesk settings file to point to the new database and the new directory. Then I ran the install program on the new directory.
Everything is working fine (so far) except for this function.
I did double-check the attachments.inc.php file and it says 2.5.1 on it.
Re: admin_reply_ticket.php blank after upgrade
Posted: Fri Aug 16, 2013 12:22 pm
by Klemen
Actually, you are right - it is a bug with 2.5.x, HESK tries to delete attachments even if you have attachments disabled (this is probably the case?).
Try uploading these files to the server and let me know if it fixes the issue for you:
http://www.hesk.com/extras/hesk25x_att_fix.zip
Re: admin_reply_ticket.php blank after upgrade
Posted: Fri Aug 16, 2013 12:31 pm
by jgold723
Yes, attachments were disabled and yes, the new files fixed the problem.
Many thanks!
John