OTRS JSON Error

Hilfe zu OTRS Problemen aller Art
Post Reply
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

OTRS JSON Error

Post by Chiyo »

Hallo zusammen,

OTRS wird von mir schon lange genutzt. In meiner vorherigen Konfiguration mit NGINX, aktuell zum Testen mit APACHE 2 (2.4). Da ich auf ein neue Serverumgebung migrierte, setzte ich das OTRS auch neu auf.

Nun bin ich beim Installer angelangt und komme leider nur bis zur Datenbankprüfung. Dann erscheint leider eine Fehlermeldung, die ich bis dato noch nicht zu meiner Befriedigung adäquat lösen konnte.

Image

Diese Fehlermeldung tritt in Chrome auf - in Firefox tritt sie wie folgt auf:
Error during AJAX communication. Status: parsererror, Error: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Der Fehler scheint in der Core.Debug.js zu liegen laut Firebug.

Code: Select all

TargetNS.Log = DebugConsole ?
        function () {
            DebugLog.apply(DebugConsole, arguments);
        } :
        function () {}; // NOOP function for performance reasons in production systems
Ich bin leider mit meinem Latein am Ende. Hat jemand einen Tipp/Idee?

Danke
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: OTRS JSON Error

Post by RStraub »

Kannst du uns bitte den Apache-error log und ggf. den Java Log während eines Zugriffes posten?
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

Wie gewünscht der Errorlog vom Apache2:
[Thu Jul 09 14:23:15.756877 2015] [authz_core:error] [pid 13616] [client 192.168.101.101:50380] AH01630: client denied by server configuration: /opt/otrs/
Und Access Log:
192.168.101.101 - - [09/Jul/2015:15:06:31 +0200] "POST /otrs/installer.pl? HTTP/1.1" 200 5031 "http://XXXXXXXXXXX/otrs/installer.pl" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36"
Sonstige Log:
Remote Address:192.168.106.66:80
Request URL:http://XXXXXXXXXXXXXXXXXXXX/otrs/installer.pl?
Request Method:POST
Status Code:200 OK
Response Headers
view source
Cache-Control:no-cache
Connection:Keep-Alive
Content-Disposition:filename="Installer.html"
Content-Encoding:gzip
Content-Length:4505
Content-Type:text/html; charset=utf-8;
Date:Thu, 09 Jul 2015 12:37:47 GMT
Expires:Tue, 1 Jan 1980 12:00:00 GMT
Keep-Alive:timeout=5, max=100
Pragma:no-cache
Server:Apache/2.4.10 (Debian)
Vary:Accept-Encoding
X-Frame-Options:SAMEORIGIN
X-Powered-By:OTRS 4.0.9 - Open Ticket Request System (http://www.otrs.com/)
X-UA-Compatible:IE=edge,chrome=1
Request Headers
view source
Accept:application/json, text/javascript, */*; q=0.01
Accept-Encoding:gzip, deflate
Accept-Language:de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Content-Length:99
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:uso_popHTTP50=1000
Host:XXXXXXXXXXXXXXXXXXXX
Origin:XXXXXXXXXXXXXXXXXXXX
Referer:http://XXXXXXXXXXXXXXXXXXXX/otrs/installer.pl
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36
X-Requested-With:XMLHttpRequest
Form Data
view source
view URL encoded
CheckMode:DB;;OTRSAgentInterface=undefined;OTRSCustomerInterface=undefined;ChallengeToken=undefined

Was meinst du mit Javalog? Dann liefere ich es nach :)
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: OTRS JSON Error

Post by RStraub »

Firefox wird den auch haben, ich kenn ihn nur bei Chrome:
F12 und dann auf Console
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

Siehe:

Image
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: OTRS JSON Error

Post by RStraub »

Der Fehler sagt ja aus dass ein JSON Request auf ein unerwartetes Zeichen "<" gestoßen ist.

Wenn du jetzt nicht in der Konfiguration / Passwort das Zeichen drin hast, würde ich das als Bug klassifizieren ...
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

Nun da es sich um eine frische Installation handelt, würde ich das wohl verneinen.

Aber es muss ja eine Möglichkeit geben das zu lösen :(

Ein "<" ist typisch für den Anfang von einem HTML-Part.
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

Keiner eine Idee?
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS JSON Error

Post by reneeb »

Schau Dir mal in den den DeveloperTools die Anfrage und die Antwort an, die bei dem Fehler verschickt werden. Das ist unter Netzwerkanalyse und das müsste ein POST-Request an installer.pl sein.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

Code: Select all

POST installer.pl?
	
200 OK
	
	censored.domain.test
	
4,4 KB
	
xxx.xxx.xxx.xxx:80
	
 
152ms
HeaderPostAntwortHTMLCacheCookies

<!DOCTYPE html>
<html>
<!--                                                                           -->
<!--   OTRS: Copyright 2001-2012, xxx. This Software is under the AGPL.    -->
<!--          Web: http://otrs.com/ - Lists: http://lists.otrs.org/            -->
<!--  GNU AFFERO General Public License: http://www.gnu.org/licenses/agpl.txt  -->
<!--                                                                           -->
<head>
    <meta http-equiv="Content-type" content="text/html;charset=utf-8" />
    <link rel="shortcut icon" href="/otrs-web/skins/Agent/default/img/icons/product.ico" type="image
/ico" />

    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Reset.css" /
>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Default.css"
 />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Header.css" 
/>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.OverviewControl
.css" />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.OverviewSmall
.css" />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.OverviewMedium
.css" />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.OverviewLarge
.css" />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Footer.css" 
/>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.PageLayout.css"
 />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Form.css" />

    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Table.css" /
>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Widget.css" 
/>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.WidgetMenu.css"
 />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.TicketDetail
.css" />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Tooltip.css"
 />
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Dialog.css" 
/>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Print.css" /
>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/thirdparty/fontawesome
/font-awesome.css" />

<!--[if IE 8]>
    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.OverviewSmall
.IE8.css" />
    <![endif]-->

    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/Core.Installer.css"
 />


    <link rel="stylesheet" type="text/css" href="/otrs-web/skins/Agent/default/css/thirdparty/ui-theme
/jquery-ui.css" />



    <style type="text/css">
        @font-face {
          font-family: 'FontAwesome';
          src: url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont.eot
?v=4.1.0');
          src: url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont.eot
?#iefix&v=4.1.0') format('embedded-opentype'),
               url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont.woff
?v=4.1.0') format('woff'),
               url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont.ttf
?v=4.1.0') format('truetype'),
               url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont.svg
#fontawesomeregular?v=4.1.0') format('svg');
          font-weight: normal;
          font-style: normal;
        }

        /* Fix poor font rendering on chrome based browsers on windows */
        @media all and (-webkit-min-device-pixel-ratio:0) {
            @font-face {
                font-family: 'FontAwesome';
                src: url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont
.svg#fontawesomeregular') format('svg'),
                     url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont
.eot?#iefix&v=4.1.0') format('embedded-opentype'),
                     url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont
.woff?v=4.1.0') format('woff'),
                     url('/otrs-web/skins/Agent/default/css/thirdparty/fontawesome/fontawesome-webfont
.ttf?v=4.1.0') format('truetype');
                font-weight: normal;
                font-style: normal;
            }
        }
    </style>

<!--[if IE 8]>
    <script type="text/javascript">
        /* Fix initial font rendering on IE8 for FontAwesome */
        (function() {
            var head = document.getElementsByTagName('head')[0],
                style = document.createElement('style');
            style.type = 'text/css';
            style.styleSheet.cssText = ':before,:after{content:none !important;}';
            head.appendChild(style);
            setTimeout(function(){
                head.removeChild(style);
            }, 0);
        }());
    </script>
    <![endif]-->

    <title>OTRS installieren - Einführung -  OTRS 4</title>


<script type="text/javascript">//<![CDATA[
"use strict";

var Core = Core || {};
Core.App = Core.App || {};

/**
 * @function
 *      Ignores an event. Implemented without jQuery because no external JavaScript is available yet
.
 * @return nothing
 */
function IgnoreEvent (Event) {
    if (Event.preventDefault) {
        Event.preventDefault();
    }
    Event.returnValue = false;
    return false;
}

/**
 * @function
 *      This function blocks all click events on the page until it is
 *      unblocked after all JavaScript was loaded. Implemented without
 *      jQuery because no external JavaScript is available yet.
 * @return nothing
 */
Core.App.BlockEvents = function() {
    if (document.addEventListener) {
        document.addEventListener('click', IgnoreEvent, false);
    }
    else {
        document.attachEvent('onclick', IgnoreEvent);
    }
};

/**
 * @function
 *      This function unblocks all click events on the page
 *      after all JavaScript was loaded. Implemented without
 *      jQuery because no external JavaScript is available yet.
 * @return nothing
 */
Core.App.UnblockEvents = function() {
    if (document.removeEventListener) {
        document.removeEventListener('click', IgnoreEvent, false);
    }
    else {
        document.detachEvent('onclick', IgnoreEvent);
    }
};

// Now block all click events on the page to make sure that
// an agent does not click before all JavaScript was loaded,
// as event listeners are not yet available, for example.
Core.App.BlockEvents();
//]]></script>


</head>
<body class="">
    <a name="Top"></a>
    <div id="Header" class="ARIARoleBanner">
        <div id="Logo"></div>
        <ul id="ToolBar">

        </ul>
    </div>

<div class="MainBox ARIARoleMain">

    <div class="W33pc SpacingTop SpacingBottom CenterBox">
        <noscript>
        <div class="WidgetSimple">
            <div class="Header">
                <h2 class="Center">JavaScript nicht aktiviert oder nicht unterstützt.</h2>
            </div>
            <div class="Content">
                <p class="SpacingTop Center">
                    Um alle Möglichkeiten von OTRS voll ausschöpfen zu können, müssen Sie JavaScript
 in Ihrem Browser aktivieren.
                </p>
            </div>
        </div>
        </noscript>
    </div>

    <div class="Center">
        <ul id="ProgressBar" class="ProgressBarElements4" SpacingTop SpacingBottom">
            <li class="First  ">
                <span>
                    <a href="#">Schritt 1<span>Lizenz</span></a>
                </span>
            </li>
            <li class=" ">
                <span>
                    <a href="#">Schritt 2<span>Datenbankeinstellungen</span></a>
                </span>
            </li>
            <li class=" ">
                <span>
                    <a href="#">Schritt 3<span>Allgemeine Einstellungen und E-Mail-Einstellungen</span
></a>
                </span>
            </li>
            <li class="Last  ">
                <span>
                    <a href="#">Schritt 4<span>Abschließen</span></a>
                </span>
            </li>
        </ul>
    </div>

    <div class="W950px SpacingTop SpacingBottom CenterBox">
        <div class="WidgetSimple SpacingTop" id="WebInstallerBox">
            <div class="Header">
                <h2>Willkommen bei OTRS 4</h2>
            </div>
            <div class="LayoutGrid Content">
                <div class="Size1of2">
                    <h4>USA</h4>
                    <p>OTRS Inc.</p>
                    <p>19925 Stevens Creek Blvd.</p>
                    <p>Cupertino, CA 95014-2358</p>
                    <p>Telefon: <a href="tel:+14153360178">+1 (415) 3660178</a></p>
                </div>
                <div class="Size1of2">
                    <h4>Germany</h4>
                    <p>xxx</p>
                    <p>Norsk-Data-Str. 1</p>
                    <p>61352 Bad Homburg</p>
                    <p>Telefon: <a href="tel:+4961726819880">+49 (0) 6172 681988 0</a></p>
                </div>
            </div>
            <div class="Clear"></div>
            <div class="LayoutGrid Content">
                <div class="Size1of2">
                    <h4>Mexico</h4>
                    <p>OTRS S.A. de C.V.</p>
                    <p>Oso 127 - 105, Col. Del Valle</p>
                    <p>03100 Mexico, D.F.</p>
                    <p>Telefon: <a href="tel:+525555243171">+52 55 5524 3171</a></p>
                </div>
                <div class="Size1of2">
                    <h4>The Netherlands</h4>
                    <p>OTRS B.V.</p>
                    <p>Schipholweg 103</p>
                    <p>2316 XC  Leiden</p>
                    <p>Telefon: <a href="tel:+31718200255">+31 (0)71 8200 255</a></p>
                </div>
            </div>
            <div class="Clear"></div>
            <div class="LayoutGrid Content">
                <div class="Size1of2">
                    <h4>Malaysia</h4>
                    <p>OTRS Solution Shd Bdn</p>
                    <p>No 17-1B, Jalan Puteri 2/7, Bandar Puteri, 47100 Puchong</p>
                    <p>Selangor</p>
                    <p>Telefon: <a href="tel:+60380653323">+603 8065 3323</a></p>
                </div>
                <div class="Size1of2">
                    <h4>Hong Kong</h4>
                    <p>OTRS Ltd</p>
                    <p>Rm 406, 4/F, Boss Commercial Centre</p>
                    <p>28 Ferry Street, Jordon</p>
                    <p>Telefon: <a href="tel:+85236901503">+852 3690 1503</a></p>
                </div>
            </div>
            <div class="Clear"></div>
            <div class="LayoutGrid Content">
                <p>Website: <a href="http://otrs.com" target="_blank">www.otrs.com</a></p>
                <p>E-Mail: <a href="mailto:otrsteam@otrs.com">otrsteam@otrs.com</a></p>
            </div>
            <div class="Clear"></div>
        </div>
        <div id="InstallerContinueWithJS" class="SpacingBottom Right">
            <form action="/otrs/installer.pl" method="post" class="PreventMultipleSubmits">
                <input type="hidden" name="Action" value="Installer">
                <input type="hidden" name="Subaction" value="License">
                <button class="Primary CallForAction" type="submit"><span>Weiter</span></button>
            </form>
        </div>
    </div>























</div>


<div id="Footer" class="ARIARoleContentinfo">
    <a href="http://www.otrs.com/" title="OTRS 4.0.9" target="_blank">
        Powered by OTRS 4
    </a>
</div>


<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-1.11.1/jquery.js"></script>
<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-browser-detection/jquery-browser-detection
.js"></script>
<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-ui-1.11.1/jquery-ui.js"></script>

<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-validate-1.13.0/jquery.validate.js"
></script>
<script type="text/javascript" src="/otrs-web/js/thirdparty/stacktrace-0.6.2/stacktrace.js"></script
>
<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-pubsub/pubsub.js"></script>
<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-jstree-v.pre1.0/jquery.jstree.js"
></script>
<script type="text/javascript" src="/otrs-web/js/thirdparty/jquery-jstree-v.pre1.0/_lib/jquery.hotkeys
.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.JavaScriptEnhancements.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Debug.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Data.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Config.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Exception.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.JSON.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.AJAX.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.App.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Accordion.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Datepicker.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.DnD.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Resizable.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Table.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Accessibility.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.RichTextEditor.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Dialog.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.ActionRow.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Popup.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.TreeSelection.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.UI.Autocomplete.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Form.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Form.ErrorTooltips.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Form.Validate.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Agent.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Agent.Search.js"></script>
<script type="text/javascript" src="/otrs-web/js/Core.Agent.CustomerInformationCenterSearch.js"></script
>

<script type="text/javascript" src="/otrs-web/js/Core.Installer.js"></script>

<script type="text/javascript">//<![CDATA[
"use strict";
Core.App.Ready(function () {

    Core.Config.AddConfig({
        // config
        Baselink: '/otrs/installer.pl?',
        CGIHandle: '/otrs/installer.pl',
        WebPath: '/otrs-web/',
        Action: 'Installer',
        SessionIDCookie: '',
        SessionName: 'OTRSAgentInterface',
        SessionID: '',
        ChallengeToken: '',
        CustomerPanelSessionName: 'OTRSCustomerInterface',
        Images: '/otrs-web/skins/Agent/default/img/',
        UserLanguage: 'de',
        UserID: '',
        SpellChecker: '0',
        NeedSpellCheck: '',
        RichTextSet: '',
        CheckEmailAddresses: parseInt('1', 10),
        AnimationEnabled: parseInt('', 10),
        MenuDragDropEnabled: parseInt('', 10),
        OpenMainMenuOnHover: parseInt('', 10),
        CustomerInfoSet: parseInt('', 10),
        Autocomplete: {},
        CheckSearchStringsForStopWords: 0,
        // translations
        ValidateServerErrorTitle: "Fehler",
        ValidateServerErrorMsg: "Ein oder mehrere Fehler sind aufgetreten!",
        PopupLeaveParentWindowMsg: "Wenn Sie diese Seite verlassen, werden auch alle geöffneten Dialoge
 geschlossen!",
        DialogCloseMsg: "Diesen Dialog schließen",
        PopupBlockerMsg: "Konnte Popup-Fenster nicht öffnen. Bitte deaktivieren Sie alle Popup-Blocker
 für diese Anwendung.",
        PopupAlreadyOpenMsg: "Auf diesem Bildschirm ist bereits ein Popup-Fenster geöffnet. Möchten Sie
 dieses schließen und dieses stattdessen öffnen?",
        LoadingMsg: "Laden...",
        EmptySearchMsg: "Bitte geben Sie zumindest einen Suchbegriff ein oder * um nach Allem zu suchen
.",
        SearchMsg: "Suche",
        SearchStringsContainStopWordsMsg: "Bitte entfernen Sie die folgenden Wörter aus Ihrer Suche,
 da nach ihnen nicht gesucht werden kann:",
        FieldTitleFulltext: "Volltext",
        FieldTitleFrom: "Von",
        FieldTitleTo: "An",
        FieldTitleCc: "Cc",
        FieldTitleSubject: "Betreff",
        FieldTitleBody: "Text",
        ValidationErrorMsg: "Bitte prüfen Sie die rot markierten Felder auf gültige Eingaben.",
        SpellCheckNeededMsg: "Bitte führen Sie zuerst eine Rechtschreibprüfung aus.",
        DeleteMsg: "Löschen",
        ApplyButtonText: "Anwenden",
        SlideNavigationText: "Verschieben Sie die Navigationsleiste",
        NoElementsToSelectFromMsg: "Derzeit sind keine Elemente für die Auswahl vorhanden.",
        TurnOffCompatibilityModeMsg: "Bitte schalten Sie den Kompatibilitätsmodus im Internet Explorer
 aus!",
        BrowserTooOldMsg: "Sie verwenden leider einen (stark) veralteten Browser.",
        BrowserListMsg: "OTRS funktioniert mit einer großen Auswahl an Browsern, aus denen Sie wählen
 können. Bitte installieren Sie einen neueren Browser oder upgraden Sie Ihren vorhandenen.",
        BrowserDocumentationMsg: "Bitte lesen Sie auch die Dokumentation oder fragen Sie Ihren Systemadministrator
."
    });

    Core.Agent.Init();




});
//]]></script>

<script type="text/javascript">//<![CDATA[
"use strict";
Core.App.Ready(function () {

    Core.Config.Set('Installer.CheckMailLabelOne', "Konfigurationsprüfung erfolgreich.");
    Core.Config.Set('Installer.CheckMailLabelTwo', "Fehler in der Mail-Konfiguration. Bitte korrigieren
 und nochmals probieren.");
    $('#InstallerContinueWithJS').show();


});
//]]></script>

<script type="text/javascript">//<![CDATA[
"use strict";
Core.App.Ready(function () {
    Core.App.UnblockEvents();
});
//]]></script>

</body>
</html>

 	
1 Anfrage
			
4,4 KB
	
152ms
Screenshots:

https://sf.yiff.es/f/df7de07017/

https://sf.yiff.es/f/24095820b1/
Chiyo
Znuny newbie
Posts: 7
Joined: 09 Jul 2015, 14:50
Znuny Version: OTRS 4

Re: OTRS JSON Error

Post by Chiyo »

*push*
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: OTRS JSON Error

Post by reneeb »

Du bekommst einen HTML-Text zurück. Deswegen der JSON-Fehler...

Jetzt musst Du auf die Suche nach der Ursache gehen, warum Du HTML und kein JSON zurückbekommst. Schau Dir mal das HTML an oder post es hier...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
DBSRAJW
Znuny newbie
Posts: 23
Joined: 25 Jul 2014, 15:39
Znuny Version: 3.3.12

Re: OTRS JSON Error

Post by DBSRAJW »

Habe die Erfahrung gemacht, dass sehr häufig solch kryptischen Fehlermeldungen daher kommen, dass man kurz zuvor irgendwo Rechte oder Funktionen von Usern oder vom System deaktiviert oder beschnitten hat. Dies waren bisher fast immer "meine" JSON Fehlermeldungen gewesen; so auch eben, als ich mal nach ähnlichen Fehlermeldungen auf die Suche ging -> im Endeffekt lag es daran, dass ich der Gruppe die Rechte zur Suche nach Usern in den Changes genommen hatte.
Teilweise passiert es sogar, dass man "<" HTML-Tags aufgrund solch einer Problematik als JSON ausgegeben bekommt, wodurch die Fehlersuche dann nochmals seltsamer wird, weil man auf eine völlig falsche Fährte geführt wird.

Dies nur als Idee für solche Fälle
OTRS version: 3.3.12
Operating System: VM / Debian7
Database type: MySQL
Post Reply