Year: 2025
-
Post Views: 38 1. Error: Error: Expected Response Code 354 But Got Code “503”, with message “503 Bad Sequence of Commands”[@sm190202]” . As shown in Figure 1 2. SMTP rejects the preparation steps before the data command. This is a common specific trigger point for 503, usually caused by missing or errors in rcpt to . Make sure that $this->to…
-
Post Views: 32 1. In yii2, an update interface, if the records in the table have been deleted before executing save(), it will still return ture, whether this situation needs to be avoided. as shown in Figure 1 2. The code is implemented as follows 3. Decide not to adjust for the time being.
-
Post Views: 30 1. The existing implementation is as follows. After the verification of the field itself fails, the interface response will always be: the database operation fails, please contact the administrator, the user experience is not friendly. as shown in Figure 1 2. Hope to achieve the following, 1. Do not expose database exceptions (such as SQL errors, PDO…
-
Post Views: 34 1. The existing implementation is as follows 2. The generated SQL is as follows 3. However, only1827082629732850,1827082629732857The corresponding type=5, and the other ID’s type != 5. as shown in Figure 1 4. Collect all values of type=5 (that is, image ID), query the corresponding pictures in batches, and attach image data. Re-implement as follows 5. The generated…
-
Post Views: 26 1. Prompt in phpstorm: misspelling in wordsLabelsin. as shown in Figure 1 2. Click Spelling Error: Rename to… , based on the drop-down option: $typeLabels . as shown in Figure 2 3. When git is submitted, it is found that all the places referenced to $typelables have been renamed to $typelabels. in line with expectations.
-
Post Views: 30 1. Now the portal link to switch the role to Distributor is the background homepage:https://console.apply.local/?role=distributor 2. I hope that in this portal URL, all links are automatically added to the request parameter: role=distributor, which is not available now. as shown in Figure 1 3. Create a custom URLManager component Rewrite the CreateUrl method, and automatically attach the…