Author: 永夜
-
Post Views: 18 1. Change the maximum width of the website of the WordPress theme: 1680 px, as shown in Figure 1 2. Check the thumbnail image of the home page, its original size is: 720 * 340 px, which has now been enlarged to: 1020 * 360 px, which has become not clear enough, as shown in Figure 2…
-
Post Views: 17 1. Check composer.json, prepare to uninstall the package: MoonToast Math Library 2. Use help to obtain the help information of the relevant command: remove, refer to the URL:https://getcomposer.org/doc/03-cli.md#remove 3. After the remove command deletes the dependent package relationship from the composer.json file in the current directory, the package corresponding to the relationship will be uninstalled and its…
-
Post Views: 18 1. Composer has been installed before, to ensure the latest version is used. You can update Composer to version 1.9.2 by running composer self-update, as shown in Figure 1 2. Updating Yii 2 to the latest version by running Composer Update, the Yii Framework has been upgraded from version 2.0.15.1 to 2.0.31, as shown in Figure 2…
-
Post Views: 16 1. Composer installation: nicolab/php-ftp-client reports an error: The requested php extension ftp is missing from your system, as shown in Figure 1 2. The Windows version of PHP has built-in support for this extension. Edit C:\PHP-7.2.14\php.ini, enable extension: FTP 3. Install again, the installation is successful, as shown in Figure 2
-
Post Views: 17 1. When the environment of the application running is the development environment, that is, when the value of yii_env is dev, close the schema cache and edit environments/dev/common/config/main-local.php 2. When the application running environment is the production environment, that is, when the value of yii_env is prod, turn on the schema cache, edit environments/dev/common/config/main-local.php 3. After enabling…
-
Post Views: 14 1. An error occurred while updating in WordPress: the download failed. Too many requests, as shown in Figure 1 2. Open the URL:https://wordpress.org/, Response: 429 Too many requests, so it seems that the reason is that the official WordPress website is blocked in China. as shown in Figure 2 3. After connecting the blue light locally, you…
-
Post Views: 56 1. When saving tasks in Zen Dao, respond to 405, prompt: I’m sorry, because the URL you visit may pose a security threat to the website, your access is blocked. as shown in Figure 1 2. Carefully analyze the saved task content, there is the union all keyword, as shown in Figure 2 3. Delete union all,…
-
Post Views: 11 1. Refer to the Go guide, web server, write file: web-servers.go 2. Accesshttp://localhost:4000/When prompted: The website cannot be accessed, as shown in Figure 1 3. Run in PowerShell: go run web-servers.go, visit againhttp://localhost:4000/When, the output: hello!, as shown in Figure 2