Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#16) Old
netFusion Offline
Member
 
Posts: 343
Join Date: Sep 2003
Location: My wife calls it the doghouse...
15-04-2007, 06:12 AM

Just an FYI, my ticket on this issue has not been updated either.

I've been watching the Change log since the announcement that it was fixed in the CVS, but there has not been anything posted to the change log about it either...

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#17) Old
Jamie Edwards Offline
Operations Manager
 
Jamie Edwards's Avatar
 
Posts: 5,660
Join Date: Jan 2006
Location: United Kingdom
15-04-2007, 11:52 AM

Hi Eddie,

I believe it has actually been fixed in the CVS but not added to the build log. However, I am not 100% on this one, but can make sure on Monday. Sorry you have not received a patch yet - so many requests have come into the desk for it that the the developers have lost track of who has the patch and who has not.


Jamie Edwards (jamie.edwards ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#18) Old
Manhandle Offline
New Member
 
Posts: 7
Join Date: Apr 2007
Gotit!!!!! - 15-04-2007, 05:46 PM

This whole thing IS due to the 1 file: functions_ticketmain.php.
The original with the 3.10.02 upgrade has the flaw of Staff Ticket creations having the wrong Queue and name. The new Updated one fixed that, but broke the User autoresponder.

I guess someone down the line forgot to edit the new one and take it out of the "Lab" environment. I found the following 2 lines in the "Updated" functions_ticketmain.php file need correcting to resolve this whole thing.


* Get the Return Email address
line 200: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

* Get the Return Name
line 242: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

Hope this helps.
BTW. If you dont have the new functions_ticketmain.php file. You can get it by downloading the latest CVS package and extracting only that file from the "upload/modules/tickets" folder. (Check those settings!!!!!)

I'm sure someone will figure it all out....... eventually.

Last edited by Manhandle; 15-04-2007 at 05:49 PM..
   
Reply With Quote
  (#19) Old
netFusion Offline
Member
 
Posts: 343
Join Date: Sep 2003
Location: My wife calls it the doghouse...
17-04-2007, 02:02 AM

Quote:
Originally Posted by Manhandle View Post
This whole thing IS due to the 1 file: functions_ticketmain.php.
The original with the 3.10.02 upgrade has the flaw of Staff Ticket creations having the wrong Queue and name. The new Updated one fixed that, but broke the User autoresponder.

I guess someone down the line forgot to edit the new one and take it out of the "Lab" environment. I found the following 2 lines in the "Updated" functions_ticketmain.php file need correcting to resolve this whole thing.


* Get the Return Email address
line 200: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

* Get the Return Name
line 242: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

Hope this helps.
BTW. If you dont have the new functions_ticketmain.php file. You can get it by downloading the latest CVS package and extracting only that file from the "upload/modules/tickets" folder. (Check those settings!!!!!)

I'm sure someone will figure it all out....... eventually.
Interestingly enough, I downloaded the latest CVS and extracted that file last night (4/15/07). Line 200 and 242 in last nights CVS look exactly like you have show above, but do not have the "!" in front of "empty(" on both lines. Perhaps Mahesh is trying to troubleshoot those two lines by altering the logic of the statements as well.

I did change the -1 to a 0 and sure enough, it does send the message using the correct value for name and email address now.

I don't know what the -1 value is supposed to be checking for in the code, but those two lines definitely seem to be tripping it up.

THANK YOU for finding this and sharing it!!!

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...

Last edited by netFusion; 17-04-2007 at 02:05 AM..
   
Reply With Quote
  (#20) Old
Mahesh Slaria Offline
Member
 
Posts: 182
Join Date: Jul 2006
17-04-2007, 05:47 AM

Hi,

Thanks Manhandle for sharing. I did some more modifications and it is working fine now. I will push this fix in CVS today.

Regards,

Last edited by Mahesh Slaria; 17-04-2007 at 07:01 AM..
   
Reply With Quote
  (#21) Old
hbox Offline
New Member
 
Posts: 3
Join Date: Apr 2007
Question 30-04-2007, 03:54 AM

Quote:
Originally Posted by Manhandle View Post
This whole thing IS due to the 1 file: functions_ticketmain.php.
The original with the 3.10.02 upgrade has the flaw of Staff Ticket creations having the wrong Queue and name. The new Updated one fixed that, but broke the User autoresponder.

I guess someone down the line forgot to edit the new one and take it out of the "Lab" environment. I found the following 2 lines in the "Updated" functions_ticketmain.php file need correcting to resolve this whole thing.


* Get the Return Email address
line 200: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

* Get the Return Name
line 242: } else if ($emailqueueid == -1 && !empty($_SWIFT["staff"]["staffid"])) {

Replace the -1 with 0 (zero)

Hope this helps.
BTW. If you dont have the new functions_ticketmain.php file. You can get it by downloading the latest CVS package and extracting only that file from the "upload/modules/tickets" folder. (Check those settings!!!!!)
Hello,

i'm pretty new to the Helpdesk Sytem so sorry for may a stupid question here.
How i can change the file ? When i try to open that file it says its a binary file ? May you can post a small hint what i'm missing.

Herb
   
Reply With Quote
  (#22) Old
netFusion Offline
Member
 
Posts: 343
Join Date: Sep 2003
Location: My wife calls it the doghouse...
30-04-2007, 04:23 AM

Quote:
Originally Posted by hbox View Post
Hello,

i'm pretty new to the Helpdesk Sytem so sorry for may a stupid question here.
How i can change the file ? When i try to open that file it says its a binary file ? May you can post a small hint what i'm missing.

Herb
You must have an owned license to be able to edit the source code. If you are on the hosted service or have a leased license, then I believe the source for that file will be encrypted.

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
  (#23) Old
hbox Offline
New Member
 
Posts: 3
Join Date: Apr 2007
30-04-2007, 06:13 AM

Quote:
Originally Posted by netFusion View Post
You must have an owned license to be able to edit the source code. If you are on the hosted service or have a leased license, then I believe the source for that file will be encrypted.

Eddie
Hi,

we own the license. Just in case i used the "unowned" license files to install, whats the easiest way to change to the owned one ?

Herb
   
Reply With Quote
  (#24) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,953
Join Date: Aug 2006
Location: Mumbai, India
30-04-2007, 06:38 AM

By unowned do you mean leased license?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#25) Old
hbox Offline
New Member
 
Posts: 3
Join Date: Apr 2007
30-04-2007, 07:49 AM

Quote:
Originally Posted by supportskins View Post
By unowned do you mean leased license?
Yes, we own a license but i used the files we was provide by Kayako before we bought it.
   
Reply With Quote
  (#26) Old
netFusion Offline
Member
 
Posts: 343
Join Date: Sep 2003
Location: My wife calls it the doghouse...
01-05-2007, 04:55 AM

Quote:
Originally Posted by hbox View Post
Yes, we own a license but i used the files we was provide by Kayako before we bought it.
Then I assume you are using the files from your "Leased" license rather than your "Owned" license that you purchased. In that case, log in to your Kayako members area and download the product zip file from there.

Unzip it and either install it or, if you are currently running the same version, just take the one file that you need, edit it, and then copy it over the top of the encrypted one that is in your SupportSuite directory.

Delete the .PHP files that have the long random numbered names out of your cache folder, and you are all set.

Keep in mind that Kayako recommends against running CVS files on production servers. Since Kayako has not committed this fix to a stable build yet, it is not a supported fix yet, and you use at your own risk.

Regards,

Eddie


netFusion Computer and Network Solutions
Web Site: http://www.netFusionKC.com
Web Store: https://www.netfusionkc.com/store/

Anything I say or do is my own opinion and may make absolutely no sense to anyone but me...
   
Reply With Quote
Reply

Tags
autoresponder, broken, name or email, wrong

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Help desk software by Kayako.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48