Hi there,I did an upgrade from 1.8.0.1 to 1.8.0.2. After the upgrade I was able to login without any errors except the DB 1582 error, that I solved with the corrected ajax.reports.php from Github.But when I try to logout, I get the following error:Parse error: syntax error, unexpected ';' in /www/htdocs/XXXXXXXX/scp/logout.php on line 24 , (where XXXXXXXX ist my account number at my hoster)I checked the logout.php, but did not find any errors in that file.Who can help?Thanks in advance.Joachim Scholtysik

Please post line 24 from /www/htdocs/XXXXXXXX/scp/logout.php

Hi ntozier,this is line 24 of logout.php:            $thisstaff->getUserName(), $_SERVER)); //Debug.Greetings.Joachim Scholtysik

I have 22-25$ost->logDebug('Staff logout',        sprintf("%s logged out ",             $thisstaff->getUserName(), $_SERVER)); //Debug.$_SESSION=array();does your match this?

Hi ntozier,no, logout.php contains the following lines:<?php/*********************************************************************    logout.php    Log out staff    Destroy the session and redirect to login.php    Peter Rotich <peter@osticket.com>    Copyright (c)  2006-2013 osTicket    http://www.osticket.com    Released under the GNU General Public License WITHOUT ANY WARRANTY.    See LICENSE.TXT for details.    vim: expandtab sw=4 ts=4 sts=4:**********************************************************************/require('staff.inc.php');//Check token: Make sure the user actually clicked on the link to logout.if(!$_GET || !$ost->validateLinkToken($_GET))    @[deleted]('Location: index.php');$ost->logDebug($txt,        sprintf(sprintf($txt,            $thisstaff->getUserName(), $_SERVER)); //Debug.$_SESSION=array();session_unset();session_destroy();@[deleted]('Location: login.php');require('login.php');?>1.8.0.1 was a german translation of osTicket from osticket.com.de, the upgrade to 1.8.0.2 also.Greetings.Joachim Scholtysik

There is no official German version of osT.  I do not know who that is, but is not us.  I recommend that you communicate with them for support.

Ok, thanks.Are there any plan when a multilanguage version of osTicket will see the light?Greetings.Joachim

Please read:http://forum.osticket.com/d/discussion//hello-habari-hallo-bonjour-hola-ciao#latest

5 days later

Hi JoachimI've experienced the same troubles with the logout. What i did was:Take the original file from the english installationOverwrite the one in my installation folder.

After that the logout worked successfully.

Greetings

Dominik

Write a Reply...