Menu

phpwiki 1.3.10, MacOS X, MySQL misplaced file

Help
eeyore
2004-05-20
2012-10-11
  • eeyore

    eeyore - 2004-05-20

    When starting up a virgin wiki on Mac OS X using a MySQL backend, I received the following sequence of errors:

    Fatal error: main(): Failed opening required 'DB.php' (include_path='.:/usr/lib/php') in /Users/eeyore/Sites/wiki/lib/WikiDB/backend/PearDB.php on line 7

    I edited PearDB.php to point to the file DB.php at 'lib/pear/DB.php' and then received the error

    Fatal error: main(): Failed opening required 'DB/common.php' (include path='.:/usr/lib/php') in /Users/eeyore/Sites/wiki/lib/pear/DB/mysql.php on line 36

    I edited mysql.php to point to the file common.php at 'lib/pear/DB/common.php' and all appears to work.

    I assumed that someone moved a folder and didn't manage to correct all the paths, was that the correct solution or is something else amiss?

     
    • Reini Urban

      Reini Urban - 2004-05-21

      add lib/pear to your include_path as written in the ReleaseNotes.

       
    • eeyore

      eeyore - 2004-05-21

      That fixes it. Sorry, missed that in the notes (was reading and re-reading) the install instructions.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.