catalog
common problem
No input file specified error on Apache server
cgi.fix_pathinfo = 1
Nginx server cannot log in to the background, and "405, method not allowed" appears
The Nginx server cannot log in to the background. When you click the foreground link or log in to the background, "404, not found" appears
location ~ .*\.php$
location ~ .*\.php(\/.*)*$
cgi.fix_pathinfo = 1
Nginx server failed to realize pseudo static, and failed to set in the background
server { listen 80; server_name yourdomain.com; root /home/yourdomain/www/; index index.html index.htm index.php; if (!-e $request_filename) { rewrite ^(.*)$ /index.php$1 last; } location ~ .*\.php(\/.*)*$ { include fastcgi.conf; fastcgi_pass 127.0.0.1:9000; } access_log logs/yourdomain.log combined; }
Inaccurate classification/label count
How to customize attachment upload directory
define('__TYPECHO_UPLOAD_DIR__', 'your_upload_dir');
After upgrading, the website prompts 500 errors
Reason 1: The template could not be found. Solution: Enter the background and reselect the template. Cause 2: Permission problem. Solution: reset permissions on the typecho directory chmod -Rf 644 * , if not, execute chmod -Rf 755 *