cron.php not running via crontab, manual execution & AutoCron working fine.
Intermitted problem auth.token validation.
Hi,
I may found an issue with the Auth link (%{recipient.ticket_link} in the templates) that is send to customers. Most of them are working e.g.
(e.g. auth=o1xdeaaaacuaaaaav7VnKmjLfy0ysQ%3D%3D) but a few do not authenticate (e.g. auth=o1xdaaaaacvaaaaaA77BapN9u%2BuZyA%3D%3D).
I have no clue where to look for this issue. What I gathered from the files is that de decode is done with positions in the auth sting to gather db ticket ids and user id. I was hoping if I could 'debug' the auth decode process to see what happens to the ticketid.
I do see that the 5th character is different 'e' and 'a', the 11th character 'u' and 'v' and probably the coded ticket number started from the last 'aaaaa'.
My best guess is that the next character is also an 'a' (although uppercase), that a regex or strpos is possibly done on those 5*a (however case insensitive) resulting in a wrong offset? I tried look into the class.auth.php to determine the code, but failed to do that in a timely fashion.
I imagine that you are the best person to ask how to proceed with this issue I have, or how to debug the process?
I do not know if other people see or get feedback from customers about this?
osTicket Version v1.10 (901e5ea)
Web Server Software Apache/2.4.10 (Debian)
MySQL Version 5.5.54
PHP Version 7.0.17-1~dotdeb+8.1
only 'mod/addition':
nl — include/i18n/nl.phar Version: 148287, for version v1.10 Built: Fri, 13 Jan 17 17:13:57 +0000)
Best regards,
Thonal
Time zone Issue
osTicket Version | v1.10 (901e5ea) — Up to date |
Web Server Software | |
MySQL Version | |
PHP Version |
Time zone is properly set in server & also in the OS ticket but we are still getting 1 hr diff
for example : if the time is 11:30 AM IST
its showing 10:30 AM IST
Please help as unable to get correct time stamp on tickets !
SLA per organization and severity
Is there a way to setup a configuration where the SLA is set by organization and by severity?
For sample, we have a Organization 1 that they asked for the SLA based on severity like High 1 week, Medium 2 weeks and Low 4 weeks and the Organization 2 where the SLA also should be based on severity like this High 4 weeks, Medium 8 weeks and low 6 weeks.
Thanks for any suggestion.
Line Break characters showing up in custom forms
OSTicket v1.10 Merge / Duplicate Ticket mods attached
Disable search auto-complete pulldown

Server Information | |
---|---|
osTicket Version | v1.10 (901e5ea) — Up to date |
Web Server Software | Apache/2.2.15 (CentOS) |
MySQL Version | 5.5.54 |
PHP Version | 5.6.30 |
Mod: Sound on New Ticket
I had already added the Age of Tickets mod and this mod piggybacks on the work that Scottro did in this thread:
http://osticket.com/forums/showthread.php?t=2619
In tickets.include.php find:
<!--<td align=\"center\" nowrap><?=Format::db_date($row['created'])?></td>-->
<td class=\"nohover\" align=\"center\" >
<?
$diff =$row['timeopen'];
$min = \"min\";
$mins = \"mins\";
$hours = \"hours\";
$hour = \"hour\";
$day = \"day\";
$days = \"days\";
if ( $diff <= 1 ){
print ($diff . \" \" . $min);
}elseif ( $diff > 1 && $diff <= 59 ){
print ($diff . \" \" . $mins);
}elseif ( $diff >= 60 && $diff <= 119 ){
$diff = round($diff / 60);
print (1 . \" \" . $hour);
}elseif ( $diff >= 120 && $diff <= 1439 ){
$diff = round($diff / 60);
print ($diff . \" \" . $hours);
}elseif ( $diff >= 1440 && $diff <= 2879 ){
print (1 . \" \" . $day);
}elseif ( $diff >= 2880 ){
$diff = round($diff / 1440);
print ($diff . \" \" . $days);
}else {};
?>
</td>
now add this before the final tag
<? if ( $diff < 1 ){ ?> <embed src=\"beep.wav\" width=\"0\" height=\"0\" autoplay=\"true\"></embed> <?}?>
Make sure you change "beep.wav" to the url of the sound you want to use. For me, I just dropped my wav file into the SCP folder.
Basically, what this does is looks to see if a ticket has an age of zero minutes when the age of the ticket is calculated. If it does, it will play the sound. Keep in mind that if more than one ticket has an age of zero after the page refreshes multiple sounds will play. This is fine for my situation, but may not work for you if you have a high volume of tickets.
Here is a link to the sound I use, which is only 1K. (found via google)
http://buggerluggs.tripod.com/wavs/blip1.wav
Add Colums in v1.10
How can i add status and department on the SCP agent FrontPage ? I can see in the tickets.inc.php the colums are definded.
Email messages are cut in the beginning
IMAP is used for emails
In the mailbox which is used by osTicket there are emails from the mailer-deamon with errors for wrong email addresses. They are result from email messages which are sent to recipients by another script and the recipients' email addresses are wrong. When such messages are received , osTicket fetches them but also cut them in the beginning.
- Here is how the email is fetched in the osTicket: http://nimb.ws/IXUGqu
- Here is how the email looks like in the email box: http://nimb.ws/Chomxj
Could you help me:
- How the email messages are cut?
- I would like to set the system to fetch the whole email only when it is send by particular email address. How to do this?
osTicket-v1.9.15 Prefix already in-use
Hi everyone,
I imported the existing database of OS from the current hosting to a new hosting. While installing, I encountered an error message that says, Prefix is already in-use. On my control panel, I have two databases together. The 2nd database does not have this prefix.
I changed the first database's prefix and still get the similar message. I hit F5 and retype the info with all over again. This time I changed the prefix. Nothing work. Please help. Thank you for your time.
"Valid CSRF Token Required" on login.php agent page
Identify a ticket based on the parameters
Time issue




