Forum

Blank Popup's in osTicket Helpdesk

Newbie
10 February 2016, 21:59
Hi,
i want to run osTicket [osticket.com.de] with Hiawatha. But i can't work with them because all Popup's are blank.
I've tested in a virtualbox-VM with Debian Wheezy, PHP 5.6 from dotdeb and MariaDB 10.1

Can somebody help me?
Hugo Leisink
11 February 2016, 07:22
Any info in the logfiles?
Newbie
11 February 2016, 13:06
The error.log is empty and in the access.log are only the requests.

Here my hiawatha.conf:
# Hiawatha main configuration file

# GENERAL SETTINGS
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log

# BINDING SETTINGS
Binding {
Port = 80
}

# COMMON GATEWAY INTERFACE (CGI) SETTINGS
CGIhandler = /usr/bin/php-cgi:php

# DEFAULT WEBSITE
Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log

# VIRTUAL HOSTS
VirtualHost {
Hostname = support.fritz.box
WebsiteRoot = /var/www/support/www
StartFile = index.php
AccessLogfile = /var/www/support/log/access.log
ErrorLogfile = /var/www/support/log/error.log
ExecuteCGI=yes
}

VirtualHost {
Hostname = pma.fritz.box
WebsiteRoot = /usr/share/phpmyadmin
StartFile = index.php
AccessLogfile = /var/www/support/log/access.log
ErrorLogfile = /var/www/support/log/error.log
ExecuteCGI=yes
}
Newbie
11 February 2016, 13:28
I've also tested on the same machine with an other webserver (cherokee and apache) and there the heldesk works correct
Hugo Leisink
11 February 2016, 13:42
I did a quick test installation. It all worked fine here. What do you mean by popup's? What exactly isn't working?
Newbie
11 February 2016, 13:50
An example:
During the installation was created an example ticket.
I hit the checkbox for this ticket and click on delete, then it open a popup (where i must confirm the delete) and i see this --> http://i.imgur.com/wqlkNxm.png
Hugo Leisink
11 February 2016, 13:53
Can that link be opened in a different window or tab? What is the URL of the ticket popup?
Newbie
11 February 2016, 14:02
When I right-klick and choose 'open in new tab', I get the same page.
In the statusbar from the browser don't will be show a URL for the popup.
An other example: When I hover the mouse to the question mark, i also get a blank popup, see there -> http://i.imgur.com/EQTDn0Z.png
Hugo Leisink
11 February 2016, 14:04
Hmm, I have no idea. This is clearly an osTicket issue. Not a Hiawatha issue. I can't tell what goes wrong because the application gives no error message whatsoever.
Newbie
11 February 2016, 14:20
I've read something in the net about similar problems and find out, that it could be a rewrite problem. In the root directory from osTicket is a file web.config within some rewrite rules:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>

<system.webServer>
<directoryBrowse enabled="false" />
<rewrite>
<rules>
<rule name="HTTP api" stopProcessing="true">
<match url="^(.*/)?api/(.*)$" ignoreCase="true"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile"
ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory"
ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="{R:1}api/http.php/{R:2}"/>
</rule>
<rule name="Site pages" stopProcessing="true">
<match url="^(.*/)?pages/(.*)$" ignoreCase="true"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile"
ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory"
ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="{R:1}pages/index.php/{R:2}"/>
</rule>
<rule name="Staff applications" stopProcessing="true">
<match url="^(.*/)?scp/apps/(.*)$" ignoreCase="true"/>
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile"
ignoreCase="false" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory"
ignoreCase="false" negate="true" />
</conditions>
<action type="Rewrite" url="{R:1}scp/apps/dispatcher.php/{R:2}"/>
</rule>
</rules>
</rewrite>
<defaultDocument>
<files>
<remove value="index.php" />
<add value="index.php" />
</files>
</defaultDocument>
</system.webServer>

</configuration>

But I don't know if it is important for my problem and I also don't know, how I can convert this rules into URLToolkit
Hugo Leisink
11 February 2016, 14:22
Do Apache or Cherokee require some sort of URL rewriting rules?

Try adding the following line to your virtual host configuration:
EnablePathInfo = yes
Newbie
11 February 2016, 14:28
Yeeaahh
This option solved the problem!

Thank you very much for your excellent support
This topic has been closed.