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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
add lib/pear to your include_path as written in the ReleaseNotes.
That fixes it. Sorry, missed that in the notes (was reading and re-reading) the install instructions.