Category: Web Application Development
-
Post Views: 15 1. An error is reported during the database migration of Yii 2.0: Exception: Redis Error: ERR client sent auth, but no password is set. as shown in Figure 1 2. Open the terminal and connect to redis-cli, and test the auth redis. Error: (Error) ERR client sent auth, but no password is set 3. Edit redis.windows.conf and…
-
Post Views: 16 1. After the upload of the picture is successful, the GET request:https://console.xxx.cn/upload/20210319/20210385015127.png, the response 500. The root cause is that the domain name of the image after the upload is successful is not:https://console.xxx.cn, but:https://web.xxx.cn. as shown in Figure 1 2. Open the Initiator tab, view the request call stack, and execute the GET request on line 516…
-
Post Views: 18 1. The current base url is /,https://creditshopback.xxx.cn/. Response 200. as shown in Figure 1 2. Edit the program file and output the current version number: 2.6.4. as shown in Figure 2 3. Now the expected URL is adjusted to:https://console.xxx.cn/creditshopback. Refer to the development and installation method:https://book.cakephp.org/2/zh/installation.html. as shown in Figure 3 4. View the current Nginx configuration…
-
Post Views: 14 1. The deployment of Weiqing, the home URL at this stage is:https://cmpmain.xxx.com. Its base url is: /web/index.php. as shown in Figure 1 2. The deployment of Weiqing, I hope to adjust it, its home url is:https://front.xxx.com. To ensure that the domain names of all products are unified. Its base url is: /cmpmain/web/index.php. 3. The nginx configuration file…
-
Post Views: 13 1. Reference URL:https://www.shuijingwanwq.com/2020/09/30/4552/, this is a previous blog. 2. When the cluster is deployed, the overall 4 groups of queues are all executed. It can be controlled within half an hour. However, sometimes, the length of time is still uncontrollable, and may even exceed an hour. 3. Decide to print log information in the relevant places in…
-
Post Views: 17 1. Expect the generated SQL statement, as shown in Figure 1 2. LIKE: The first operand should be a field name or dB expression, and the second operand can make a string or an array, representing the value of the first operand that needs to be fuzzy. For example,[‘like’, ‘name’, ‘tester’]will generate name like%tester%. If the range…
-
Post Views: 15 1. PHP fatal errorYii\Base\ErrorExceptionwith messageAllowed memory size of 2147483648 bytes exhausted (Tried to allocate 1084897244 bytes). as shown in Figure 1 2. Downloaded files:https://webtv-test.oss-cn-beijing.aliyuncs.com/rmhadmin/vod/2020/12/02/b73b9e8c3796447494a9dbe6dc66e2ad/b73b9e8c3796447494a9dbe6dc66e2ad_h264_1200k_mp4.mp4. Its size is 1.44 GB. In the local environment, this file is successfully downloaded, memory usage: 6.376 MB, time consuming: 916,308 ms. as shown in Figure 2 3, the uploaded file, its size…