Author: 永夜
-
Post Views: 16 1. Previous:https://www.shuijingwanwq.com/2017/11/30/2084/ 2. The existing default interface, as shown in Figure 1 3. The designed UI interface needs to be implemented in this way, as shown in Figure 2 4. Copy:\vendor\bower\admin-lte\build\less\variables.less To: \backend\web\themes\default\css\variables.less, clear all the contents 5. Create a new one: \backend\web\themes\default\css\_all-skins.less, as shown in Figure 3 6. Create a new one: \backend\web\themes\default\css\adminlte.less, as shown in…
-
Post Views: 13 1. Open the URL:https://www.genymotion.com/download/, since the Oracle VM VirtualBox has been installed, so choose Without VirtualBox, as shown in Figure 1 2. After the installation is complete, create a new virtual device, select 7.0.0 for Android version, and finally select Samsung Galaxy S8 – 7.0.0, the next step, as shown in Figure 2 3. After the new…
-
Post Views: 16 1. Under Windows 10, Nginx 1.10.1, execute the command: nginx -s reload, reload the nginx configuration, and report an error: nginx:[emerg]host not found in upstream “default.creditshop.shenzhen.localhost” in c:/nginx-1.10.1/conf/vhosts/credits Hop_shenzhen.conf:26, as shown in Figure 1 2. Check the Nginx configuration file and find that an error is reported at proxy_pass, as shown in Figure 2 3. Edit the…
-
Post Views: 47 1. On the morning of the first day after Google Chrome is upgraded to 63, open: http://www.cmcp-backend.dev/ , automatically jump to: https://www.cmcp-backend.dev/ , as shown in Figure 1 2. Open the URL: https://chromium-review.googlesource.com/c/chromium/src/+/669923 , it is .dev gtld preloads hsts, as shown in Figure 2 3. One of the solutions is: the local development machine can provide…
-
Post Views: 14 1. Use npm to install the less compiler, check the npm version, as shown in Figure 1 npm -v 2. Install the Less compiler globally, run npm in phpstorm, select file, and open settings, as shown in Figure 2 3. Click Node.js and npm under “Language and Framework”, and on the opened Node.js and npm page, pack…
-
Post Views: 57 1. Error report: unserialize(): unexpected end of serialized data, as shown in Figure 1 4. Edit \framework\web\CurlManager.php, and print out self::cache_key, as shown in Figure 4 5. Print the result, its value is: yii.curlmanager.rules, as shown in Figure 5 6. Open the URL: https://github.com/yiisoft/yii/issues/4137 and find that there is the same problem, as shown in Figure…
-
Post Views: 13 1. Create a new directory: \backend\views\themes\default, specify the base directory containing the theme resources (css, js, images, etc.), as shown in Figure 1 2. Copy the directory: all files under \backend\views\ (excluding themes), as shown in Figure 2 3. Paste it to the directory: \backend\views\themes\default\, the copy has been successful, as shown in Figure 3 4. Configure…
-
Post Views: 16 1,composer install When prompted: package yiisoft/yii2-codeception is bandoned, you should avoid using it. Use codeception/codeception Instead., as shown in Figure 1 2. Execute the command:composer show -s, only list the current project information, as shown in Figure 2 3. Check the requirements (dev) option and find that codeception/codeception already exists, so you only need to delete yiisoft/yii2-codeception,…
-
Post Views: 50 1. Install V3 through npm, as shown in Figure 1 npm install bootstrap@3 2. Install Grunt to compile css and javascript files. Due to the slow installation speed of npm, finally choose cnpm, as shown in Figure 2 (1) Install grunt-cli in the global environment:npm install -g grunt-cli (2) Enter the /bootstrap/ root directory, and then execute…
-
Post Views: 13 1. Edit \app\config\core.php, configure::write(debug, 2), as shown in Figure 1 2. Edit \App\View\Layouts\Base.ctp, <?php echo $this->element(sql_dump); ?>, as shown in Figure 2 3. After the GET request, print out the SQL statement that has been executed in the view, as shown in Figure 3 4. If it is a POST request, after the final execution is successful,…