Ticket #2505 (closed バグ指摘: 修正済)
Windows 版 PHP5.3.28 以降で画面が真っ白になる
Reported by: | nanasess | Owned by: | nanasess |
---|---|---|---|
Priority: | 中 | Milestone: | EC-CUBE2.13.2 |
Component: | フロント | Version: | 2.13.1 |
Keywords: | Cc: | ||
修正済み: | yes |
Description (last modified by nanasess) (diff)
http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=14203&forum=2
Windows 版 PHP5.3.28以降、 Smarty のテンプレートをコンパイルする際に、うまくリネームされなくなったようです。
未確認ですが、 PHP5.3.28 では、 Azure 以外の Windows 環境でも発生するかもしれません。
以下再現を確認した環境
- Windows7 + インストーラ版PHP5.3.28 + Apache2.2.x
- Windows Azure Websites (PHP5.3.28)
一時凌ぎのパッチを添付しておきます。 Smarty.core に手を入れるのはナンセンスなので、 根本的には SC_View あたりで対応できると良いと思います。
Attachments
Change History
Changed 9 years ago by nanasess
-
attachment
azure.patch
added
comment:1 Changed 9 years ago by nanasess
そもそもは、 EC-CUBE がファイル名を渡す際の行儀が悪いのが原因の模様。以下のようにファイル名を渡していたので、パッチでは、パスを正規化するようにしました。
修正前) D:\home\site\wwwroot/html/../data/Smarty/templates_c/default/\%%EA^EAE^EAE54A3C%%list.tpl.php
修正後) D:/home/site/wwwroot/html/../data/Smarty/templates_c/default/%%EA^EAE^EAE54A3C%%list.tpl.php
comment:2 Changed 9 years ago by nanasess
これの副作用かも。 https://bugs.php.net/bug.php?id=63241
comment:3 Changed 9 years ago by nanasess
- Description modified (diff)
- Summary changed from Windows Azure Websites で画面が真っ白になる to Windows 版 PHP5.3.28 以降で画面が真っ白になる
暫定対応のパッチ