Year: 2020
-
Post Views: 15 1. In Windows 10 64-bit, PHP 7.4.6, an error is reported: php warning: php startup: unable to load dynamic libraryimagick(Tried: c:/php-7.4.6/ext\imagick, as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2017/08/30/1768/, had a similar problem in PHP 7.0 before 3. Open:http://windows.php.net/downloads/pecl/deps/, download: imagemagick-7.0.7-11-vc15-x64.zip, as shown in Figure 2 4. Create a new directory: C:\imagemagick-7.0.7, copy the directory: d:\soft\imagemagick-7.0.7-11-vc15-x64\bin All files…
-
Post Views: 14 1, CMCConsoleUser/ActionSync, existing implementation, reference:https://www.shuijingwanwq.com/2020/03/02/3964/, now need to add parameters: tenant ID 2. The parameter will be passed to the action method corresponding to the requested subcommand. Set the default value of the parameter $groupid to null 3. Determine whether the $groupId is empty, if it is not empty, and it does not exist in $HttpCMCAPiGroupIds, it…
-
Post Views: 13 1. In Appearance – Theme, when the mouse is placed on the corresponding theme, there are only enable and real-time preview buttons, no delete button, as shown in Figure 1 2. Click the subject details to enter, there is a delete button in the lower right corner of the topic. as shown in Figure 2 3. Click…
-
Post Views: 13 1. The request interface, the total number of resources in the response parameters is 30. Resources containing ids equal to 37918 are duplicates. A total of 2. as shown in Figure 1 2. Check the model class, /common/models/redis/cmc_console/user.php 3. Check /common/components/redis/activerecord.php , which defines the prefix and applies to all AR keys. 4. Open RedisDesktopManager, check the…
-
Post Views: 11 1. When multiple database connection components have been added in Yii 2.0 2. The strategy to migrate multiple databases is to store the migration to different directories. A connection component corresponds to a directory. DB directory: /console/migrations/. Directory of statdb: /console/migrations/stat_db/. as shown in Figure 1 3. When generating the migration file under statdb, you need to…
-
Post Views: 17 1. When multiple database connection components have been added in Yii 2.0 2. When statdb is selected for the database connection ID, only the data table under statdb will appear in the drop-down list of the table name, as shown in Figure 1 3. When the model file under statdb is generated, getdb() is additionally generated, as…
-
Post Views: 15 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…
-
Post Views: 50 1. Report an error in the shell:[!: command not found,如图1 [Caption id=”attachment_4126″ align=”alignnone” width=”1363″]#ATFP_CLOSE_Translate_span# Figure 1[/caption] 2. Edit /build/c_files/config/init/console_init.sh. at[]Add spaces before and after. as shown in Figure 2 3. There is no error in the shell. And the error: unlinking stale socket /var/run/supervisor/supervisor.sock has also disappeared. as shown in Figure 3