• I just setup my WPMU.

    When I try to change the theme header image to an image from media library, it shows an empty image in next step and tons of error message as follow:

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/antzblog/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/antzblog/domains/antzblog.com/public_html/wp-includes/functions.php on line 1337
    
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/antzblog/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/antzblog/domains/antzblog.com/public_html/wp-includes/functions.php on line 1346
    
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/antzblog/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/antzblog/domains/antzblog.com/public_html/wp-includes/functions.php on line 1662
    
    Warning: imagejpeg() [function.imagejpeg]: Unable to open '/.jpg' for writing: Permission denied in /home/antzblog/domains/antzblog.com/public_html/wp-includes/class-wp-image-editor.php on line 334

    Anything I can do to solve this problem?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter shneoh

    (@shneoh)

    tried. still the same.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    What’s in your .htaccess?

    Thread Starter shneoh

    (@shneoh)

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The location of the header setting captured is in:
    wp-include/uploads/site/2/1/cropped-12345.jpg.

    Hold the phone.

    wp-include/uploads…

    Are you ABSOLUTELY sure that’s the path? And not wp-content/uploads…

    If so, search your files AND your database for ‘wp-include/’ and see if anythign shows up.

    Thread Starter shneoh

    (@shneoh)

    Noted a weird situation.

    I have configured the same WP-multisite on another domain which sits in the same server with same settings.

    Trying the same problem, but this domain is working well!
    I am wondering what’s actually wrong here…

    Noticed in Network/Sites, the sites domains are showing the full path (eg: nelson.duaspace.com) but in my problem WPMU it shows only name (eg: nelson). Wondering this might be the problem came, but how to fix?

    A few questions:
    1. Can re-installation solve this issue?
    2. If re-install, would it affect my existing user data and files?

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The only reinstall to fix this would really be a reboot (start the whole site over)…. which I doubt you want to do.

    Noticed in Network/Sites, the sites domains are showing the full path (eg: nelson.duaspace.com) but in my problem WPMU it shows only name (eg: nelson). Wondering this might be the problem came, but how to fix?

    You didn’t edit those at /wp-admin/network/site-info.php?id=1 did you? (I’m not saying you SHOULD, I’m asking if you DID!)

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Header Image can't get from media library’ is closed to new replies.