• Resolved nikko4913

    (@nikko4913)


    Hello.
    I’m just starting my new WordPress site up, however, i’m running into some problems with media though.

    It doesn’t matter which theme I use, or what settings I try, I can never use pictures or media. Fx. When trying to set the logo in any theme under ‘Site Identity’, I can upload the picture, but when i try to select it, nothing happens. The same when I specify a url for the favicon, I get no error, but the favicon remains unchanged.
    I can’t edit the pictures either, because when I open the editor, I can’t see my picture, and can’t save any cropping.

    My first thought was a permission-related problem. However, the whole folder in which wordpress is placed, is property of www-data, so i can’t see why that could be an issue..

    Do any of you clever people know why this is?

    Thanks ??

Viewing 15 replies - 1 through 15 (of 19 total)
  • Moderator James Huff

    (@macmanx)

    Hm, that’s odd.

    Try deactivating all plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, try switching to the Twenty Fifteen theme to rule-out a theme-specific issue.

    Thread Starter nikko4913

    (@nikko4913)

    I have tried deactivating all plugins, and enabled Twenty Fifteen now. Still no change…

    Moderator James Huff

    (@macmanx)

    Ok, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter nikko4913

    (@nikko4913)

    I just tried to delete everything inside my host folder, and installing 4.3, no change. I then reinstalled 4.4 through the update option in the dashboard. I still have no change… maybe something related to the www-data user and permissions then?

    Do you have a security plugin that “hardens” certain directories such as “uploads”?

    If so, sometimes these plugins install an .htaccess file in the directory to “harden” it. Even deactivating the plugin does not eliminate this .htaccess file. Check your wp-content and uploads directories for such an .htaccess file.

    Thread Starter nikko4913

    (@nikko4913)

    I do not have any plugins installed, and because this is a fresh installation of wordpress, i have never had any on this one. However, i do have an .htaccess file, but it doesn’t contain anything that should be able to cause this. I’ve been running WordPress before on a system like this, where it worked perfectly even though i had that .htaccess file with the same contents.
    Thank you guys for your input, still! ??

    Moderator James Huff

    (@macmanx)

    How fresh of an install is this? Would you be comfortable starting over with a manual installation following https://codex.www.ads-software.com/Installing_WordPress#Detailed_Instructions ?

    Thread Starter nikko4913

    (@nikko4913)

    Well it’s 4.4, so thats fresh in itself. I installed WordPress on the server just in these last few days, so thats also pretty fresh.
    Regarding the link you gave me, I acutally did exactly what it said in there, but with another tutorial. Here’s my system specs if that has any importance:
    Ubuntu 14.04 on BeagleBone Black
    LAMPS setup

    This is the tutorial I followed during installation:
    https://dotnetdavid.wordpress.com/2013/09/25/beaglebone-blackwordpress-on-ubuntu/

    Thanks ??

    Moderator James Huff

    (@macmanx)

    Weird, I don’t see anything wrong with that.

    Just so we’re on the same page, you said you could upload media, but you can’t select it to insert it?

    Thread Starter nikko4913

    (@nikko4913)

    Yes, i can upload media, view it, but cropping, editing and using the picture is something I can’t.

    Is this a file permissions issue?
    Are the uploads directory file permissions correct?

    Thread Starter nikko4913

    (@nikko4913)

    This is the permissions i’ve set:
    www-data owning the whole wordpress folder, wp-content is 755 permissionlevel, and wp-config.php is level 644. That is what i got, anything to change?

    Is uploads 755 also?

    Moderator James Huff

    (@macmanx)

    Try adding define('CONCATENATE_SCRIPTS', false); to your wp-config.php file just below the define('DB_HOST' line.

    To do so, access your server via FTP or SFTP and edit the file with a plain text editor.

    https://codex.www.ads-software.com/Editing_wp-config.php#Disable_Javascript_Concatenation

    Thread Starter nikko4913

    (@nikko4913)

    All subdirectories under wp-content has the level 755.
    I’ve tried that line you posted, James, and i don’t know if that had an affect. I also changed to pretty permalinks, and i’m now able to skip cropping and use a picture as a favicon, but cropping still throws an error. It says: “There has been an error cropping your image”, but i can still select the image, i just can’t save the cropping.
    And when i go to the media tab, i can see all the pictures uploaded, but clicking edit, shows me the editing menu with all the tools, but the image appears unavailable.

    So, some change, but it’s still not workable…

    Again, thank you to everyone trying to help!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Can't use media in WordPress’ is closed to new replies.