Category: PHP 7.2
-
Post Views: 12 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, QT, MKV, MK3D, MKA, MKS, WMV, FLV, DOC 2. The upload extension is: .doc, the upload is successful, as shown in Figure 1 3. Upload…
-
Post Views: 14 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 the published article queue failed, common\components\queue\PubarticleEventHandler::AfterError(execEvent) $event), throw an exception in this method, once an exception is thrown, it will cause the status of this…
-
Post Views: 15 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 the directory: /assets does not exist, as shown in Figure 2 3. Analyze the source code, and you can determine the directory: /frontend/web/assets exist, as…
-
Post Views: 19 1. Edit and update the UI of the task type and step settings of the tenant to complete the design after the interface is implemented. Implementation of the previous version:https://www.shuijingwanwq.com/2019/11/14/3605/, in the previous version, the task type can be implemented at the same time: the task type can be (add, delete, rename its name, sort), and the…
-
Post Views: 13 1. The requirements for editing and updating the tenant’s task type and step settings have changed, and users need to allow users to add task types independently, and then select some of them from the 18 steps to add to the newly added task type. Implementation of the previous version:https://www.shuijingwanwq.com/2019/11/06/3583/, in the previous version, only the user…
-
Post Views: 18 1. Open the task configuration table, as shown in Figure 1 2. Open the task step configuration table, as shown in Figure 2 3. Now there are new requirements: Based on different tenants, the task configuration and task step configuration can be customized. Therefore, it is decided to create a new tenant’s task configuration table and tenant’s…
-
Post Views: 13 1. In the Docker container, the Nginx PHP environment responds to 404 not found, and opens a route mapped to the PHP file, as shown in Figure 1 2. Open a route mapped to an HTML file and respond to 200, as shown in Figure 2 3. The configuration file of nginx, the content is as follows…
-
Post Views: 16 1. The operation of the command-line script is supported based on Supervisor. During the continuous operation, the problem of occupying too much memory is still not fundamentally solved. Check the URL:https://www.shuijingwanwq.com/2019/07/24/3376/ 2. Check the URL:https://stackoverflow.com/questions/27341846/using-supervisor-as-cron, by calling the bash sleep command to execute the command-line script at a certain time interval to avoid continuous uninterrupted operation, so…