• Resolved msadventures

    (@msadventures)


    I’m unable to update my site. I can log in, but before I get to the dashboard or anything, I get a page with the erros below:

    Warning: main(): open_basedir restriction in effect. File(../wp-config.php) is not within the allowed path(s): (.) in D:\hshome\msadmich\msadventures.net\wp-admin\admin.php on line 5

    Warning: main(../wp-config.php): failed to open stream: Operation not permitted in D:\hshome\msadmich\msadventures.net\wp-admin\admin.php on line 5

    Fatal error: main(): Failed opening required ‘../wp-config.php’ (include_path=’.;c:\php4\pear’) in D:\hshome\msadmich\msadventures.net\wp-admin\admin.php on line 5

    I can’t figure out why the directory for the admin.php page seems to be part of my D drive. The only changes I’ve recently made to my site were to add the smiologic plugin for google analytics, and then adding google analytics. After I managed to do that, I found these erros. I removed the google analytics javascript code from the header.php file of my theme, and removed the plugin, but it hasn’t removed the errors.

    I know that part of the problem is that my site currently runs on a windows server, and I’ve had one or two problems before ith some plugins making it appear as though things were being read from a D drive. Anyway, can someone help? I’ve looked through MySql, I can’t figure out how to fix this.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • if d:\hshome… is ACTUALLY your home machine’s path, you have something hard-coded somewhere pointing to it.

    otherwise, it is the raw path to your data on your windows hosting server.

    generally, it is from a file trying to do a relative include rather than a raw/absolute include. but I don’t think any core files should be doing relative includes, so color me confused.

    Thread Starter msadventures

    (@msadventures)

    Color me confused, too, I have absolutely no idea what you just said, lol.

    Except that I do know I didn’t hard code anything to read off of that D:\…thingy.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors: Reading pages from D drive?’ is closed to new replies.