5.7.5.1Updateエラーについて

2015年9月6日 at 21:12

初心者wataruと申します。

5.7.5.1にアップデートするとこのようなエラーになりました。
“Fatal error: Can't inherit abstract function Concrete\Core\Asset\AssetInterface::getAssetType() (previously declared abstract in Concrete\Core\Asset\Asset) in /home/attract-plus/retina-plus.com/public_html/attract1/updates/concrete5.7.5.1_remote_updater/concrete/src/Asset/Asset.php on line 9”

サイトのアクセスもログインもできなくなっています。

どなたか教えていただけませんか?

サーバはXserverのx10を利用しています。

タグ:

Re: 5.7.5.1Updateエラーについて

2015年9月7日 at 13:26
こんにちは。

PHP のバージョンが 5.3.3 であるために起きているエラーだと思われます。
5.7.5.2 で修正予定ですが、Xサーバーであると PHP のバージョンが変更できると思うので、PHP を5.5 や 5.6 などに変更してもらえませんか?
 

Re: 5.7.5.1Updateエラーについて

2015年9月7日 at 22:36
こんばんは。

ありがとうございます。
PHPを5.5.19に更新しました。

でも、次にこのようなエラーが発生してしまって解決できません。

An exception occurred while executing 'SELECT t0.issID AS issID1, t0.customClass AS customClass2, t0.backgroundColor AS backgroundColor3, t0.backgroundImageFileID AS backgroundImageFileID4, t0.backgroundRepeat AS backgroundRepeat5, t0.borderColor AS borderColor6, t0.borderStyle AS borderStyle7, t0.borderWidth AS borderWidth8, t0.borderRadius AS borderRadius9, t0.baseFontSize AS baseFontSize10, t0.alignment AS alignment11, t0.textColor AS textColor12, t0.linkColor AS linkColor13, t0.marginTop AS marginTop14, t0.marginBottom AS marginBottom15, t0.marginLeft AS marginLeft16, t0.marginRight AS marginRight17, t0.paddingTop AS paddingTop18, t0.paddingBottom AS paddingBottom19, t0.paddingLeft AS paddingLeft20, t0.paddingRight AS paddingRight21, t0.rotate AS rotate22, t0.boxShadowHorizontal AS boxShadowHorizontal23, t0.boxShadowVertical AS boxShadowVertical24, t0.boxShadowBlur AS boxShadowBlur25, t0.boxShadowSpread AS boxShadowSpread26, t0.boxShadowColor AS boxShadowColor27, t0.hideOnExtraSmallDevice AS hideOnExtraSmallDevice28, t0.hideOnSmallDevice AS hideOnSmallDevice29, t0.hideOnMediumDevice AS hideOnMediumDevice30, t0.hideOnLargeDevice AS hideOnLargeDevice31 FROM StyleCustomizerInlineStyleSets t0 WHERE t0.issID = ?' with params ["11"]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 't0.hideOnExtraSmallDevice' in 'field list'

よろしければ教えていただけませんか?
 

Re: 5.7.5.1Updateエラーについて

2015年9月8日 at 16:10
アメリカのフォーラムでも同じエラーが報告されています。

アップグレードの最中にエラーになったことによって、
データベース内のテーブルの一部が生成されなかったことによるエラーのようです。

http://www.concrete5.org/community/forums/installation/error-after-upgrading-from-v5.7.4.2-to-v5.7.5.1-using-installatr/

テーブルを phpmyadmin などで手動で作っていただくと元に戻るらしいです。
ちょっと調べますね。

(誰か、修正の SQL 文書いてくれませんかー)
 

Re: 5.7.5.1Updateエラーについて

2015年9月8日 at 19:03
StyleCustomizerInlineStyleSetsテーブルを再作成するSQL文を添付させて頂きます。

必ず、DBのバックアップを生成後に本SQL文を実行願います。
(添付の拡張子は、txtとなっていますが、この中身を全てコピーし、phpmyadmin等で実行下さい。)
 

Re: Re: 5.7.5.1Updateエラーについて

2015年9月8日 at 21:30
endoさん

ありがとうございました。

まだ初心者の私ですが、勉強して復旧させます。
本当にありがとうございました。
 

Re: 5.7.5.1Updateエラーについて

2015年9月13日 at 12:46
endoさん

おかげさまで無事に復旧することができました。
本当に助かりました。
ありがとうございました。
 

Re: 5.7.5.1Updateエラーについて

2015年9月13日 at 14:08
wataruさん

無事に復旧してよかったです。
今後もよろしくおねがいします!
 

Re: 5.7.5.1Updateエラーについて

2015年9月8日 at 21:28
katz515さん

ありがとうございます。
SQL文を書いていただいけましたので、勉強します。
 

Re: 5.7.5.1Updateエラーについて

2015年9月14日 at 10:54
週末に 5.7.5.2 がリリースされました

http://concrete5-japan.org/news/concrete5-7-5-2/

これで、PHP 5.3.3〜5.3.9 なサーバーもエラー無しでインストール or Upgrade できると思います。試してみていただければ幸いです。
 

Re: 5.7.5.1Updateエラーについて

2015年9月14日 at 23:03
katz515さん

アドバイスありがとうございます。

endoさんのmysqlの修正文のおかげで復旧できました。

それでアップデートの失敗ついでに別のサイトで試してみました。
/applcation/config/update.phpを削除することでアップデート前のバージョンでの起動ができました。
その後に再度アップデートすることで5.7.5.2にアップデートができました。
私のような初心者にはこのテクニックで回避するのも可能かと、、、

参考にしていただければ幸いです。