Category: Web Application Development
-
Post Views: 63 1. Error: class “vtifulkernelexcel” not found. 2. The reason is that the extension php-ext-xlswriter is not installed. 3. GitHub Release: https://github.com/viest/php-ext-xlswriter/releases download php-windows-xlswriter-cf7e1933-8.1-ts-vs16-x64.zip. as shown in Figure 1 4. After decompression, copy php_xlswriter.dll to C:php-8.1.27extphp_xlswriter.dll 5. Edit php.ini, add extension=xlswriter 6. After restarting php, the error is reported again:[ERROR]workbook_close(): error creatingE:WWWRootObjectStorageAppExport/Order/Order Export Task 2024-02-19 10:24:06.xls. error =…
-
Post Views: 15 1. In Laravel 9, after executing redis::set($this->rules_update_key, carbon::now()); and found that the written value is Object. as shown in Figure 1 2. But in the test environment, the written value is a datetime string. Its value: 2024-01-30 06:00:00. as shown in Figure 2 3. The final comparison found that the root of the difference is that in…
-
Post Views: 16 1. Set the default value of DateTime in MySQL 8.0 to be0000-00-00 00:00:00Time error: sqlstate[42000]: Syntax error or access Violation: 1067 Invalid default value forOPERATED_AT_GMT. as shown in Figure 1 2. Reference:https://www.shuijingwanwq.com/2022/09/28/6993/In Navicat for MySQL, when the table is copied from one database to another, an error is reported:[ERR]1292 – Incorrect DateTime Value: ‘0000-00-00 00:00:00’ for column…
-
Post Views: 19 1. In Laravel 9, when executing: php artisan telescope:install error: error there are no commands defined in the “teleScope” namespace.. as shown in Figure 1 2. Discover the config/app.php configuration file of the TeleScopeServiceProvider service provider in the application configuration file that has been deleted. Add it back first. as shown in Figure 2 3. Run again:…
-
Post Views: 17 1. When implementing a request based on guzzle, php http client, when the response is not 20x, the $response variable cannot be obtained. as shown in Figure 1 2. At this stage, it is necessary to judge the value of the field status in the response, so as to do subsequent logical processing. Reference:https://docs.guzzlephp.org/en/stable/request-options.html#http-errors. Set to FALSE…
-
Post Views: 13 1. When executing: npm run build:admin, an error is reported: nx failed to process the project graph with “nx-js-graph-plugin”. as shown in Figure 1 2. The reason should be that the default package manager of this project is PNPM, as shown in Figure 2 3. Final execution in sequence: pnpm install, pnpm run build: admin. If the…
-
Post Views: 15 1. When previewing Shopify’s theme application extension, open:https://it-wr-sitting-chen.trycloudflare.com?shop=shuijingwanwq-development.myshopify.com&host=c2h1aWppbmd3YW53cS1kZXZlbG9wbWVudC5teXNob3BpZnkuY29tL2FkbWlu When prompted by 360 Security Brain: the solution of the fake Apple ID login interface. as shown in Figure 1 2. Click Ignore the prompt, and after continuing to visit, it is still invalid. In the Setting Center of 360 Security Guard – Security Center – Web Security, uncheck…
-
Post Views: 21 1. When executing the command: npm run Deploy, an error is reported: Upgrade your CLI version to run the Deploy command. Prompt to upgrade the version of the CLI. as shown in Figure 1 2. When running: npm run Shopify version, prompt: Running this command will add the dependency to the workspace root rather than the workspace…