Author: 永夜

  • Post Views: 15 1. When upgrading the container in Rancher, an error is reported: channel_pub_api_cfg_app_avatar_upload_path: unbound variable. as shown in Figure 1 2. View the file: /config/init/config0.sh. 3. Even in Rancher Add environment variables: channel_pub_api_cfg_app_avatar_upload_path_url, channel_pub_api_cfg_app_avatar_upload_path . The same error is still reported. as shown in Figure 2 4. Assign the environment variable in Rancher: channel_pub_api_cfg_app_avatar_upload_path A specific value. The…

  • Post Views: 16 1. Yii2 queue extension, in the Redis driver, when the info command prints information about the queue status, the queue of the reserved state has always existed. Check the system log, there is no abnormal output. Reference URL:https://www.shuijingwanwq.com/2019/12/16/3737/. as shown in Figure 1 2. Check the running status of supervisord: supervisorctl status. Delete the task group queue,…

  • Post Views: 18 1. Check the search model file: /common/logics/weiboWeiBoConnectWebAppUsersarch.php. 7. Edit method entry file: /weibo/rests/weibo_weibo_connect_web_app_user/indexaction.php. Implement the search and sorting of the channel_app_task_count. The inclusion of channel_app_task_count is prerequisite for the channel_app_task field status of 6. 2. View the method entry file: /weibo/rests/weibo_weibo_connect_web_app_user/indexaction.php.

  • Post Views: 12 1. Title: Enable the topic selection test and save it successfully. Network Response: The value of error_code is 0. as shown in Figure 1 2. Return to the document page, title: Enable the topic selection, the added test word is not displayed. That is, after the save is successful, the document does not change. as shown in…

  • Post Views: 13 1. Open the URL:https://www.sqlite.org/download.html. Download sqlite-dll-win64-x64-3330000.zip. as shown in Figure 1 2. Copy files: sqlite3.def, sqlite3.dll to the directory: D:\Program Files\SQLite. as shown in Figure 2 3. Add D:\Program Files\SQLite to the PATH environment variable. as shown in Figure 3 4. Finally, at the command prompt, use the sqlite3 command, the following results will be displayed. Indicates…

  • Post Views: 65 1. Reference URL: https://github.com/unknwon/the-way-to-go_zh_en/blob/master/ebook/09.11.md . Test by browsing the page of http://localhost:8080/. Enter: http://www.destandaard.be in shorten this, and click: Give me the short URL. Loading until timeout. as shown in Figure 1 2. Check the terminal output and report an error: Runtime Error: Invalid memory address or nil pointer dereference. as shown in Figure 2 3. Check…

  • Post Views: 13 1. In the topic selection list page, whether it has been extended, 0: no; 1: Yes, this field does not exist in the topic selection table. is calculated by program. $time is the current Beijing time, calculated by the server. as shown in Figure 1 2. In the latest version of the prototype, you need to support…

  • Post Views: 14 1. Under api.pcs-stat.localhost, a standard RESTful API. The code in the method file is as follows (written by a colleague). as shown in Figure 1 2. Now plan to migrate this interface to api.pcs-api.localhost, at this time, api.pcs-api.localhost is an RPC client, api.pcs-stat.localhost is RPC server. Reference:https://www.shuijingwanwq.com/en/2020/06/23/11545/. 3. Create a new RPC server file, RPC/Controllers/DataPlanControlTaskController.php 4. Create…

  • Post Views: 17 1. Invoke the following command in the terminal to install the API: go install google.golang.org/api/urlshortener/v1, error: cant load package: package google.golang.org/api/urlshortener/v1. as shown in Figure 1 2. Reference:https://github.com/googleapis/google-api-go-client/blob/master/GettingStarted.md. Invoke the following commands in the terminal to install the API: go get -u google.golang.org/api/urlshortener/v1, error: Package google.golang.org/api/urlshortener/v1: unrecognized import path “google.golang.org/api/urlshortener/v1”. as shown in Figure 2 3. Reference:https://www.shuijingwanwq.com/2019/12/28/3784/.…

  • Post Views: 16 1. Copy(/webtv/wangjie/channel-pub-api/images /2020/08/26/1598426506.2121.2009434638.jpeg): Failed to open stream: Permission denied. as shown in Figure 1 2. Enter the directory: /webtv/wangjie/channel-pub-api/images/2020/08, view the permissions, and find the directory of 26, and its user and user group are root. Due to today’s program upgrade, the user and user group of the generated directory have changed. Decided to delete the directory:…

👨‍💻 Personal Brand

Wang Shiqiang | PHP & Go Technical Consultant

15+ years of backend development experience specializing in system maintenance, architecture optimization, performance tuning, and Linux administration.

Technical blogger since 2013 with 1,000+ original articles.

Available for consulting, long-term maintenance, and remote collaboration.

👉 About Me & Contact

.env (14) 404 (13) add (17) Aliyun (19) Apache (13) Array (19) browser (14) Cache (13) CentOS (23) chrome (18) Client (11) command line (13) composer (42) composer.json (22) composer install (13) composer update (14) console (14) Container (25) curl (15) Database (11) database migration (16) delete (32) Docker (31) Dockerfile (15) ECS (12) environment variable (20) error (24) escape (12) Failed (13) file (16) filter (20) fopen (11) FORMAT (12) function (13) Git (27) GitHub (16) Gitlab (15) Go (34) Go 1.26 (12) GraphQL (24) GraphQL API (14) hosts (11) http (21) https (20) Installation (13) Interface (19) Jenkins (12) Jquery (13) json (24) Laravel (36) Laravel 6 (56) Laravel 9 (25) Lighthouse (17) Lighthouse 5 (14) Linux (15) Memory (11) Migrate (13) Module (17) MySQL (76) MySQL 5.7 (21) Nginx (45) Node.js (12) normalize.css (29) OKX (15) PHP (64) php.ini (24) PHP 7.1.12 (22) PHP 7.4 (26) phpmyadmin (15) PhpStorm (24) Polylang (26) postman (18) Query (17) queue (16) Rancher (24) Redis (38) Refactoring (12) require (12) response (13) RESTful (27) RESTful API (23) rules (12) setting (12) Shell (13) Shopify (19) Shopify CLI (12) SQL (24) String (15) TortoiseGit (15) Twenty Twenty-Five (11) Ubuntu (35) update (20) VPN (13) Windows 10 (46) WireGuard (22) WordPress (56) Wstunnel (11) Yii (40) Yii 2 (70) Yii 2.0 (51)

2026 年 6 月
1234567
891011121314
15161718192021
22232425262728
2930