Fatal error: require_once(): Failed opening required 'XML/RSS.php'

エラーメッセージFatal error

エラー発生

 状態:-  閲覧数:2,662  投稿日:2016-03-13  更新日:2016-03-13  
Fatal error: require_once(): Failed opening required 'XML/RSS.php' (include_path='.:/include:/opt/remi/php70/root/usr/share/pear') in /index.php on line 22


エラー内容


致命的なエラー
・require されている 'XML/RSS.php' を開くことが出来ず失敗

エラー原因 / エラー対策

 閲覧数:674 投稿日:2016-03-13 更新日:2016-03-13 

エラー原因


PEARライブラリ 'XML/RSS.php'をインストールしていない

エラー対策


PEARライブラリ 'XML/RSS.php'をインストール
$ pear install XML_RSS-1.1.0a1
Cannot install, php_dir for channel "pear.php.net" is not writeable by the current user


$ sudo pear install XML_RSS-1.1.0a1
WARNING: "pear/XML_Parser" is deprecated in favor of "pear/XML_Parser2"
downloading XML_RSS-1.1.0a1.tgz ...
Starting to download XML_RSS-1.1.0a1.tgz (6,717 bytes)
.....done: 6,717 bytes
downloading XML_Parser-1.3.6.tgz ...
Starting to download XML_Parser-1.3.6.tgz (13,549 bytes)
...done: 13,549 bytes
install ok: channel://pear.php.net/XML_Parser-1.3.6
install ok: channel://pear.php.net/XML_RSS-1.1.0a1



Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation

Fatal error: require_once(): Failed opening required 'PEAR.php'

コメント投稿(ログインが必要)