Category: Web Application Development
-
Post Views: 15 1. Navigate to the directory where you want to create the application (e:\wwwroot\shopify-app). Your application will be created in a new subdirectory. as shown in Figure 1 2. Run one of the following commands to create a new application, and then select the language of the application template you want to start using: Node, PHP, or Ruby.…
-
Post Views: 15 1. When syncing topics based on GitHub in Shopify, an error is reported: config/settings_schema.json, validation failed. as shown in Figure 1 2. The configuration of the original dawn is as follows 3. The configuration of the error reported after editing is as follows 4. Reference:https://shopify.dev/themes/getting-started/create#step-7-test-your-connection. Update the theme_name value to match the name you specified for the…
-
Post Views: 16 1. A GraphQL API, which takes up to 7 seconds. as shown in Figure 1 2. The time to query this request in Laravel Telescope, 1345 ms. as shown in Figure 2 3. Instead of requesting the GraphQL API on the page, it takes 1.87 seconds to request a separate request using the Altair GraphQL Client. Approximately…
-
Post Views: 18 1. In Laravel 6 , error: E:\\wwwroot\\object\\vendor\\ramsey\\uuid\sr c\\converter\\number\\degradedNumberConverter.php”, “class”: “ramsey\Uuid\\Exception\\UnsatisfiedDependencyException as shown in Figure 1 2. In the build production environment, execute: composer install –prefer-dist –no-ansi –no-interaction –no-progress –no-scripts –no-dev. 3. In Composer.json’s require configuration, add “moontoast/math”. Execute: composer require moontoast/math. Execute again: composer install –prefer-dist –no-ansi –no-interaction –no-progress –no-scripts –no-dev. No more errors.
-
Post Views: 18 1. The parameters requested by the front-end are empty strings. as shown in Figure 1 2. After the backend is saved, the value of the title is null . 3. Print all request parameters in the backend, var_dump($request->all()); Confirm that the value of the title has been converted to null. as shown in Figure 2 4. Reference:https://learnku.com/docs/laravel/6.x/validation/5144#6633ca.…
-
Post Views: 21 1. The existing code is implemented as follows 2. The final generated JSON data structure is as follows: 3. The Blade {{ }} statement is automatically passed through PHP’s HtmlSpecialChars function to prevent XSS attacks. Therefore, you need {!! !!} to prevent the “(double quotes) from being converted into HTML entities. 4. However, the generated JSON structure…
-
Post Views: 22 1. Execute sudowWWphp artisan es:migrate, error: CUSTOM Analyzer[ik_smart_synonym]Failed to find tokenizer under name[ik_smart]. as shown in Figure 1 2. Reference: Execute the command: ./20.04/install_elasticsearch.sh 7 After installing Elasticsearch, the corresponding version of the IK word segmentation plugin is not installed. The operation was successful. as shown in Figure 2