99re热这里只有精品视频,7777色鬼xxxx欧美色妇,国产成人精品一区二三区在线观看,内射爽无广熟女亚洲,精品人妻av一区二区三区

DSSHOP 常見問題

2022-04-02 11:58 更新

composer install安裝出錯

  • 可以通過?composer update?修復(fù),也可直接將?composer.lock?刪除,然后再執(zhí)行?composer install?

Client error: POST http://127.1.1/oauth/token resulted in a 401 Unauthorized response: {"error":"invalid_client","message":"Client authentication failed"}

  • 以上錯誤推測因?yàn)樯?oauth?密鑰過早造成,故新的文檔最后才生成該密鑰
  • 解決辦法就是先刪除已經(jīng)生成的?oauth-private.key?和?oauth-public.key?,然后再重新執(zhí)行?php artisan passport:keys?
  • 如果是主從數(shù)據(jù)庫的話,請檢查是否有同步

Server error: POST http://dswjcms.test/oauth/token resulted in a 500 Internal Server Error response:\n{"status_code":500,"code":10,"message":"The provided authorization grant (e.g., authorization code, resource owner crede (truncated...)\n

  • 在?php artisan passport:client --password?步驟時,未選擇?admins?超成的錯誤,可修改?oauth_clients?表,將?provider?改成?admins?

[curl] 7: Failed to connect to xxx port 80: Connection refused

  • 由于laradock沒有正確配置造成的錯誤
  • 需要修改docker-compose.yml的NGINX Server中的networks部分,如下代碼,在?aliases?和?aliases?添加自己的域名,如下?dsshop.test?
### NGINX Server ##################################

    nginx:
      build:
        context: ./nginx
        args:
          - PHP_UPSTREAM_CONTAINER=${NGINX_PHP_UPSTREAM_CONTAINER}
          - PHP_UPSTREAM_PORT=${NGINX_PHP_UPSTREAM_PORT}
      volumes_from:
        - applications
      volumes:
        - ${NGINX_HOST_LOG_PATH}:/var/log/nginx
        - ${NGINX_SITES_PATH}:/etc/nginx/sites-available
      ports:
        - "${NGINX_HOST_HTTP_PORT}:80"
        - "${NGINX_HOST_HTTPS_PORT}:443"
      depends_on:
        - php-fpm
      networks:
        frontend:
         aliases:
          - dsshop.test
        backend:
         aliases:
          - dsshop.test

商品搜一個字為什么無法查詢出來?

  • 商品搜索采用mysql的全文搜索功能,默認(rèn)需要2個字,如果需要支持1個字,需要修改?mysql.conf?中的?ngram_token_size=1?

laradock備份報(bào)Backup failed because The dump process failed with exitcode 127 : Command not found : sh: 1: mysqldump: not found

  • 打開你的?workspace/Dockerfile?最后一行添加以下代碼

#
#--------------------------------------------------------------------------
# mysql-client
#--------------------------------------------------------------------------
#

USER root

RUN apt update && \
    apt install -y mysql-client

  • 然后執(zhí)行以下代碼

docker-compose down
docker-compose build workspace
docker-compose up -d redis nginx mysql

網(wǎng)站、后臺記住密碼一般是保存幾天,如何設(shè)置

  • 默認(rèn)為7天,可通過env配置?REFRESH_PASSPORT_EXPIRES_IN?

網(wǎng)站、后臺記住密碼,關(guān)閉瀏覽器后并沒有生效

  • 請查看瀏覽器是否關(guān)閉瀏覽器清除cookie功能,設(shè)置->隱私設(shè)置和安全設(shè)置->Cookie及其它網(wǎng)絡(luò)安全設(shè)置


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號