aboutsummaryrefslogtreecommitdiffstats
path: root/doc/TROUBLESHOOTING_GUIDE.md
blob: bd4c2519855e36447832bf5aa7295c97beb8eb23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
Stikked troubleshooting guide
-----------------------------

First, be sure to double-check whether you meet the [prerequisites](//github.com/claudehohl/Stikked#prerequisites).

### Apache

#### 404 Not Found after creating a Paste

Rewrite rules must be enabled in httpd.conf.

Enable it by executing the following command:

```a2enmod rewrite```

### Nginx

#### 502 Bad Gateway

PHP FastCGI must be running. Here's my /etc/init.d/php-fcgi config:

```bash
#!/bin/bash

FASTCGI_USER=www-data
FASTCGI_GROUP=www-data
ADDRESS=127.0.0.1
PORT=9000
PIDFILE=/var/run/php-fastcgi.pid
CHILDREN=6
PHP5=/usr/bin/php5-cgi

/usr/bin/spawn-fcgi -a $ADDRESS -p $PORT -P $PIDFILE -C $CHILDREN -u $FASTCGI_USER -g $FASTCGI_GROUP -f $PHP5
```

You can adapt that to your system.

### Lighttpd

#### 503 - Service Not Available

PHP FastCGI must be running. See the php-fcgi section under Nginx.

#### Lighttpd + mod_rewrite requires $config['uri_protocol'] = 'QUERY_STRING'

If you're using Lighttpd and mod_rewrite, you need to set $config['uri_protocol'] = 'QUERY_STRING' in htdocs/application/config/config.php

### Cherokee

### PHP

#### The QR file isn't created and the image isn't showed

You need to have the GD extension for PHP installed and enabled so that the QR codes are rendered.

Still have a problem?
---------------------

Report an issue [at GitHub](//github.com/claudehohl/Stikked/issues), and we will add your problem to this guide.

© 2014-2024 Faster IT GmbH | imprint | privacy policy