Tag: runtime
-
Post Views: 16 1. Error in Yii2 queue extension: The process “/usr/local/php/bin/php/mcloud/www/ccp_api/yiipub-article-queue/exec10330013555–color=Exceeded the timeout of 300 seconds. 2. In the queue: pub-article-queue running time exceeds the timeout time limit of 300 seconds. View queue: pub-article-queue configuration items. Maximum time for job processing, in seconds, with a value equal to 300 seconds. 3. Analyze the code, initially suspect that there is…
-
Post Views: 15 1. Based on the function: file_put_contents, when a string is written to the file, there are various forms in the group when defining the file name to be written to 2. Under different forms, the problem is that with the change of the running environment of the program, the file name of the written data is also…
-
Post Views: 49 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, found when $_SERVER[‘HTTP_USER_AGENT’]When the value is okhttp/3.12.0, $_server[‘HTTP_ACCEPT’]Does not exist 4. Ask the Android client to explicitly declare accept in headers when $_server[‘HTTP_USER_AGENT’]When the value…
-
Post Views: 15 1. Execute the initialization command in Windows 10, set the directory permissions of all applications, normal (14 lines in total), as shown in Figure 1 2. Execute the initialization command in CentOS 7.2, the directory permissions under some applications are not set, abnormal (8 lines in total), as shown in Figure 2 3. Enter the /api directory…