永夜 Blog

当响应状态码等于20x,但返回码不等于约定的成功返回码时,即业务逻辑失败,获取菜单列表,符合预期,最后一个问题得到解决 0

Best practices in the current period of response processing based on Yii 2 based on HTTP client extensions (optimized in the previous implementation, this is practiced for the next period of time, http Localization of client components, simplification of returned processing logic, etc.)

浏览量: 1 1. Get the menu list, as shown in Figure 1 2. Check the available Debug data, its data comes from HTTP, as shown in Figure 2 3. Check the http model file:...

决定调整为开发模式 (dev),再次上传选题素材,以查看更为详细的错误信息,报错:chmod(): Operation not permitted 0

In Yii 2.0, when creating a multi-level directory based on FileHelper, an error is reported: chmod(): operation not permitted, which in turn can only successfully create one level analysis and solution at a time.

浏览量: 1 1. When uploading the topic selection material, the server is internally wrong. as shown in Figure 1 2. Decided to adjust to the development mode (dev), upload the topic selection material again...

由于 Supervisor 仅启动 1 个 queue/listen,因此,一旦某一队列处于 reserved,则其他队列只好一直处于 waiting 状态,所以,临时决定 remove 命令删除作业,以启动程序的继续正常运转,查看 log 表,其 message 字段内容,可以确定队列 ID 值为:159,info 命令打印关于队列状态的信息时,reserved 状态的队列数量减少 1,done 状态的队列数量增加 1,符合预期 0

Yii2 queue extension, in the Redis driver, when the info command prints information about the queue status, the deletion of the queue in the reserved state

浏览量: 0 1. Check the log table, the content of the message field is as follows: 2. The analysis found that after publishing the article queue event handler, and after the job execution of...

Yii2 高级模板初始化时,报错:Error. Directory frontend/web/assets does not exist 0

When the container is upgraded based on Rancher, when the Yii2 advanced template is initialized, an error is reported: Error. Directory Frontend/Web/Assets does not exist analysis and solution

浏览量: 1 1. When the advanced template is initialized, an error is reported: Error. Directory Frontend/Web/Assets does not exist, as shown in Figure 1 2. Enter the directory in the container: /mcloud/www/channel-pub-api/frontend/web, and determine...

在网页框架中点击链接,报错:Uncaught DOMException: Blocked a frame with origin "https://cmcp.cmc.tianyirm.cn" from accessing a cross-origin frame. at toDetail (https://cmcp.cmc.tianyirm.cn/sub-sites:253:19) 0

Click the link in the web page framework and report an error: Uncaught DomException Blocked a frame with origin from accessing a cross-origin frame

浏览量: 0 1. Click the link in the web page frame and report an error: Uncaught DomException: blocked a frame with origin “https://cmcp.cmc.tianyirm.cn” from accessing a cross-origin frame. at todetail (https://cmcp.cmc.tianyirm.cn/sub-sites:253:19),如图1 2. Click at...

WordPress更新,您使用的WordPress是最新版本。 将来的安全更新将被自动安装。插件、主题、翻译均为最新版本。 0

Based on Alibaba Cloud’s ECS and RDS, the personal blog migration is upgraded to: Docker (based on budget considerations, ultimately not realized), LNMP (CentOS 7.7, Nginx 1.16, MySQL 5.7, PHP 7.4), the process of HTTPS

浏览量: 1 1. Enter the CentOS server based on Xshell 6, compress and package the website program directory, execute the compression command, and the execution result is shown in Figure 1 2. Connect to...