Magento ver1.9.1をインストールしたときに直面した問題です。
問題なくインストールが終わり、注文から注文完了までの動作確認をしていたところ、チェックアウト時のBILLING INFORMATIONから先に進めなくなりました。
具体的にいうと上記セクションでCONTINUEボタンを押したら/shopping/cart/ にリダイレクトされてしまう。
エラーログを確認したところ、下記のようなメッセージが出ていました。
エラーログの確認方法はこちら
2015-02-11T23:41:35+00:00 ERR (3): Warning: include(SoapClient.php): failed to open stream: No such file or directory in /var/www/html/サイト名/lib/Varien/Autoload.php on line 94
2015-02-11T23:41:35+00:00 ERR (3): Warning: include(): Failed opening 'SoapClient.php' for inclusion (include_path='/var/www/html/サイト名/app/code/local:/var/www/html/サイト名/app/code/community:/var/www/html/サイト名/app/code/core:/var/www/html/サイト名/lib:.:/usr/share/pear:/usr/share/php') in /var/www/html/サイト名/lib/Varien/Autoload.php on line 94
2015-02-11T23:41:35+00:00 ERR (3): Warning: include(): Failed opening 'SoapClient.php' for inclusion (include_path='/var/www/html/サイト名/app/code/local:/var/www/html/サイト名/app/code/community:/var/www/html/サイト名/app/code/core:/var/www/html/サイト名/lib:.:/usr/share/pear:/usr/share/php') in /var/www/html/サイト名/lib/Varien/Autoload.php on line 94
SoapClient.phpで問題が起きているとのことですが、答えを先に言うと、php-soapがインストールされていないことが原因です。
早速下記コマンドでインストール。
yum install php-soap
しかし下記エラーでインストールできません。
Error: php54-common conflicts with php-common
これは複数の相容れないレポジトリからphp関連ファイルをインストールしているため起きており、私の場合はコマンドを
yum install php54-soap
に変えて、無事インストールできました。
その後、チェックアウトを試みると、無事、リダイレクトされず、先に進むことができました。
First of all I would like to say fantastic blog!
I had a quick question which I'd like to ask if you don't mind.
I was interested to find out how you center yourself and clear your
head prior to writing. I have had a hard time clearing
my thoughts in getting my thoughts out there. I truly
do take pleasure in writing however it just seems like the
first 10 to 15 minutes are lost just trying to figure out how to begin. Any recommendations or tips?
Thanks!