Uploading graphics in Nelo theme

I'm trying to upload graphics with the Nelo theme Custom Homepage options. I've checked this forum and there was an issue on one with GD Images but that is enabled in my setup.

What happens is simply I browse to the file and click "upload" and the page refreshes but nothing happens. I don't get an error, I don't see the image to crop or that is to be used, nothing.

Anyone know what I might be doing wrong?

  • drmike
    • DEV MAN’s Mascot

    I know you say that you don;t get an error but can you check the webserver's error logs to see if anyting got dropped in there please?

    Can you also give us some specifics as to the image you;re trying to upload? Specific file name, size and width and height please?

  • Roxanne
    • Design Lord, Child of Thor

    Yes of course it makes sense to check that. Here's some of the log errors:

    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: chmod() [function.chmod]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1 owned by uid 48 in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2364, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: chmod() [function.chmod]: stat failed for /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1/thumb in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2364, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: mkdir() [function.mkdir]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1 owned by uid 48 in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2659, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: chmod() [function.chmod]: Unable to access /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1/thumb in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2660, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: chmod() [function.chmod]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1 owned by uid 48 in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2660, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] PHP Warning: chmod() [function.chmod]: stat failed for /var/www/vhosts/domainname.com/httpdocs/wp-content/blogs.dir/1/thumb in /var/www/vhosts/domainname.com/httpdocs/wp-content/themes/wpmu-nelo/functions.php on line 2660, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php
    [Tue Jun 29 18:50:42 2010] [error] [client 208.107.37.238] script '/var/www/vhosts/domainname.com/httpdocs/wp-content/themes/global-adminbar.php' not found or unable to stat, referer: http://domainname.com/wp-admin/themes.php?page=custom-homepage.php

    The file was not huge, and I tried .jpgs of smaller sizes as well but the most tried graphic was a .jpg that was about 680px x 133px or so.

  • drmike
    • DEV MAN’s Mascot

    Thanks for checking.

    SAFE MODE Restriction in effect

    You need to contact your host and ask them to turn off safe mode for this account as it's interfering. In this case, it;s blocking subdirectory creation so it can store the uploaded files.

    rather surprised you haven;t seen this in other places. You should be receiving the same error with regular uploads.

  • Roxanne
    • Design Lord, Child of Thor

    I figured that would might be it, and here are a few other details.

    First, this is a cloud server (only the second I've ever set up) and I had issues with Avatar uploads with the other server that involved having to use SSH and chown commands, so I was starting to wonder if that might not be the case here as well. So I'll take safe mode off and see if that does it first.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.