admin_reply_ticket.php blank after upgrade

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
jgold723
Posts: 27
Joined: Wed Nov 04, 2009 6:27 pm

admin_reply_ticket.php blank after upgrade

Post 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
jgold723
Posts: 27
Joined: Wed Nov 04, 2009 6:27 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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)?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
jgold723
Posts: 27
Joined: Wed Nov 04, 2009 6:27 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
jgold723
Posts: 27
Joined: Wed Nov 04, 2009 6:27 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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.
Klemen
Site Admin
Posts: 10147
Joined: Fri Feb 11, 2005 4:04 pm

Re: admin_reply_ticket.php blank after upgrade

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
jgold723
Posts: 27
Joined: Wed Nov 04, 2009 6:27 pm

Re: admin_reply_ticket.php blank after upgrade

Post by jgold723 »

Yes, attachments were disabled and yes, the new files fixed the problem.

Many thanks!

John
Post Reply