Hi!

I hope someone can help me here.. I recently update from version 1.11 to 1.12 and now some customers mentioned they don’t see the Thank-You page anymore after they supply a form on the site. I’ve tested it and it seems like there is no redirection.

I tried to check all the options but I didn’t mentioned anything odd. Any suggestions what i may be missing?

Server Information:
osTicket Version v1.12 (a076918)

Web Server Software Apache/2.4.18 (Ubuntu)
MySQL Version 5.7.26
PHP Version 7.0.33-0ubuntu0.16.04.4

Thanx in forward.

Thijs

Guests see the thank you page.
Registered users see the ticket that they opened.
Agents do not see the thank you page.

    Hi,

    Thanx for you response. I've found that on google too, but when i fill in the form as 'guest' in a browser where i never logged on to i still get no Thank-You page. The ticket will be created and afterwards the 'guest' will see a blank page. URL sticks on https://abcd.efgh.nl/open.php

    9 days later

    Just tried it from a whole different PC with a non existing user and i've got the same error. HTTP ERROR 500.Any thoughts?

    • RBGE replied to this.

      thijskossen Is the Thank You page that's set for the topic still present in your system? (Admin -> Manage -> Pages and Admin -> Manage -> Help Topics -> New ticket options)

        RBGE Yes, it is. I've tried make a new Thank-you page with a different name but the problem still exists.
        My latest thoughts went to the second language (nl), that it may be possible that he try to open the dutch page but also there i can't find anything odd. I've replaced the phar file for the folder downloaden from http://i18n.osticket.com and check if it is all set. Unfortunately also without result..

        ntozier I just noticed that also registered users don't have a redirect to the ticket they opened. I assume tho whole redirection (script i assume) is broken. Do you know where I can find it?

        If you are seeing a blank white page then it's likely a PHP error.
        It sounds like your seeing a 500 error which could be PHP, but more likely is your webserver not being configured properly.

        Are you actually running Apache?

        Are you running anything like mod_security -or- SELinux?

          ntozier Yes, I'm running apache. Php 7 on ubuntu 16.04. I am not running mod_security or SELinux.
          Also yes, I recieve a Error 500 like you can see at the screenshot i've posted earlier.

          PHP mods:
          [PHP Modules]
          apcu
          calendar
          Core
          ctype
          curl
          date
          dom
          exif
          fileinfo
          filter
          ftp
          gd
          gettext
          hash
          iconv
          imap
          intl
          json
          libxml
          mbstring
          mcrypt
          mysqli
          mysqlnd
          openssl
          pcntl
          pcre
          PDO
          pdo_mysql
          Phar
          posix
          readline
          Reflection
          session
          shmop
          SimpleXML
          sockets
          SPL
          standard
          sysvmsg
          sysvsem
          sysvshm
          tokenizer
          wddx
          xml
          xmlreader
          xmlwriter
          xsl
          Zend OPcache
          zlib

          [Zend Modules]
          Zend OPcache

          There are 89 versions of PHP 7, can you please be a bit more specific?

          Anything in your PHP or Apache error logs?

            ntozier
            PHP 7.0.33-0ubuntu0.16.04.4 (cli) ( NTS )
            Copyright (c) 1997-2017 The PHP Group
            Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
            with Zend OPcache v7.0.33-0ubuntu0.16.04.4, Copyright (c) 1999-2017, by Zend Technologies

            Logfiles show lot's of notice in file class.orm.php, but it doesn't make any sense to me. Nothing I could refer a 500 error to. I can upload the whole file if you like?

            ntozier To make it less search work i've let the problem accour, log files in attachment

            archief.zip
            2kB

            The attached files does not appear to work.

            I get
            {"errors":[{"code":500,"title":"Internal server error"}]}
            when i click on it.

              ntozier Wierd haha, You can try http://nedkom.nl/Archief.zip or Read below.

              Error log:
              [Mon Jun 24 15:43:05.827356 2019] [mpm_prefork:notice] [pid 178547] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured -- resuming normal operations
              [Mon Jun 24 15:43:05.827415 2019] [core:notice] [pid 178547] AH00094: Command line: '/usr/sbin/apache2'
              [Mon Jun 24 15:43:41.352261 2019] [:error] [pid 178561] [client 213.127.134.195:59040] PHP Fatal error: Uncaught Error: Call to a member function getBody() on null in /var/www/osticket/include/plugins/osticket-slack-master/slack.php:41\nStack trace:\n#0 /var/www/osticket/include/class.signal.php(98): SlackPlugin->onTicketCreated(Object(Ticket), NULL)\n#1 /var/www/osticket/include/class.ticket.php(4047): Signal::send('ticket.created', Object(Ticket))\n#2 /var/www/osticket/open.php(44): Ticket::create(Array, Array, 'Web')\n#3 {main}\n thrown in /var/www/osticket/include/plugins/osticket-slack-master/slack.php on line 41, referer: https://support.nedkom.nl/open.php

              Acces Log:

              213.127.134.195 - - [24/Jun/2019:15:43:17 +0200] "GET /open.php HTTP/1.1" 200 6416 "https://support.nedkom.nl/login.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:17 +0200] "GET /css/osticket.css?a076918 HTTP/1.1" 200 1138 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/redactor.css?a076918 HTTP/1.1" 200 12742 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/css/theme.css?a076918 HTTP/1.1" 200 5933 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/css/print.css?a076918 HTTP/1.1" 200 833 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/font-awesome.min.css?a076918 HTTP/1.1" 200 4857 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/thread.css?a076918 HTTP/1.1" 200 3323 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/ui-lightness/jquery-ui-1.10.3.custom.min.css?a076918 HTTP/1.1" 200 4383 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /scp/css/typeahead.css?a076918 HTTP/1.1" 200 1217 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/flags.css?a076918 HTTP/1.1" 200 1961 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/rtl.css?a076918 HTTP/1.1" 200 1282 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /css/select2.min.css?a076918 HTTP/1.1" 200 2344 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/osticket.js?a076918 HTTP/1.1" 200 3406 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/jquery-3.4.0.min.js?a076918 HTTP/1.1" 200 31229 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/filedrop.field.js?a076918 HTTP/1.1" 200 7154 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/jquery-ui-1.12.1.custom.min.js?a076918 HTTP/1.1" 200 68935 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /scp/js/bootstrap-typeahead.js?a076918 HTTP/1.1" 200 3261 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/redactor-plugins.js?a076918 HTTP/1.1" 200 16143 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/redactor-osticket.js?a076918 HTTP/1.1" 200 5002 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/redactor.min.js?a076918 HTTP/1.1" 200 40611 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/select2.min.js?a076918 HTTP/1.1" 200 19539 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /js/fabric.min.js?a076918 HTTP/1.1" 200 61955 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /ajax.php/i18n/nl/js HTTP/1.1" 304 302 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/page_bg.png HTTP/1.1" 304 209 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/icons/home.png HTTP/1.1" 304 209 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /images/flags.png HTTP/1.1" 304 211 "https://support.nedkom.nl/css/flags.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/icons/new.png HTTP/1.1" 304 209 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/nav_bg.png HTTP/1.1" 304 209 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /logo.php HTTP/1.1" 304 303 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/icons/status.png HTTP/1.1" 304 209 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:18 +0200] "GET /assets/default/images/poweredby.png HTTP/1.1" 304 210 "https://support.nedkom.nl/assets/default/css/theme.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              ::1 - - [24/Jun/2019:15:43:23 +0200] "OPTIONS HTTP/1.0" 200 126 "-" "Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g (internal dummy connection)"
              ::1 - - [24/Jun/2019:15:43:24 +0200] "OPTIONS
              HTTP/1.0" 200 126 "-" "Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g (internal dummy connection)"
              213.127.134.195 - - [24/Jun/2019:15:43:31 +0200] "GET /ajax.php/form/help-topic/13 HTTP/1.1" 200 1858 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:31 +0200] "GET /assets/font/fontawesome-webfont.woff?v=3.2.1 HTTP/1.1" 200 43987 "https://support.nedkom.nl/css/font-awesome.min.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:39 +0200] "GET /images/FhHRx-Spinner.gif HTTP/1.1" 200 3104 "https://support.nedkom.nl/css/osticket.css?a076918" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:39 +0200] "POST /open.php HTTP/1.1" 500 476 "https://support.nedkom.nl/open.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"
              213.127.134.195 - - [24/Jun/2019:15:43:41 +0200] "GET /favicon.ico HTTP/1.1" 404 567 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:67.0) Gecko/20100101 Firefox/67.0"

              @thijskossen

              If you read the error:

              PHP Fatal error: Uncaught Error: Call to a member function getBody() on null in /var/www/osticket/include/plugins/osticket-slack-master/slack.php:

              It says that the system is trying to call getBody() on null...I'm assuming null is supposed to be a thread entry object or something. Anywho, you should contact the plugin developer for further assistance or just remove the plugin altogether.

              Cheers.