Forums

Help... heeeelp! (5 posts)

  1. Michael Heilemann
    Member
    Posted 8 years ago #

    When I try to open anything in wp-admin using 0.71B, I get this:
    "Fatal error: Failed opening required '//b2-include/b2template.functions.php' (include_path='.;c:\php4\pear') in D:\web\binarybonsai.com_n2u1an\wwwroot\wp-admin\b2header.php on line 4"
    Did I overlook a setting?

  2. Matt Mullenweg
    Troublemaker
    Posted 8 years ago #

    Try manually setting the $abspath variable at the end of b2config.php .

  3. Michael Heilemann
    Member
    Posted 8 years ago #

    I know very little PHP, so bear with me. But is this the right way:
    $abspath = 'http://binarybonsai.com' . $relpath;
    I'm guessing not, since that ends up breaking the frontend, and does nothing to the backend.
    Is is possible to call wp-db.php directly? If so, it talks about problems connecting to the db (http://binarybonsai.com/b2-include/wp-db.php). I double checked the config, should be fine!

  4. Matt Mullenweg
    Troublemaker
    Posted 8 years ago #

    $abspath should be the absolute path to your site on the filesystem. On linux this might be "/home/username/public_html/wordpress" and on for you it would be "D:\web\binarybonsai.com_n2u1an\wwwroot\". Hope that helps.

  5. Michael Heilemann
    Member
    Posted 8 years ago #

    *hugs* I love you guys!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.