Author: 永夜
-
Post Views: 13 1. Open the URL:http://www.aaaacn.net/wp-admin/install.php,报错:HTTPError 500, as shown in Figure 1 2. Open the URL:http://www.aaaacn.net/phpinfo.php,正常运行,如图2 3. Check virtualhost conf: /usr/local/nginx/conf/vhost/www.aaaacn.net.conf 4. Check rewrite rule: /usr/local/nginx/conf/rewrite/wordpress.conf 5. Check the directory permissions, and find that the files in the WordPress directory, permission users and user groups are no longer WWW, but root, it should be because the files in the…
-
Post Views: 15 1. In phpstorm, the prompt: return value is expected to bearray,boolReturned less… (Ctrl+F1), as shown in Figure 1 2. Return value is expected to bearray,boolReturned Less… (Ctrl+F1) Inspection Info: Return Value Type is not compared with declared. The return value is expected to bearray,boolFewer returned…(Ctrl+F1) Verification information: The return value type is not compatible with the declaration.…
-
Post Views: 15 1. http request, get the tenant list 2. Get the tenant list (two-dimensional array), and convert the multi-dimensional array of a tree structure into a two-dimensional array
-
Post Views: 14 1. In the submission of a developer, there is a conflicting file, and the conflict is forced to submit, as shown in Figure 1 2. Decide to delete several possible conflicting files to delete, and reset the version to the latest valid submission, as shown in Figure 2 3. Select hard reset, and discard all subsequent commits…
-
Post Views: 49 1. Execute the command in CentOS 7.6 64-bit: yum makeCache to update the cache of the yum source, and report an error: There are no enabled repos, as shown in Figure 1 2. Decided to reinstall the 7.6 release package, first go to the Alibaba Yunyuan website, find the corresponding release package, and copy its link, as…
-
Post Views: 11 1. Column configuration: pa_config_column, as shown in Figure 1 2. Column staff configuration: PA_CONFIG_COLUMN_USER, as shown in Figure 2 3. Topic: PA_plan, as shown in Figure 3 4. Topic selection task: PA_PLAN_TASK, as shown in Figure 4 5. Task management – my task, query rules (1) The tenant ID of the task is the tenant ID of…
-
Post Views: 51 1. Request in Postman: https://api.channel-pub.wjdev.chinamcloud.cn/qq/v1/qq-cw-apps?group_id=spider , error: self-signed ssl certificates are being blocked, as shown in Figure 1 2. In the browser firefox Medium request: https://api.channel-pub.wjdev.chinamcloud.cn/qq/v1/qq-cw-apps?group_id=spider , prompt: api.channel-pub.wjdev.chinamcloud.cn uses an invalid security certificate. , as shown in Figure 2 3. Add a security exception to the browser Firefox, as shown in Figure 3 4. In the…
-
Post Views: 41 1. In Postman, posthttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users201 response, the status value is 1 by default 2. In Postman, deletehttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users/1, 200 responses 3. In Postman, posthttp://api.github-shuijingwan-yii2-app-advanced.localhost/v1/users,422 response, not as expected, expected to be 201 response, because “username”: “111111” has been deleted 4. Create a new \console\migrations\m180925_054952_add_is_deleted_and_deleted_at_to_user.php. Update field, status, status, 0: disabled; 1: enabled, default: 1. Added field, is_deleted, whether it…
-
Post Views: 49 1. When using Composer to upgrade from Yii 2.0.x, an error is reported:[ErrorException]undefined variable: nameMatchesRequiredPackage, as shown in Figure 1 2. Update 3 packages, first update the first 2, no errors are reported, and then update the third one, the error is reported, the search dependency package in the current project Bower-asset/jQuery.inputMask, does not exist, as shown…
-
Post Views: 14 1. All Rancher environment variables at this stage have no default values, so they must be clearly set in the Rancher environment variables, as shown in Figure 1 2. The configuration file of the previous environment variable, if the environment variable is not set: channel_pub_api_cfg_db_table_pr efix, then set its default value to: channel_pub_api_cfg_db_table_prefix, that is, its value…