Page 1 of 1

Internal script error: No orig_subject

Posted: Sat Dec 08, 2007 9:23 pm
by vonedaddy
Script URL: http://injector-rehab.com/frontdesk
Version of script: 0.94.1
Hosting company: APlus.net
URL of phpinfo.php: http://www.injector-rehab.com/phpinfo.php
URL of session_test.php: Dont know
What terms did you try when SEARCHING for a solution:
Internal script error: No orig_subject

Write your message below:


I have changed the fields a little on the script to match my needs. I removed the subject line as it was no use to me in this application. Now I can not reply to tickets because it gives me this error:

Internal script error: No orig_subject

I imagine the script is looking for a subject, but there is none. Can I bypass this in some way, or make the script ignore the fact that there is no email? It would be even better if I could use the ticket number as the subject instead, matter of fact that would be AWESOME.

Thanks

Posted: Sun Dec 09, 2007 3:02 am
by Klemen
You need to be careful when changing field names. Try changing

Code: Select all

$orig_subject=hesk_input($_POST['orig_subject'],"$hesklang[int_error]: No orig_subject");  
to

Code: Select all

$orig_subject=hesk_input($_POST['orig_subject']);  
in admin_reply_ticket.php

Posted: Sun Dec 09, 2007 3:03 pm
by vonedaddy
Is there a way I can have the ticket # as the email subject?

BTW, that fixed my issue, thanks for the awesome support.

Posted: Sun Dec 09, 2007 4:53 pm
by Klemen
It's been a post here before about editing e-mail subject, try searching and reading old posts a little.