Forums

[resolved] i dont can upload image in my post (4 posts)

  1. Avicenna
    Member
    Posted 2 years ago #

    i have a linux vps with 8 hosts.
    i changed my control panel from Kloxo to DirectAdmin
    i have 3 wordpress blog but only one of them get some errors when i want upload an image on new post.

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content/uploads/2010/03) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php  on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content/uploads/2010) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content/uploads/2010) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content/uploads) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content/uploads) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com/wp-content) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com/tabeedi13shast.com) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/tabeedi13shast.com) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/tabeedi13shast.com) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1939
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/tabeedi13/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/tabeedi13/domains/tabeedi13shast.com/public_html/wp-includes/functions.php on line 1948

    i upgraded wordpress to 2.9.2 but i have arror yet.

    Note: in kloxo the username of this host was "tabeedi13shast.com" and now in DirectAdmin it is "tabeedi13".
    my another blog username in kloxo was "l0pht" and in DirectAdmin is "l0pht" too. and it doesnt have any problem.

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

  3. Avicenna
    Member
    Posted 2 years ago #

    the problem has been resolved ;)
    for resolve the problem disable the opendirbase on the server and then go to this page /wp-admin/options-misc.php and write wp-content/uploads on "Store uploads in this folder" box and change the permision of this folder to 777. ;)

  4. rimroot
    Member
    Posted 2 years ago #

    Thank you Avicenna for solution. It was very helpful.

Topic Closed

This topic has been closed to new replies.

About this Topic