OpenPNEについての質問です。インストール時に下記のエラーがでてしまい対処に困っています。どこがどう悪いのか見当がつかない状態です。ご存じの方対処法をお願いします。


Warning: main(PHP/Compat/Function/image_type_to_mime_type.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxx/webapp/init.inc on line 30

Warning: main() [function.include]: Failed opening 'PHP/Compat/Function/image_type_to_mime_type.php' for inclusion (include_path='/home/xxxxxx/lib/include:/home/xxxxxx/webapp/lib:.:/usr/local/lib/php') in /home/xxxxxx/webapp/init.inc on line 30

Warning: main(Smarty/Smarty.class.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxx/webapp/lib/OpenPNE/Smarty.php on line 7

Fatal error: main() [function.require]: Failed opening required 'Smarty/Smarty.class.php' (include_path='/home/xxxxxx/lib/include:/home/xxxxxx/webapp/lib:.:/usr/local/lib/php') in /home/xxxxxx/webapp/lib/OpenPNE/Smarty.php on line 7

回答の条件
  • URL必須
  • 1人2回まで
  • 登録:
  • 終了:2007/01/21 14:17:03
※ 有料アンケート・ポイント付き質問機能は2023年2月28日に終了しました。

回答1件)

id:tobeoscontinue No.1

回答回数220ベストアンサー獲得回数59

ポイント60pt

>Warning: main(PHP/Compat/Function/image_type_to_mime_type.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxx/webapp/init.inc on line 30

Warning: main(Smarty/Smarty.class.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxx/webapp/lib/OpenPNE/Smarty.php on line 7

どちらも/home/xxxxxx/lib/include以下に

Auth       Crypt     Etag.php  Mail.php  Services          simplepie.inc
Auth.php   DB        HTTP      Net       Smarty
Cache      DB.php    Log       PEAR.php  Snoopy.class.php
Cache.php  Date      Log.php   PHP       XML
Calendar   Date.php  Mail      PNE       kcaptcha

のようにファイルやディレクトリーがあるはずで、その中に

PHP/Compat/Function/image_type_to_mime_type.php

Smarty/Smarty.class.php

などもあるはずなのですが。

もしそうなっていないのなら、ダウンロードファイルの解凍からやり直した方がいいと思います。

何かの手違いで名前や、位置が変わっていたのなら本来の姿に戻せばいいと思います。

http://trac.openpne.jp/wiki/OpenPNESetup#section1

エラーとしては『指定の場所にそんなファイルは無い』ということです。

id:eichman

ありがとうございます。もう一度競ってアップし直してみます。

2007/01/21 14:16:25
  • id:tobeoscontinue
    問題がまだ解決していないのなら、まだ終了しないほうがいいと思うのですが。時すでに遅し。

この質問への反応(ブックマークコメント)

「あの人に答えてほしい」「この質問はあの人が答えられそう」というときに、回答リクエストを送ってみてましょう。

これ以上回答リクエストを送信することはできません。制限について

回答リクエストを送信したユーザーはいません