質問 > 管理機能 > キャッシュ無尽蔵増加対策:eccube-3.0.15のtwigの入替え方法:自己責任にて。 |
管理機能
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
ゲスト |
投稿日時: 2018/1/24 8:15
対応状況: −−−
|
キャッシュ無尽蔵増加対策:eccube-3.0.15のtwigの入替え方法:自己責任にて。 ※題名に追記しました。
更に追記: ★3.0.16がリリースされた今、3.0.16内からtwigを取出して、3.0.15のtwigと入替えた方が、手っ取り早いです。 1. eccube3のtwig version eccube-3.0.14 * 1.31.0 (2017-01-11) eccube-3.0.15 * 1.33.2 (2017-04-20) 2.eccube-3.0.15のtwig「* 1.33.2 (2017-04-20)」につて。 https://github.com/twigphp/Twig/issues/2485 Since 1.33.1 Twig is creating cache files indefinitely #2485 内で、 「Maybe it's not a bad idea to remove 1.33.1 and 1.33.2 versions from composer too because somebody might install them unintentionally.」 ただし↓ (the only way to do that is to delete the tag entirely. and this is a pain, as fetching from any fork containing the tag would re-add it in the local repo of the maintainer, which will then re-add it in the main repo on the next push. Deleting Git tags is not meant to be an easy thing) 3. ダウンロードするtwigの判断材料としての「CHANGELOG」 1)twigのCHANGELOG * 2.4.4 (2017-09-27) * added Twig_Profiler_Profile::reset() * fixed use TokenParser to return an empty Node * added RuntimeExtensionInterface * added circular reference detection when loading templates * added support for runtime loaders in IntegrationTestCase * fixed deprecation when using Twig_Profiler_Dumper_Html * removed @final from Twig_Profiler_Dumper_Text (snip)) * 2.0.0 (2017-01-05) (snip) * dropped support for PHP 5.x (snip) * 1.35.0 (2017-09-27) * added Twig_Profiler_Profile::reset() * fixed use TokenParser to return an empty Node * added RuntimeExtensionInterface * added circular reference detection when loading templates (snip) * 1.34.0 (2017-06-05) (snip) * fixed PHP 7.2 compatibility (snip) * dropped PHP 5.2 support (snip) 2)eccubeシステム要件 PHP PHP5.3.9 ~ 7.1.x 2.「twig-1.xx」の現バージョン「1.35.0」をダウンロードする場合 1)https://github.com/twigphp/Twig 2)【Branch:2.x▼】→【Branches】【Tags】 3)【Tags】 「v2.4.4 | v1.35.0」 で「v1.35.0」を選択する。 4)「v1.35.0」画面内のCHGANGELOGを表示し、1行目が 「* 1.35.0 (2017-09-27)」 である事を確認する。 5)【Tag:v1.35.0▼】【Twig/CHANGELOG】の『Twig』をクリックし戻る。 6)【Tag:v1.35.0▼】【New pull request】___ 【Find file】【Clone or download▼】 7)【Clone or download▼】をクリックする。 8)「Clone with HTTPS Use Git or checkout with SVN using the web URL. https://github.com/twigphp/Twig.git 【Open in Desktop】【Download ZIP】 9)【Download ZIP】をクリックし「Twig-1.35.0.zip」をダウンロードする。 10)「Twig-1.35.0.zip」を展開する。 3.eccube-3.0.15のtwigの変更 ※twigの入替えは自己責任にての実施事項となります。 ※twigの入替えにてサイトの動作「不良・停止」が生じても、小生:Ringoは一切の責を負いません。 ※実施する場合、閉店案内を出すなりし、アクセスの無い事を確認し、httpdを一旦停止する、、、のが、安全かと。 1)「サイト:eccube-3.0.15」と「データベース」のバックアップを取る。 2)「eccube-3.0.15/vendor/twig/」内の「twig」を a)削除 b)名前の変更 なりを行う。 3)『「Twig-1.35.0.zip」を展開する。』で展開されたフォルダ「Twig-1.35.0」の名前を「twig」へ変更する。 4)「eccube-3.0.15/vendor/twig/」内に上記「3)」での「twig」を配置する。 以上です。 |
|
スレッド表示 | 新しいものから | 前のトピック | 次のトピック | トップ |