おっと、何か問題が起こったようです。
1/1
compile.php 行 7737 の RuntimeException:
サポートされている暗号化ツールが見つかりません。暗号および/またはキーの長さが無効です。
compiling.php 7737 行目
EncryptionServiceProvider->getEncrypterForKeyAndCipher(null, 'AES-256-CBC') in generated.php 7727 行目
EncryptionServiceProvider->IlluminateEncryption{closure }(object(Application), array()) コンパイル済み.php 1353 行目
Container->build(object(Closure), array()) コンパイル済み.php 1309 行目
Container->make('encrypter ', array()) は、compiled.php の 1871 行目
Application->make('IlluminateContractsEncryptionEncrypter')、compiled.php の 1410 行目
Container->resolveClass(object(ReflectionParameter)) の、compiled.php の 1387 行目
コンテナ->getDependency(array(object(ReflectionParameter)), array()) 1373 行目
コンパイル済み.php のビルド('AppHttpMiddlewareEncryptCookies', array()) 1309 行
コンテナ->make('AppHttpMiddlewareEncryptCookies', array()) in COMPLETE.php 1871 行目
Application->make('AppHttpMiddlewareEncryptCookies') 9921 行目
Pipeline->IlluminatePipeline{closure}(object( Request))
Pipeline.php 行 32 の call_user_func(object(Closure), object(Request))
Pipeline->IlluminateRouting{closure}(object(Request))
at call_user_func(object(Closure), object( Request))、compiled.phpの9911行目
Pipelineで>then(object(Closure))、compiled.phpの8192行目
Routerで->runRouteWithinStack(object(Route), object(Request))、compiled.php内8183 行目
Router で ->dispatchToRoute(object(Request)) コンパイル済み.php で 8173 行目
Router で ->dispatch(object(Request)) コンパイル済み.php で 2416 行目
Kernel で ->IlluminateFoundationHttp{closure} (object(Request))
Pipeline.php の call_user_func(object(Closure), object(Request)) 52 行目
Compiled.php の Pipeline->IlluminateRouting{closure}(object(Request)) 3283 行目
CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) 9926
Pipeline->IlluminatePipeline{closure}(object(Request))
Pipeline.php 行 32 の call_user_func(object(Closure), object(Request))
Pipeline->IlluminateRouting{closure}(object( Request))
compiled.php 9911行目のcall_user_func(object(Closure), object(Request))で
Compiled.php行2363のPipeline->then(object(Closure))で
Kernel->sendRequestThroughRouter( object(Request))、compiling.php 行 2347
at Kernel->handle(object(Request))、index.php 行 54
おっと、何か問題があったようです。
1/1
compile.php 行 7737 の RuntimeException:
サポートされている暗号化ツールが見つかりません。暗号および/またはキーの長さが無効です。
compiled.phpの7737行目
EncryptionServiceProvider->getEncrypterForKeyAndCipher(null, 'AES-256-CBC')のcompiled.phpの7727行目
EncryptionServiceProvider->IlluminateEncryption{closure }(object(Application), array()) コンパイル済み.php 1353 行目
Container->build(object(Closure), array()) コンパイル済み.php 1309 行目
Container->make('encrypter ', array()) は、compiled.php の 1871 行目
Application->make('IlluminateContractsEncryptionEncrypter')、compiled.php の 1410 行目
Container->resolveClass(object(ReflectionParameter)) の、compiled.php の 1387 行目
コンテナー>getDependency(array(object(ReflectionParameter))), array()) 1373 行目、compiled.php 行 1373
コンテナー>build('AppHttpMiddlewareEncryptCookies', array()) 1309 行目
コンテナー->make('AppHttpMiddlewareEncryptCookies', array()) in COMPLETE.php 1871 行目
Application->make('AppHttpMiddlewareEncryptCookies') 2370 行目
Kernel->terminate(object(Request), object(Response))、index.phpの58行目
回帰内容:
おっと、何か問題が起こったようです。
1/1
compile.php 行 7737 の RuntimeException:
サポートされている暗号化ツールが見つかりません。暗号および/またはキーの長さが無効です。
compiled.phpの7737行目
EncryptionServiceProvider->getEncrypterForKeyAndCipher(null, 'AES-256-CBC')のcompiled.phpの7727行目
EncryptionServiceProvider->IlluminateEncryption{closure }(object(Application), array()) コンパイル済み.php 1353 行目
Container->build(object(Closure), array()) コンパイル済み.php 1309 行目
Container->make('encrypter ', array()) は、compiled.php の 1871 行目
Application->make('IlluminateContractsEncryptionEncrypter')、compiled.php の 1410 行目
Container->resolveClass(object(ReflectionParameter)) の、compiled.php の 1387 行目
コンテナー>getDependency(array(object(ReflectionParameter))), array()) 1373 行目、compiled.php 行 1373
コンテナー>build('AppHttpMiddlewareEncryptCookies', array()) 1309 行目
コンテナー->make('AppHttpMiddlewareEncryptCookies', array()) in COMPLETE.php 1871 行目
Application->make('AppHttpMiddlewareEncryptCookies') 9921 行目
Pipeline->IlluminatePipeline{closure}(object( Request))
Pipeline.php 行 32 の call_user_func(object(Closure), object(Request))
Pipeline->IlluminateRouting{closure}(object(Request))
at call_user_func(object(Closure), object( Request))、compiled.phpの9911行目
Pipelineで>then(object(Closure))、compiled.phpの8192行目
Routerで->runRouteWithinStack(object(Route), object(Request))、compiled.php内8183 行目
Router で ->dispatchToRoute(object(Request)) コンパイル済み.php で 8173 行目
Router で ->dispatch(object(Request)) コンパイル済み.php で 2416 行目
Kernel で ->IlluminateFoundationHttp{closure} (object(Request))
Pipeline.php の call_user_func(object(Closure), object(Request)) 52 行目
Compiled.php の Pipeline->IlluminateRouting{closure}(object(Request)) 3283 行目
CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) 9926
Pipeline->IlluminatePipeline{closure}(object(Request))
Pipeline.php 行 32 の call_user_func(object(Closure), object(Request))
Pipeline->IlluminateRouting{closure}(object( Request))
compiled.php 9911行目のcall_user_func(object(Closure), object(Request))で
Compiled.php行2363のPipeline->then(object(Closure))で
Kernel->sendRequestThroughRouter( object(Request))、compiling.php 行 2347
at Kernel->handle(object(Request))、index.php 行 54
おっと、何か問題があったようです。
1/1
compile.php 行 7737 の RuntimeException:
サポートされている暗号化ツールが見つかりません。暗号および/またはキーの長さが無効です。
compiled.phpの7737行目
EncryptionServiceProvider->getEncrypterForKeyAndCipher(null, 'AES-256-CBC')のcompiled.phpの7727行目
EncryptionServiceProvider->IlluminateEncryption{closure }(object(Application), array()) コンパイル済み.php 1353 行目
Container->build(object(Closure), array()) コンパイル済み.php 1309 行目
Container->make('encrypter ', array()) は、compiled.php の 1871 行目
Application->make('IlluminateContractsEncryptionEncrypter')、compiled.php の 1410 行目
Container->resolveClass(object(ReflectionParameter)) の、compiled.php の 1387 行目
コンテナ->getDependency(array(object(ReflectionParameter)), array()) 1373 行目
コンパイル済み.php のビルド('AppHttpMiddlewareEncryptCookies', array()) 1309 行
コンテナ->make('AppHttpMiddlewareEncryptCookies', array()) in COMPLETE.php 1871 行目
Application->make('AppHttpMiddlewareEncryptCookies') 2370 行目
Kernel->terminate(object(Request), object(Response))、index.phpの58行目
phpArtisan key:generate 在コマンド行生成一キー
ハンドル.envの設定APP_KEY設定一下就可了,我最近在学到了一样的问题
APP_KEY 無效、配置正确のAPP_KEY即可

phpssionsStrackuserdataacrossmultiplepagerequestsusingauniqueidstoredinacookie.here'showtomanageetheemefectively:1)Startassession withsession_start()andstoredatain $ _ session.2)RegeneratesseSsessidafterloginwithsession_id(the topreventes_id)

PHPでは、次の手順を通じてセッションデータを繰り返すことができます。1。session_start()を使用してセッションを開始します。 2。$ _Sessionアレイのすべてのキー価値ペアを介してforeachループを反復します。 3.複雑なデータ構造を処理する場合、is_array()またはis_object()関数を使用し、print_r()を使用して詳細情報を出力します。 4.トラバーサルを最適化する場合、ページングを使用して、一度に大量のデータの処理を避けることができます。これにより、実際のプロジェクトでPHPセッションデータをより効率的に管理および使用するのに役立ちます。

このセッションは、サーバー側の状態管理メカニズムを介してユーザー認証を実現します。 1)セッションの作成と一意のIDの生成、2)IDはCookieを介して渡されます。3)サーバーストアとIDを介してセッションデータにアクセスします。

tostoreauser'snameInappession、starthessession withsession_start()、thensignthenameto $ _session ['username']。1)ousession_start()toinitializethessession.2)assighttheuser'snameto $ _ session ['username']

PHPSESSIONの障害の理由には、構成エラー、Cookieの問題、セッションの有効期限が含まれます。 1。構成エラー:正しいセッションをチェックして設定します。save_path。 2.Cookieの問題:Cookieが正しく設定されていることを確認してください。 3.セッションの有効期限:セッションを調整してください。GC_MAXLIFETIME値はセッション時間を延長します。

PHPでセッションの問題をデバッグする方法は次のとおりです。1。セッションが正しく開始されるかどうかを確認します。 2.セッションIDの配信を確認します。 3.セッションデータのストレージと読み取りを確認します。 4.サーバーの構成を確認します。セッションIDとデータを出力し、セッションファイルのコンテンツを表示するなど、セッション関連の問題を効果的に診断して解決できます。

session_start()への複数の呼び出しにより、警告メッセージと可能なデータ上書きが行われます。 1)PHPは警告を発し、セッションが開始されたことを促します。 2)セッションデータの予期しない上書きを引き起こす可能性があります。 3)session_status()を使用してセッションステータスを確認して、繰り返しの呼び出しを避けます。

PHPでのセッションライフサイクルの構成は、session.gc_maxlifetimeとsession.cookie_lifetimeを設定することで達成できます。 1)session.gc_maxlifetimeサーバー側のセッションデータのサバイバル時間を制御します。 0に設定すると、ブラウザが閉じているとCookieが期限切れになります。


ホットAIツール

Undresser.AI Undress
リアルなヌード写真を作成する AI 搭載アプリ

AI Clothes Remover
写真から衣服を削除するオンライン AI ツール。

Undress AI Tool
脱衣画像を無料で

Clothoff.io
AI衣類リムーバー

Video Face Swap
完全無料の AI 顔交換ツールを使用して、あらゆるビデオの顔を簡単に交換できます。

人気の記事

ホットツール

メモ帳++7.3.1
使いやすく無料のコードエディター

SAP NetWeaver Server Adapter for Eclipse
Eclipse を SAP NetWeaver アプリケーション サーバーと統合します。

ZendStudio 13.5.1 Mac
強力な PHP 統合開発環境

MantisBT
Mantis は、製品の欠陥追跡を支援するために設計された、導入が簡単な Web ベースの欠陥追跡ツールです。 PHP、MySQL、Web サーバーが必要です。デモおよびホスティング サービスをチェックしてください。

PhpStorm Mac バージョン
最新(2018.2.1)のプロフェッショナル向けPHP統合開発ツール

ホットトピック









