Ask not what osTicket community can do for you - ask what you can do for osTicket community

Go Back   osTicket Forums > osTicket 1.6.x > Mods and Customizations

Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 02-18-2010, 04:33 PM
underpope underpope is offline
Junior Member
 
Join Date: Aug 2009
Posts: 13
Default

I've installed this mod and the two additional mods that are required for this one to work, and I continue to receive this DB error when submitting a ticket:

SELECT staff_id FROM ost_help_topic_auto_assign WHERE dept_id= AND topic_id=

which looks like it's being thrown in topicautoassign.inc.php; it seems the values of $dept_id and $topic_id are not being passed.

Any thoughts on how to approach this one?
Reply With Quote
  #12  
Old 06-15-2010, 04:49 AM
valentin.marzac valentin.marzac is offline
Junior Member
 
Join Date: May 2009
Posts: 8
Default errors

gettiinh the same errors
Reply With Quote
  #13  
Old 08-21-2011, 02:45 AM
masino_sinaga masino_sinaga is offline
Senior Member
 
Join Date: Apr 2009
Location: Bandung, Indonesia
Posts: 670
Send a message via Yahoo to masino_sinaga
Lightbulb Please re-apply the mod

@valentin.marzac,
@underpope,
@eddieburroughs,

Please re-apply this mod especially the step number 5 and 7. I have found the causes, it seems there are some lines of code that are missing. Now they have already there. Sorry for the inconveniences.

Sincerely,
Masino Sinaga
P.S.: That mod also works fine in 1.6 ST as I have just tested it a few minutes ago.

Last edited by masino_sinaga; 08-21-2011 at 10:22 AM. Reason: Replacing "incoveniences" with "inconveniences"
Reply With Quote
  #14  
Old 02-14-2012, 08:38 AM
gulatinaveen gulatinaveen is offline
Junior Member
 
Join Date: Dec 2010
Posts: 5
Default is this MOD for v1.6 ST as well

@ Masino

Hey,

will this MOD work on v1.6ST as well??

Regards
Naveen
Reply With Quote
  #15  
Old 03-09-2012, 12:40 PM
ZeroEffect ZeroEffect is offline
Member
 
Join Date: Sep 2011
Posts: 43
Unhappy Still having issues.

Quote:
Originally Posted by masino_sinaga View Post
@valentin.marzac,
@underpope,
@eddieburroughs,

Please re-apply this mod especially the step number 5 and 7. I have found the causes, it seems there are some lines of code that are missing. Now they have already there. Sorry for the inconveniences.

Sincerely,
Masino Sinaga
P.S.: That mod also works fine in 1.6 ST as I have just tested it a few minutes ago.
I have just installed this MOD using the link above. and I am receiving the following error messages.

Code:
[SELECT topic_id, topic FROM ost_help_topic WHERE topic_id=]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

[SELECT staff_id, firstname, lastname FROM ost_staff WHERE dept_id =  ORDER BY staff_id]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY staff_id' at line 1

[SELECT dept_id,dept_name FROM ost_department WHERE dept_id=]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
This is happening when I try to apply the selected user.

I am going to go through the steps again.

Thanks for your help

ZeroEffect
Reply With Quote
  #16  
Old 03-09-2012, 01:49 PM
ZeroEffect ZeroEffect is offline
Member
 
Join Date: Sep 2011
Posts: 43
Default

I am using version 1.6ST It looks like this issue is when the data is read from the data base. The table that the help topics are listed in is not correct.

Still hunting this down.

Thanks

ZeroEffect
Attached Images
File Type: jpg tableerror.jpg (29.6 KB, 7 views)
Reply With Quote
  #17  
Old 03-09-2012, 03:37 PM
ZeroEffect ZeroEffect is offline
Member
 
Join Date: Sep 2011
Posts: 43
Default

Quote:
Originally Posted by ZeroEffect View Post
I have just installed this MOD using the link above. and I am receiving the following error messages.

Code:
[SELECT topic_id, topic FROM ost_help_topic WHERE topic_id=]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1

[SELECT staff_id, firstname, lastname FROM ost_staff WHERE dept_id =  ORDER BY staff_id]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY staff_id' at line 1

[SELECT dept_id,dept_name FROM ost_department WHERE dept_id=]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
This is happening when I try to apply the selected user.

I am going to go through the steps again.

Thanks for your help

ZeroEffect
Ok I have found the problem but don't know how to fix it. Using myphpadmin I ran the above command and got the same message. I ran it again adding a department ID.

Code:
SELECT dept_id,dept_name FROM ost_department WHERE dept_id='Engineering'
and it worked perfectly. Looks like the problem is the variable for the "WHERE" statement is empty. I'm trying to locate how to fix that.
Reply With Quote
  #18  
Old 03-14-2012, 01:47 PM
stacehamilton stacehamilton is offline
Junior Member
 
Join Date: Mar 2012
Posts: 6
Default

Does anyone have this working fully? I have performed the mod as well as the two prerequisite mods numerous times and still have trouble. Would love to have this capability. thank you.
Reply With Quote
  #19  
Old 03-14-2012, 03:36 PM
ZeroEffect ZeroEffect is offline
Member
 
Join Date: Sep 2011
Posts: 43
Red face Currently it works for me but....

Quote:
Originally Posted by stacehamilton View Post
Does anyone have this working fully? I have performed the mod as well as the two prerequisite mods numerous times and still have trouble. Would love to have this capability. thank you.
Currently this does work for me but I get three emails every time I setup an auto assign or when someone submits a ticket. Telling me about the errors I mentioned above. I'll be able to move forward once this is resolved.

ZeroEffect
Reply With Quote
  #20  
Old 03-19-2012, 04:50 PM
ZeroEffect ZeroEffect is offline
Member
 
Join Date: Sep 2011
Posts: 43
Default

*****Update*****
I noticed that I did not do the help topic mod. I followed the steps of the help topic mod and now the auto assign does not work. Side note I could not complete step 2 of the help topic mod. The lines I was asked to change are not in that document. (OST1.6ST) I have gone back and removed the help topic mod and still auto assign is not working. Rolling back to the setup I had before the auto assign mod and try again.

Out of all the MOD this is the one I wanted the most. I hope this can be resolved.

ZeroEffect
Reply With Quote


Reply

Bookmarks

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

Forum Jump


All times are GMT -4. The time now is 05:39 PM.