Category: Web Application Development
-
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. The current upgrade plan, after the Rancher container is upgraded, enter the Docker container and run it in sequence on the command line: 2. The problem with the current upgrade plan is that sometimes after the Rancher container is upgraded, the operation and maintenance personnel need to paste and run at least 2 commands in each…
-
Post Views: 14 1. The web application authorization of the micro-connection of Weibo (the user who guides the user to enter the authorization page to log in to the authorization page to agree to the web application of the micro-connection of Weibo), the rap document, as shown in Figure 1 2. Since the channel publishing interface is the underlying service,…
-
Post Views: 20 1. Open the URL in the browser:http://www.channel-pub-api-localhost.chinamcloud.com/weibo-oauth2/authorize-update?group_id=spider&channel_app_source_uuid=269f68bc098011e9b1c354ee75d2ebc1&user_name=华栖云1658397962&permission=4&status=1&redirect_uri=aHR0cDovL3d3dy56bXQuY29tLw%3D%3D, at this time the verification rule takes effect, as shown in Figure 1 2. The verification rules are: Permission: optional, permission, 1: synchronization; 2: release; 3: synchronization and release 3. At this time, the value of Permission in the database is 2, and the value of updated_at is 1545961613, as…
-
Post Views: 57 1. Execute Vagrant on Windows 10 and report an error: Vagrant failed to initialize at a very early stage, as shown in Figure 1 2. The reason should be that Vagrant has been updated recently, and Vagrant can be automatically tried by running the following command (remove and reinstall All plugins), follow the prompts to execute the…
-
Post Views: 39 1. The copy API application is QQ and WX. After adjusting the corresponding configuration, the final application directory structure is as follows 2. Nginx-based single domain name configuration on Yii 2 advanced project template, refer to the website:https://www.shuijingwanwq.com/2018/08/16/2836/, the API application is cross-channel, the QQ application is Penguin, and the WX application is the WeChat public account,…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…