Apple CMSv10 common problem solving method

Original Excerpt: https://www.mytheme.cn/article/116.html

The following is a collection of Apple CMSv10 common problem solving methods in use. Please find the correct answer to solve problems according to their own problems.

1, upload files fail FAQ?
As a result of the latest TP framework, the need to open php fileinfo support library, in php.ini extension = php_fileinfo.dll; pagoda panel installed directly fileinfo plug-ins.
Failed to upload file problem please check the temporary file directory permissions and php cms system file storage directory permissions.
windows system is generally: C: / windows / temp, linux system is generally / var / tmp. cms storage directory for upload.
If you turn on third-party storage, check the tripartite store configuration information is complete.
Finally, check the php.ini configuration file post and upload size limit, you can modify the value larger.
= 8M upload_max_filesize
post_max_size 10M =

2, if you are using php5.6 version (php7 versions are not affected), also need to set php.ini open always_populate_raw_post_data = -1 This option, which is to remove the semicolon in front of this configuration can be or upgrade php version 7.0 and above.
-
-
3, run the installation page blank page, which is generally not the case for the Runtime write permissions to modify directory, open the directory permissions to

4, SQLSTATE [22001]: String data, right truncated: 1406 Data too long for column '' at row 1 or Warning: 1265 Data truncated for column similar error **

The error field is inserted is longer than the length of the set, the program is provided generally in the database character length field rarely before the insertion procedure first determines the data length of the data taken and this will affect the performance, so you need to change your profile database general search sql-mode in MYSQL installation directory of my.ini

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Wherein the STRICT_TRANS_TABLES, this method is recommended to remove

sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

Or to

sql-mode = "STRICT_TRANS_TABLES, NO_AUTO_CREATE_USER, NO_ENGINE_SUBSTITUTION" delete

5, database connection profile.

RE: Manually modify the database connection information, database passwords and other modifications in accordance with this directory /application/database.php

6, reinstall the program to delete install.lock.
RE: If you need to quickly reinstall the system, delete /application/data/install/install.lock files.
-
-
7. collection Union repository or other repository why not play? (Resource type is youku, tudou, iqiyi etc.) Third Party Website
RE: 1, upload or import player js file resource station. 2 embodiment, the global open and parse parse or separate player resolution status.

8, under the pagoda Nginx environment, after the installation is complete unless all the other pages Home abnormal 404 problems?
RE: method, enter the pagoda software settings, find the corresponding version of php - setting, install the extension, find PATH_INFO this, click Close, and then reinstall it ok, this may be the pagoda bug.
-
-
9. After data collection why not play? ? ?
RE: First check whether the player station resources to import. Check the playing address data collection, if it is done http address resolution status may want to turn the player playing by parsing; if the data ID can be acquired directly with a local player to play.
-
-
10. Why the new classification increased, suggesting no authority to enter the front page? ? ?
RE: Because the new classification added default are all members of the group do not have permission, you need to enter the configuration of each member of the group to add a new set of classification authority, to save what can be the tick.
-
-
11, the routing rules make mistakes, right pages are not open, how to restore the default? ? ?
RE: download the full installation package, copy the application / route.php replacement to the site where you can open, and then re-edit the correct routing rule in the background.
-
-
In addition to 404 others are home how to do 12, nginx next? Amend the pseudo-static rules can generally be resolved. If you modify the background file entry admin.php, will be replaced by the corresponding file name. Please refer to the specific settings: https://www.cnblogs.com/mytheme/p/11607549.html

if (!-e $request_filename) {
rewrite ^/index.php(.*)$ /index.php?s=$1 last;
rewrite ^/admin.php(.*)$ /admin.php?s=$1 last;
rewrite ^/api.php(.*)$ /api.php?s=$1 last;
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}

  

Guess you like

Origin www.cnblogs.com/mytheme/p/11613794.html