Common problem

No input file specified error on Apache server

Find the php5.ini file in the root directory (if you can't find it, create one), add the following contents

 Cgi.fix_pathinfo = 1

Nginx server can not login backstage, appear "405, method not allowed".

Upgrade nginx to 0.7 or more than 0.7 version.

Nginx server can not login back stage, click on the front link or the background login appears "404, not found".

In general, location settings in nginx.conf are similar to this.

 Location ~.*\.php$

To support pathinfo, we need to change it into one.

 Location ~.*\.php (\ / * *) * $

In some old versions of PHP, you may also have to open cgi.fix_pathinfo in php.ini.

 Cgi.fix_pathinfo = 1

The Nginx server can not be pseudo static, and is not successfully installed in the background.

This is mainly due to the fact that nginx's rewrite is not set.

Find the server configuration section of the website in nginx.conf. Generally we recommend the following configuration.

 Server {
listen 80; 
server_name yourdomain.com; 
root /home/yourdomain/www/; 
index index.html index.htm index.php; 

if ((index.htm)) ^ (*.) $$; * ~ (() / *.) * $;

 :! Pay attention to changing the yourdomain in the above configuration to your actual domain name and actual directory storage address.

Classification / label count is not allowed.

Solution: select all categories / labels, click on the selected item and then refresh.

How to customize attachments upload directory

stay Config.inc.php A new line of code can be added to it. Your_upload_dir The directory you want to upload:

 Define ('__TYPECHO_UPLOAD_DIR__','your_upload_dir');

After the upgrade, web site prompt 500 error.

  1. Reason 1: template is not found. Solution: enter the background and choose the template again.
  2. Reason 2: jurisdiction. Solution: reconfigure the Typecho directory. Chmod -Rf 644 * If it is not yet, it will be implemented. Chmod -Rf 755 *
Print / export
language
  ?