Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frontparts/logincheck.php に直接アクセスするとシステムエラーになるのを修正 #297

Merged
merged 1 commit into from
Aug 22, 2019

Conversation

nanasess
Copy link
Contributor

@nanasess nanasess commented Aug 7, 2019

frontparts/logincheck.php にパラメータ無しで直接アクセスすると、システムエラーになる

2019/08/07 19:21:17 [/frontparts/login_check.php] Fatal error(E_ERROR): Uncaught  --> Smarty: Source: Missing  name <-- 
  thrown on [/path/to/eccube-2_13/data/vendor/smarty/smarty/libs/sysplugins/smarty_template_source.php(167)] from

site_main.tpl に渡す $tpl_mainpage が空なので、 Smarty の include がエラーになってしまう。

直接アクセスした場合は、CUSTOMER_ERROR 画面を表示するように修正

@coveralls
Copy link

Coverage Status

Coverage remained the same at 43.077% when pulling 7871908 on nanasess:fix-logincheck into b19397d on EC-CUBE:improve/php7.

@chihiro-adachi chihiro-adachi added this to the 2.17.0 milestone Aug 21, 2019
@chihiro-adachi chihiro-adachi merged commit 97db291 into EC-CUBE:improve/php7 Aug 22, 2019
@chihiro-adachi
Copy link
Contributor

@nanasess ありがとうございます。マージしました。

@nanasess nanasess deleted the fix-logincheck branch October 3, 2022 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants