Tagged: Yii 2.0

在 Yii 2.0 中报错:yii\base\ErrorException: Undefined index: HTTP_ACCEPT 0

Error reported in Yii 2.0: yii\base\errorexception: undefined index: http_accept

浏览量: 6 1. An error is reported in Yii 2.0: yii\base\ErrorException: undefined index: http_accept, as shown in Figure 1 2. Check the runtime log file: /api/runtime/logs/app.log 3. The log information of the two requests,...

打开文件:我的任务-2019-09-20-19-39-11.xlsx,符合预期 0

Implementation flow of exporting resource list to Excel file in Yii 2.0

浏览量: 3 1. The resource list of my task, plan to add an export button at the head of the resource list, as shown in Figure 1 2. Search in github: yii2 export excel,...

在 Yii 2.0 中数据验证失败:来源发布用户ID必须是一条字符串。 0

Data validation fails in Yii 2.0: the source publishing user ID must be an analysis of a string (to ensure the compatibility of the version, both numeric type and string type must be supported)

浏览量: 4 1. Data validation failed in Yii 2.0: the source publishing user ID must be a string. as shown in Figure 1 2. The reason is the field: source_pub_user_id was int(11) in the...

执行命令,报错:PHP Warning: strpos(): Empty needle in E:\wwwroot\pcs-api\vendor\yiisoft\yii2\log\Target.php on line 243 0

Error in Yii 2.0: php warning: strpos(): empty needle in Analysis of e:\wwwroot\pcs-api\vendor\yiisoft\yii2\log\target.php on line 243

浏览量: 3 1. Execute the command and report an error: php warning: strpos(): empty needle in E:\WWWRoot\PCS-API\Vendor\yiisoft\yii2\log\target.php on line 243, as shown in Figure 1 2. View \console\runtime\logs\app.log 3. Edit on the command line...