T
twisterbr

  • Jun 24, 2020
  • Joined Apr 3, 2012
  • 0 best answers
  • osTicket 1.12-git (bcf1a6f)
    PHP 7.2.24-0ubuntu0.18.04.6
    MySQL 5.7.29

    Edit:

    I noticed https://forum.osticket.com/d/93803-email-access-links-emailed-but-url-link-wrong-without-token-access
    is stated that this functionality was removed if there are collaborators on the ticket. Is there a way around this, to have the collaborators have access to the ticket without having him needing to register as a regular user?

    When I ask for an access link for some tickets, I receive the email containing the url in this format: http://osticketurl.com.br/tickets.php?id=XXXX instead of http://osticketurl.com.br/view.php?auth=YYYYYYYY

    This is happening only on a few tickets.
    I already checked the access link template and i'm using the correct variable: %{recipient.ticket_link}

    It is correctly set, otherwise I would not be getting the correct link on other tickets as well.

  • Reviving this ticket... I'm following up what @Chefkeks suggested, but that doesnt work properly.So, what I want is to view the same ticket on

    different departments, depending on what is seen on TOs/CCs header

    fields. For that, I created teams and filters. But if I set multiple rules to satisfy for assigning the ticket to a team, osticket simply doesnt filter it as it should.An example of how I configured is attached.On this example I have 2 departments, "Suporte" and "Comercial", having suporte@domain.com and comercial@domain.com as "departments emails" respectively on osticket.I want to set a specific team ("Comercial e Suporte", in this case) if the sender sends an email with to@domain.com and to@domain.com.. but that simply doesnt work.The first option on filter page (Corresponder Todas) is the corresponding "satisfy/match all" on my language. This is what I want, to set a team only if all of the rules match. But it didnt work.. it doesnt work with the second option either (which is set now, at my screenshot).

    filters1.png

    filters2.png

  • I'm using:ost v1.9.15ubuntu 14.04.5php 5.5.9apache 2.4I have the option to reopen a closed ticket that is on a resolved state (closed state) on but it's not working. The message is received on the ticket but it remains closed.On the other hand, closed tickets are reopened normally.This ost was upgraded from v1.9.4 last week and at that time this functionality was working without a problem.

  • @[deleted] I did what you suggested, by putting the new language pack version (replacing the old one) at i18n folder but i'm still getting the translate table error. I got the DB Error #1146 repeated 7 times (same content) and one : Upgrader Error (both below)DB Error #1146 Table 'ost_database.ost_translation' doesn't exist ---- Backtrace ---- #0 (root)/include/mysqli.php(204): osTicket->logDBError('DB Error #1146', '[SELECT A1.* FR...') #1 (root)/include/class.orm.php(3133): db_query('SELECT A1.* FRO...', true, true) #2 (root)/include/class.orm.php(3180): MySqlExecutor->execute() #3 (root)/include/class.orm.php(1771): MySqlExecutor->getArray() #4 (root)/include/class.orm.php(1815): ModelInstanceManager->{closure}() #5 (root)/include/class.orm.php(1794): CallbackSimpleIterator->next() #6 (root)/include/class.orm.php(1803): CallbackSimpleIterator->rewind() #7 (root)/include/class.orm.php(1463): CallbackSimpleIterator->valid() #8 (root)/include/class.orm.php(1480): CachedResultSet->fillTo(9223372036854775807) #9 (root)/include/class.orm.php(1489): CachedResultSet->asArray() #10 (root)/include/class.translation.php(899): CachedResultSet->getIterator() #11 (root)/include/class.translation.php(920): CustomDataTranslation:('en_US') #12 (root)/include/class.list.php(396): CustomDataTranslation:('37eec2fe8f75003...') #13 (root)/include/class.list.php(209): DynamicList->getLocal('name_plural') #14 (root)/include/class.list.php(524): DynamicList->getPluralName() #15 : DynamicList:() #16 (root)/include/class.forms.php(567): call_user_func(Array) #17 (root)/include/class.forms.php(575): FormField:() #18 (root)/include/class.forms.php(1016): FormField:('text') #19 : FormField->getImpl(Object(DynamicFormField)) #20 (root)/include/class.dynamic_forms.php(596): call_user_func_array(Array, Array) #21 (root)/include/class.dynamic_forms.php(1339): DynamicFormField->__call('getImpl', Array) #22 (root)/include/class.dynamic_forms.php(1339): DynamicFormField->getImpl(Object(DynamicFormField)) #23 (root)/include/class.dynamic_forms.php(948): DynamicFormEntryAnswer->getField() #24 (root)/include/class.company.php(71): DynamicFormEntry->getAnswer('name') #25 (root)/include/staff/footer.inc.php(5): Company->__toString() #26 (root)/scp/upgrade.php(88): require('/var/www/vhosts...') #27 {main}

    Log Date: 07/05/2017 03 PM IP Address: 127.0.0.1: Upgrader Error Duplicate column name 'lang'

    Log Date: Wed, 5 Jul 2017 15 IP Address: 127.0.0.1

  • No, should I do that? To upgrade I only need to replace the phar file inside i18n?

  • Yes, but I get the same errors even if I remove the pt_BR.phar file (inside include/i18n).

  • PHP: 5.5 (ost v1.10 upgrade summary says its compatible)OS: Ubuntu 14.04 LTSMySQL: 5.7I'm getting: Table 'ost_database.ost_translation' doesn't

    existThis error repeats 7 times and then the upgrade script stops.If I click to upgrade again, I get other errors similar to this: Duplicate entry

    'Administradores Role' for key 'name'And if I keep clicking to upgrade I always get different errors over and over until it quits to a screen saying "Upgrade Aborted"I tried truncating ost_role table, pre-creating ost_translation, but I always get a new error about some table already created or non-existence table errors. I could do a manual upgrade but I don't know how to do it.

  • Are there any other option that I can try?Is that error saying that getRole() function is not an object?include/class.staff.php line 435:    function getRole($dept=null) {        $deptId = is_object($dept) ? $dept->getId() : $dept;        if ($deptId && $deptId != $this->dept_id) {            if (isset($this->_roles))                return $this->_roles;            if ($access = $this->dept_access->findFirst(array('dept_id' => $deptId)))                return $this->_roles = $access->role;            if (!$this->usePrimaryRoleOnAssignment())                // View only access                return new Role(array());            // Fall through to primary role        }        // For the primary department, use the primary role        return $this->role;    }I commented the lines 457 and 458 and the page loads fine, but if I click on a opened ticket, the page shows only the header of osticket panel and the ticket content does not appear.

  • Unfortunately this would not be possible at this time because this server hosts other php applications that do not support 5.6 yet.

  • Ok, sorry man:Ubuntu 14.04.5Apache/2.4.7PHP 5.5.9-1ubuntu4.20Happens after osTicket upgrade from v1.9.4 to v1.10After I login (on http://xxx/scp/login.php) I get a blank page and error.log logs this: PHP Fatal error:  Call to a member function hasPerm()

    on a non-object in

    /var/www/vhosts/xxxxx/httpdocs/include/class.staff.php on line 457

  • PHP Fatal error:  Call to a member function hasPerm() on a non-object in /var/www/vhosts/xxxxx/httpdocs/include/class.staff.php on line 457But I can access http://xxxx/scp/staff.php , /emails.php, /settings.php etc, normally.Line 457 in bold:    function hasPerm($perm, $global=true) {        if ($global)            return $this->getPermission()->has($perm);        if ($this->getRole()->hasPerm($perm))            return true;        foreach ($this->dept_access as $da)            if ($da->role->hasPerm($perm))                return true;        return false;    }

  • It's one email when submitted, but when received it becomes two (or more, for other departments).Does anybody know how osticket treat these cases, technically I mean? It checks for the headers or something and if some header (or other info) of the message was already 'registered' for a ticket received in one department the other departments will not receive it?

  • Thanks for the quick response @[deleted] !You're saying 'one new email' but it's actually more than one email, in my case 2 mail accounts/departments and 2 emails, which in my opinion should generate 2 different tickets.

  • Actually I don't want to access the same ticket on more than one department, I know that's not possible. What I want is to have a new ticket created/duplicated to all of the departments that are in copy in the original message. I think that's the right way cause basically it's what the sender wanted when he copied the other departments on the message.Or at least could have an option on osticket, cause in my case the sender usually asks for support in multiple departments in the same email.One department could send a reply to the customer and forward the ticket to the second department to reply as well, but that's not practical, cause there would be a waste of time for the second department's reply (between the message arrival and first department reply).I'm sorry if I didn't explain well, I'm not a native english speaker as you may have noticed

  • I'm using v1.9.4I have several departments using the same osticket system, with their own mail address.Sometimes, our customers send e-mail to one department copying another department, but only one of them receive the ticket.Is this meant to be this way? Can I set it to create the ticket in all the departments in copy?