Support » Installing WordPress » failed opening req wp-db.php | Fatal Error on wp-i

  • I’ve tried installing according to the 5 minute install guide, but my university server gives an error, could this be a mysql problem, or something that I can solve myself (no admin rights for students of course)?
    Fatal error: Failed opening required ‘/usr/local/apache/htdocs/~sander17/blog//b2-include/wp-db.php’ (include_path=’.:/usr/freeware/lib32/php’) in //b2config.php on line 338
    Any help would be welcome,
    Sander van Dragt

Viewing 4 replies - 1 through 4 (of 4 total)
  • btw, you can see the phpinfo here (that might help):

    Looks like you have a trailing slash you shouldn’t in your path somewhere… careful on the settings that say “no trailing slashes” – they mean it. 🙂 (This is something we should catch when you save your prefs.)

    There are no trailing slashes in any of the variables I’ve changed, I’m really sure of that. :/ WordPress miscalculates the paths at the end of the b2-config.php it seems like. or our server is not set up correctly somehow.
    “/ This should get us the relative path of WordPress and the absolute path on the server. Yipee!”
    perhaps if someone could give an example of the relative path and absolute path on their server I could change them according to my server. (in case it’s that)

    WordPress incorrectly assumes that Document_root is a basis for the absolute path it seems.
    changing the following helped me solve that particular problem (now i need mysql permission hehe). Our apache configuration gets the user webspace from outside the apache folder. 🙂
    for ($i = 3; $i < count($url); $i++) {
    for ($i = 4; $i < count($url); $i++) {
    and from:
    $abspath = getenv(‘DOCUMENT_ROOT’) . $relpath . ‘/’;
    $abspath = “/usr/people/sander17/public_html” . $relpath . ‘/’;

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘failed opening req wp-db.php | Fatal Error on wp-i’ is closed to new replies.