Quantcast
Channel: Recent Discussions on osTicket Forums
Viewing all 7550 articles
Browse latest View live

Adding Reports To Organizations

$
0
0
Hi, Guys...
I'm using osTicket 1.10 and sadly it is missing an Organization report, like how many ticket are opened and closed per organizations.

This is my first attempt on modifying codes and to be honest I'm not that good about coding. What I'm about to do is adding report below the organization details like this:


image

And then when we clicked the Reports tab, it will show this tabular data:


image


First thing to do, I'm adding the tab menu on 'org-view.inc.php'. Go to line 78-87 and then add Report tab below the Notes tab like this:

<ul class="clean tabs" id="orgtabs">
    <li class="active"><a href="#users"><i
    class="icon-user"></i>&nbsp;<?php echo __('Users'); ?></a></li>
    <li><a href="#tickets"><i
    class="icon-list-alt"></i>&nbsp;<?php echo __('Tickets'); ?></a></li>
    <li><a href="#notes"><i
    class="icon-pushpin"></i>&nbsp;<?php echo __('Notes'); ?></a></li>
    <li><a href="#reports"><i
    class="icon-bar-chart"></i>&nbsp;<?php echo __('Report'); ?></a></li>
</ul>

and then we will include the template data for the Report below the Notes template on line 100-106 like this:

<div class="hidden tab_content" id="notes">
<?php
$notes = QuickNote::forOrganization($org);
$create_note_url = 'orgs/'.$org->getId().'/note';
include STAFFINC_DIR . 'templates/notes.tmpl.php';
?>
</div>

<div class="hidden tab_content" id="reports">
<?php
include STAFFINC_DIR . 'templates/org-report.tmpl.php';
?>
</div>



Next, go to 'include/staff/templates' and create a new file 'org-report.tmpl.php'.

Now, at the moment I'm extremely confused since I don't know how osTicket linked (or JOIN) ticket ID with the associated organization ID, I can't find the exact code showing that. After checked out the database table, no org_id field on the ticket's table, so how did the osTicket know which ticket belongs to specific organization?

TO BE CONTINUED (I'm hungry, and I will post again after experimenting some codes)

Add Department Column to 1.10 Stable Ticket View?

$
0
0
Hello All,

I've seen directions for this covering the previous release and the 1.10 RCs but the code in tickets.inc.php seems to have changed a bit and I'm unsure what to change/add and where to do so. Can anyone help?

P.S. I know "Custom Queues" is an upcoming feature for the next release, but we would prefer to have this sooner than later.

Different SLA for Tasks and Tickets

$
0
0
Hi,

How can I activate separate SLA for Tasks and Tickets? Basically, I want to get an email notification 15mins (or any other per-defined time span) before a certain Task due date is about to approach.
If it can be hard-coded then also, I am OK with it... Please help!!!
OSTICKET VERSION: 1.10(901e5ea)
WEB SERVER: Apache 2/4/18 (Ubuntu)
MYSQL: 5.7.17
PHP version: 7.0.15-0ubuntu0.16.04.4



Time issue

$
0
0
Ever since DST started,  all of our ticket time stamps have been behind by one hour.   My users reside in a timezone that does not do DST.   As far as I can tell my time settings are consistently set,  so I'm hoping to gain some insight into what I may have overlooked.  

Here's some relevant information about our installation.  Note that PHP settings reflect timezone of "America/Phoenix" which is correct.  The database timezone shows MST (Interpreted as America/Denver) which could certainly be part of the problem:
image

Default timezone is set to America/Phoenix:
image

As you might expect,  PHP.ini has the timezone set:
image

Here are my server time settings:
image

Originally I did not have a timezone set explicitly on MYSQL so it defaulted to SYSTEM.  Thinking this might have been part of the issue I set the zone to -07:00 in my.cnf:
image

However this has not made any impact on the time setting reflected on the dashboard or in the tickets themselves (all services have been restarted).   Any suggestions on where I need to focus my efforts would be greatly appreciated.

Error attach file

$
0
0
I try to attach file on my ticke (fil is PDF or DOCX) and I see this message

File is too large undefined

I try to change on settings but i doesn't work

[resolved] Export Link in Tickets page not working

Error connecting to LDAP

$
0
0
osTicket version            v1.10 (901e5ea) — Up to date
Server Software Web     Apache/2.4.10 (Debian)
MySQL version              5.5.43
PHP version                  5.6.7-1

Error encountered when connecting to ldap:

PHP
Fatal error:  Call to a member function rootDse() on null in
phar:///var/www/html/osticket/upload/include/plugins/auth-ldap.phar/authentication.php
on line 259, referer: http://localhost/scp/login.php

Help me please!

Keyboard Shortcuts Feature Request

$
0
0
Would be nice to be able to press single letter keys to jump cursor focus and change pages while the cursor focus is not inside an <input> or <textarea>. This would allow single letter keyboard shortcuts while still being able to type inside forms.

For example, pressing "n" would open the New Ticket page.
"r" to jump cursor focus to Post Reply
"i" to jump cursor to Internal Note
"u" to jump to User Directory
and so on...

Something like this: http://www.openjs.com/scripts/events/keyboard_shortcuts/
I have played around making shortcuts in JS and was able to get some working but hit a wall trying to get the shortcuts to disable while cursor is inside redactor wysiwyg.

These shortcuts would allow for speedy ticket creation, note entry, and user lookups.

Not Receiving Tickets In My Gmail Inbox

$
0
0
Hello everybody!

Thank you for your help beforehand!

I'm having issues receiving tickets in my Gmail inbox as it's been set for almost two years. Everything was working perfectly until now.
I just stopped receiving them in my inbox but I can still see them on the osTicket dashboard; though, it's a lot more comfortable for me to get the on Gmail.

I really hope you guys can help me with this, I appreciate your help.

Thanks!

auth-passthru troubleshooting?

$
0
0
Hello,

New to OST and just trying to setup authorisation for agents. We're running OST on Apache/Debian and Apache is configured with our own internal authentication system that uses a cutom module in Apache and statements in .htaccess to protect directories. I've configured the system to go out and authenticate when someone tries to access /scp and it does this correctly - the user gets redirected to the sign-in page of the authenticator and once authenticated returned to OST. I've then installed the OST auth-passthru plug-in, enabled and set for agent login only. However even a successfully authenticated user still gets directed to the OST agent login screen and has to login using OST credentials - the username doesn't seem to be being passed to OST (at least not to the login screen). I've tested and the PHP array $_SERVER['REMOTE_USER'] that auth-passthru uses is being correctly set by our authentication system.

Really, two questions - apart from enabling the plug-in and ticking to use it for agent login is there any other setup that's needed? - I can't see that it gives me the option to change authentication provider for an agent, which I'm guessing is correct as it seems to be using the internal provider. Second, is there anyway to get debugging information from OST and/or the plugin to try and get an idea of where it's going wrong?

Thanks!

Andrew.

Attachment fail

$
0
0
Good morning,

Every time an agent tries to attach a file to a reply, the system won't keep the file.

It saves the reply but without attachment.

Thank you

auth-ldap Plugin Installation Issue

$
0
0
I am running osTicket version 1.9.15 on on IIS 7.5 and Windows Server 2012 r2 with PHP 5.3. I downloaded auth-ldap plugin version 0.63 from http://osticket.com/download.  As soon as I enable the plugin I get the following error message:

Warning: require_once(phar:\\\\SAIPWEBDATA$\PRODUCTION\SAI\support\include\plugins\auth-ldap.phar\config.php): failed to open stream: No such file or directory in phar:////SAIPWEBDATA$/PRODUCTION/SAI/support/include/plugins/auth-ldap.phar/authentication.php on line 484 Fatal error: require_once(): Failed opening required 'config.php' (include_path='./;//SAIPWEBDATA$/PRODUCTION/SAI/support/include/;//SAIPWEBDATA$/PRODUCTION/SAI/support/include/pear/;phar:////FLDHOSO1.VERIZON.COM/SAIPWEBDATA$/PRODUCTION/SAI/support/include/plugins/auth-ldap.phar/include') in phar:////SAIPWEBDATA$/PRODUCTION/SAI/support/include/plugins/auth-ldap.phar/authentication.php on line 484

Any help would be appreciated.

ost_organization_cdata table is deleted after modifying organization form

$
0
0
I have Osticket 1.10. release and  I have updated mysql 5.7.1 to 5.7.17. Now when I modify organization form I have a problem because ost_organization__cdata table is deleted. Can anybody help me?

Thanks.

Can't connect to mail5.******.net,995: Refused when Fetching Email via POP

$
0
0
I tested the account with outlook and it works fine, but when I enter the settings in the Fetching Email exactly the same I get: 

"Can't connect to mail5.intermedia.net,995: Refused", 

and I get:

Failed to connect to mail5.intermedia.net:465 [SMTP: Failed to connect socket: No connection could be made because the target machine actively refused it. (code: -1, response: )]
Any help would be greadly appritiated

Line Break characters showing up in custom forms

$
0
0
While attempting to create some custom forms using the "information" type I get unintended line break <br /> characters.  This doesn't occur in version 1.9 - only in v1.10.  Please see attached file.

"Valid CSRF Token Required" on login.php agent page

$
0
0
Hello,

I use osTicket v1.10 in PHP v5.6 on MySql 5.4 with Apache
The installation is ok.

But i have a problem to login admin in agent page (/scp/login.php) i have a this message "Valid CSRF Token Required"
I test to keep CSRF in login.php. I don't have the message but i return to the login page.

I see a lot of message for this problem but i don't find a solution.
Do you have a idea ?

Customer Reply Changes Status

$
0
0
Hi! I'm trying to find the settings to change a ticket's status when a customer replies to a ticket (via e-mail or online).  I have a status of "Waiting for Customer" so I know it's pending for the customer. When the customer adds to the ticket, I need the ticket to change to "Open" or "Pending" status again so I know the customer replied.

I'm not finding how to do this?  

Thank you in advance.

OSTicket 1.10 Printing and Custom Logo Issues

$
0
0
The issue I am seeing is 2 things the customer logo when we go to print will just display a red x yet I can switch to the default logo it will display and print fine.  I have tried to save the default logo and set it as the custom logo to ensure it is not my logo and same results.  Also since version 1.10 when I try to print it used to in old version just open and print now it brings up a open or save window in any browser.  I can click open and it does open the only issue I have with this is it saves a copy of the pdf everytime I print a ticket which later I will have to go clear out over time.

JSON API Documents and AWS intergration

$
0
0
I assume it is not possible to update a Ticket from the API ? I would love to integrate with AMAZON SQS .  Currently I have all help desk requests sent in via e-mail end up on a AWS Queue.  I want to use node to process them and put them into osTicket.  It works for new Tickets but there is no method to provide an update that I'm aware of. 

To bad the API can't detect that a ticket already exists and just update it. 

Sample Code Node.JS JSON Ticket creation from e-mail message.

why is it so hard to get osTicket up and running

$
0
0
I downloaded v1.10.  I created a folder on my hosting account www.mydomain.com/osticket and via FTP uploaded the files under "upload" to my hosting server.  I have then tried for hours to get osticket to the setup screen but all i get are errors.  i have checked the file paths, spelling, everything.  i have checked for the correct versions of php and mysyql.  I have searched for hours reading every install posting I can find.  I have watch more then 10 youtube videos, most of which do not deal with this type of installation.  i have followed the steps, even the ones that are wrong, on the osticket wiki write up.  nothing works.  i have change the ost-sampleconfi to ost-config.  it seems that this should be a no brainer but i am obviously not the only one having trouble.  what am i missing?
Viewing all 7550 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>