永夜 Blog

CakePHP 2.x 版本的部署,Warning: SplFileInfo::openFile(/mcloud/creditshop_back/creditshopback/app/tmp/cache/persistent/myapp_cake_core_file_map): failed to open stream: Permission denied in /mcloud/creditshop_back/creditshopback/lib/Cake/Cache/Engine/FileEngine.php on line 356。 0

Deployment of Cakephp 2.x version, warning: splfileinfo::openfile(/app/tmp/cache/persistent/myapp_cake_core_file_map): failed to Open Stream: Permission denied in /lib/cake/cache/engine/fileengine.php on line 356

浏览量: 0 1. Deployment of CakePHP 2.x version, warning: splfileinfo::openfile(/mcloud/creditshop_back/creditshopback/app/tmp/cache/persistent/myapp_cake_core_file_map): Failed to open stream: Permission denied in /mcloud/creditshop_back/creditshopback/lib/cake/cache/engine/fileengine.php on line 356. as shown in Figure 1 2. Enter the directory: /mcloud/creditshop_back/creditshopback/app/tmp/cache/persistent, and view the...

在 Yii 2.0 的数据库迁移时报错:Exception: Redis error: ERR Client sent AUTH, but no password is set。 0

An error is reported during database migration of Yii 2.0: Exception: Redis Error: ERR client sent auth, but no password is set

浏览量: 1 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...

运行时,不再报错。查看运行日志,未再报错。 0

In the shell script, avoid $appid$ to report an error: /config/init/config0.sh: line 184 appid unbound variable (prevent variables from being replaced)

浏览量: 1 1. In the shell script, an error is reported at runtime: /config/init/config0.sh line 184 appid unbound variable. as shown in Figure 1 2. Check the shell script, its value is:https://console.${RMT_MAIN_DOMAIN}/ccpauth/wx-msg-event/$APPID$/receive. ${rmt_main_domain} needs...

打开发起程序选项卡,查看请求调用堆栈,在页面的第 516 行执行的 GET 请求。 0

Troubleshooting the process of HTTP request response 500, jQuery property operation – attr() method, setting the src attribute to cause

浏览量: 2 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...

在运行 HTTP 接口时,使用 nginx 用户在目录:/webtv/wangjie/ccp_api/images/2021/03/08 下创建文件:1615170408.5917.1243625051.png。报错:fopen(/webtv/wangjie/ccp_api/images/2021/03/08/1615170408.5917.1243625051.png): failed to open stream: Permission denied。 0

In storage, when creating a new directory and creating a file, use both root and nginx When user, an error is reported: fopen(/webtv/wangjie/ccp_api/images/ 2021/03/08/1615170408.5917.1243625051.png): Failed to Open Stream: Permission Denied

浏览量: 0 1. When running a command line script, use root User-created directory: /webtv/wangjie/ccp_api/images/2021/03/08, create file: 1615170036.5115.2027450777.png. The owner of the directory and the group to which it belongs are root. as shown in...