Re: easy_image_gallery ver1.4.2のBUG

2018年6月22日 at 16:58

nipper様

私の知識がないせいですみません、
ショートタグというものがわかっていません。

このときのphpのerrorログには以下のように出ています。
[16-Jun-2018 12:41:09 Asia/Tokyo] PHP Parse error: syntax error, unexpected end of file in C:\xampp\htdocs\studiomon\c5-831\packages\easy_image_gallery\blocks\easy_image_gallery\templates\basic\view.php on line 57

画面の動きとすると更新ボタンを押下すると画面の反応がなくなります。
その後、当該の編集バージョンを削除して復帰する、ということでした。

なお、phpのバージョンは5.6.15です。
古いのでしょうか?

Re: easy_image_gallery ver1.4.2のBUG

2018年6月22日 at 17:26
php のショートタグとは、<?php を <? と省略する記述です。

http://www.weblio.jp/content/%E3%82%B7%E3%83%A7%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0%E5%BD%A2%E5%BC%8F



XAMPP をお使いみたいですので、もしかして設定で使えないのかも。

http://tanaka8.com/2010/12/xampp_php_shorttag/
 

Re: Re: easy_image_gallery ver1.4.2のBUG

2018年6月25日 at 9:28
nipperさんの仰る通り、php.iniのshort_open_tag が Offでした。
ありがとうございます。
勉強になりました。