• Hello!

    I’m pretty new to WP, and I find after uploading the wp content 2.7 into the root-directory of my hosting account:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/httpd/vhosts/takeadetour.eu/wp-config.php) is not within the allowed path(s): (/home/httpd/vhosts/takeadetour.eu/httpdocs:/tmp) in /home/httpd/vhosts/takeadetour.eu/httpdocs/wp-load.php on line 29

    Anybody suggestions what to do?

    cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • make sure all plugins are deactivated even if you have to rename the plugins folder

    add this to the wp-config.php
    define('WP_TEMP_DIR','/tmp');

    Thread Starter marnix

    (@marnix)

    Thanks! but:

    1) HOW do I deactivate all the plugins? Does this mean I rename the plugins folder? mmm, I suppose not… What to do?

    2) I can’t find the wp-config.php
    I do find wp-config-sample.php

    where can I find this wp-config.php?
    and if I find it, I know my next Q will be, where do I paste this: define(‘WP_TEMP_DIR’,’/tmp’);

    I’m learning! looking forward to a reaction.

    1) HOW do I deactivate all the plugins? Does this mean I rename the plugins folder? mmm, I suppose not… What to do?

    if you can log in
    admin – plugins
    if not , ftp to site and rename plugins folder temporarily

    2) I can’t find the wp-config.php
    I do find wp-config-sample.php

    It has to be there or you wouldn’t get that error

    where do I paste this: define(‘WP_TEMP_DIR’,’/tmp’);

    anywhere near the bottom of wp-config.php before the closing
    ?>

    Thread Starter marnix

    (@marnix)

    Does it make a difference to know that following this message:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/httpd/vhosts/takeadetour.eu/wp-config.php) is not within the allowed path(s): (/home/httpd/vhosts/takeadetour.eu/httpdocs:/tmp) in /home/httpd/vhosts/takeadetour.eu/httpdocs/wp-load.php on line 29

    it says this: (which is normal except for the fact that the button ‘wp-config file is not working):

    There doesn’t seem to be a wp-config.php file. I need this before we can get started. Need more help? We got it. You can create a wp-config.php file through a web interface, but this doesn’t work for all server setups. The safest way is to manually create the file.

    is it still strange that the wp-config.php is nowhere to be found?

    thanks for your help again!

    There doesn’t seem to be a wp-config.php file. I need this before we can get started

    I was wrong, then.

    http://codex.wordpress.org/Editing_wp-config.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error after uploading the contents of the wordpress folder’ is closed to new replies.