Forums

Auto Update Error. (3 posts)

  1. warbeast
    Member
    Posted 7 months ago #

    Hello to everyone,
    I have a problem with the Auto Update System. When i click on Update.
    i get this :

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp//1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-includes/functions.php on line 1924
    
    Warning: touch() [function.touch]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 174
    
    Warning: fileowner() [function.fileowner]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 628
    
    Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 630
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp//1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-includes/functions.php on line 1924
    
    Warning: touch() [function.touch]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 174
    
    Warning: fileowner() [function.fileowner]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 628
    
    Warning: unlink() [function.unlink]: open_basedir restriction in effect. File(/var/tmp/1239375025) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 630
    
    Обновяване на WordPress
    
    Сваляне на обновление от http://bg.wordpress.org/wordpress-2.7.1-bg_BG.zip
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/tmp//wordpress-271-bg_bg.zip) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-includes/functions.php on line 1924
    
    Warning: touch() [function.touch]: open_basedir restriction in effect. File(/var/tmp/wordpress-271-bg_bg.zip) is not within the allowed path(s): (/users/******:/usr/lib/php:/usr/local/lib/php:/tmp) in /users/******/public_html/wp-admin/includes/file.php on line 174
    
    Грешка при сваляне на обновлението: Грешка при създаване на временния файл
    
    Грешка при инсталацията

    I have this issue since i user version 2 :|
    Please help :)

  2. samboll
    moderator
    Posted 7 months ago #

    hi,
    add this to your wp-config.php before the closing?>

    putenv('TMPDIR='.ini_get('upload_tmp_dir') );

    this should overcome the open base restriction

  3. DanyR
    Member
    Posted 1 month ago #

    Thank you samboll!

    Everything is working now. :)

Reply

You must log in to post.

About this Topic