Category: Web Application Development
-
Post Views: 18 1. Reference:https://shopify.dev/api/admin-graphql#authentication, all GraphQL Admin API queries require a valid Shopify access token. 2. Open the background – Apps – Develop applications – Create custom apps. as shown in Figure 1 3. Enter the application name, select the application developer, and create the application. as shown in Figure 2 4. Configure the background API range. as shown…
-
Post Views: 15 1. When writing the automated test cases of Lighthouse 5, phpstorm cannot be completed automatically. When you click $response->assetJSON, you cannot find the statement you want to go to. fashionAssertJSONNot found in \illuminate\testing\testResponse. as shown in Figure 1 2. Print the $response object, its actual path is:\illuminate\foundation\testing\testResponse. as shown in Figure 2 3. In another project, phpstorm…
-
Post Views: 18 1. In Laravel 6, an error is reported: Illuminate\View\ViewException (E_ERROR) The mix manifest does not exist. as shown in Figure 1 2. Install Laravel Mix and execute the command: yarn install to install the npm dependency package of the current project 3. Run the MIX task and execute the command: npm run dev 4. Refresh the page,…
-
Post Views: 17 1. In Laravel 6, access:https://object.local, 302 jump tohttps://xxx.xxx.xxx.top. as shown in Figure 1 2. Look in the source code: xxx.xxx.xxx.top, not found. And the database has replaced all xxx.xxx.xxx.top with Object.local. 3. There is a key name in Redis: laravel_cache:main_domain_cache, its value: s:26:”xxx.xxx.xxx.top”;. as shown in Figure 2 4. After clearing Redis, visit again:https://object.local, the response 500.…
-
Post Views: 14 1. When executing php artisan package:discover –ansi, the error: please install the elasticsearch php client: Elasticsearch/Elasticsearch. as shown in Figure 1 2. The reason is that the package tamayo/laravel-scout-elastic needs to install Elasticsearch/elasticsearch. However, before executing the command composer require nuwave/lighthouse, the command is also executed: php artisan package:discover –ansi, no error is reported. as shown in…
-
Post Views: 15 1. In the online store related pages in the Shopify background, prompt: WebSocket Connection towss://argus.shopifycloud.com/graphql?bucket_id=gid://shopify/shop/62755799275Failed: WebSocket is closed before the connection is established. as shown in Figure 1 2, resulting in the page being loaded all the time. There is no solution for the time being. The temporary solution to come up is to open the page…