永夜 Blog

在开启 Schema 缓存后,查看 Redis,键名:sa:cache:84f9ac2fc2a79a80b91b6ddd83286798,已经存在 Schema 缓存数据 0

Yii 2.0 performance optimization on Schema cache

浏览量: 1 1. When the environment of the application running is the development environment, that is, when the value of yii_env is dev, close the schema cache and edit environments/dev/common/config/main-local.php 2. When the application...

在 PowerShell 中输入:netstat -ano,查看所有的端口占用情况,看到程序中的端口(4000)已经在另一个程序中处于活动状态(正在使用中) 0

In the Go Guide, Web server, error report: Listen TCP 127.0.0.1:4000: BIND: only one usage of each socket address (Protocol/Network Address/Port) Is Normally Permitted Analysis Solution

浏览量: 51 1. Refer to the Go guide, web server, write file: web-servers.go 2. Run in PowerShell: go run web-servers.go, report error: listen tcp 127.0.0.1:4000: bind: only one usage of each Socket address (protocol/network...

在 WordPress 中更新时发生了错误:下载失败。 Too Many Requests 0

An error occurred while updating in WordPress: the download failed. Too many requests

浏览量: 0 1. An error occurred while updating in WordPress: the download failed. Too many requests, as shown in Figure 1 2. Open the URL:https://wordpress.org/, Response: 429 Too many requests, so it seems that...

访问 http://localhost:4000/ 时,提示:无法访问此网站 0

Go Guide, Web Server, Accesshttp://localhost:4000/can’t access the analysis of this website

浏览量: 0 1. Refer to the Go guide, web server, write file: web-servers.go 2. Accesshttp://localhost:4000/When prompted: The website cannot be accessed, as shown in Figure 1 3. Run in PowerShell: go run web-servers.go, visit...

获取企鹅号的应用的任务列表,列表中存在 2 条记录,查看获取企鹅号的应用的任务列表的请求参数、响应参数、 SQL 语句,符合预期 0

The task of entering the warehousing success and failure of the warehousing needs to be able to query the design and implementation of the release record (specifically implemented in Yii 2.0) (1)

浏览量: 1 1. Get the task list of the application of the Penguin, the list is empty, as shown in Figure 1 2. Types of published articles: standard (normal, graphic) articles, successful publishing (that...

执行数据库迁移,生成表:预发布日志,查看字段:pub_log_message,其类型为:mediumtext,符合预期 0

Perform database migration in Yii 2.0: Add the MediumText type of the MySQL field

浏览量: 1 1. Perform database migration in Yii 2.0: the MediumText type of MySQL. The four text types are TinyText, Text, MediumText, and LongText. Only supported: text 2. Reference file: \vendor\yiisoft\yii2\db\schemabuildertrait.php, copy to \console\db\mysql\schemabuildertrait.php,...

运行文件,Go 报错:exercise-maps.go:4:2: cannot find package "code.google.com/p/go-tour/wc" in any of: c:\go\src\code.google.com\p\go-tour\wc (from $GOROOT) C:\Users\Administrator\go\src\code.google.com\p\go-tour\wc (from $GOPATH) 0

Error when running Go: exercise-maps.go:4:2: cannot find package “code.google.com/p/go-tour/wc” in any of: C:\Go\src\code.google.com\p\go-tour\wc (from $goroot)

浏览量: 0 1. Check the Go file: exercise-maps.go, the code is as follows 2. Run the file, Go reports an error: exercise-maps.go:4:2: Cannot find package “code.google.com/p/go-tour/wc” in any of: C:\Go\src\code.google.com\p\go-tour\wc (from $goroot) C:\Users\Administrator\Go\src\code.google.com\p\go-tour\wc (from...

上传扩展名为:.docx 的文件,上传失败,提示:不允许 0

When uploading a file based on Yii 2.0, the list of file extensions that can be uploaded has been added: .docx, and the solution is still not allowed to upload

浏览量: 0 1. List of file extensions that can be uploaded: ogg, pdf, xml, zip, gz, mp4, mp3, wav, webm, gif, jpeg, jpg, png, webp, SVG, SVGZ, TIFF, CSS, CSV, TXT, VCF, VCARD, MOV,...

在 Postman 中 GET:http://api.pcs-api.localhost/v1/plans/new ,响应参数 0

In Yii 2.0, add a new RESTful API for the implementation of new resources (rendering form data)

浏览量: 1 1. Check REST/ActiveController.php to find the default action method list 2. Yii\rest\ActiveController provides the following actions by default: 3. There is a new requirement, which has been reflected in the prototype. When...