Category: PHP 7.2
-
Post Views: 14 1. Open the desktop application terminal, the interface, as shown in Figure 1 2. Interface: my topic selection (get a list of topics), the response structure in postman, as shown in Figure 2 3. Prototype design on the mobile application side, as shown in Figure 3 4. At this stage: the subsequent iterative development stage, the desktop…
-
Post Views: 15 1. The data structure of the A table, as shown in Figure 1 2. The data structure of the B table, as shown in Figure 2 3. The current requirement is that 8 fields in the A table need to be queried, inserted into the B table, and the following commands are used to create a new…
-
Post Views: 13 1. Check the relevant information of phpinfo(), and confirm to download the version of xdebug, VC15 x64 Thread Safe, as shown in Figure 1 2. Open the URL:https://xdebug.org/download.php, download PHP 7.2 VC15 TS (64 bit), as shown in Figure 2 3. Copy php_xdebug-2.7.1-7.2-vc15-x86_64.dll to C:\php-7.2.14\ext\php_xdebug.dll, in Add a new line to php.ini, restart php 4. Check the…
-
Post Views: 46 1. Execute the command and report an error: php warning: strpos(): empty needle in E:\WWWRoot\PCS-API\Vendor\yiisoft\yii2\log\target.php on line 243, as shown in Figure 1 2. View \console\runtime\logs\app.log 3. Edit on the command line 4. Edit on the command line. Once an exception is thrown in the console command line, when writing to the log, an error will be…
-
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. 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: 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: 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…