mirror of
https://github.com/claudehohl/Stikked.git
synced 2025-04-26 04:51:08 -05:00
54 lines
1.0 KiB
Markdown
54 lines
1.0 KiB
Markdown
Stikked troubleshooting guide
|
|
-----------------------------
|
|
|
|
### 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.
|
|
|
|
### 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, and we will add your problem to this guide.
|