Viewing 6 replies - 1 through 6 (of 6 total)
  • The problem could be that the media library folder has the wrong access permissions or wrong ownership, so that wordpress/the webserver is not allowed to write any files into your media folder when you upload images through wordpress.

    Your your media library folder is wp-content/uploads.

    It depends on your webhoster’s setup how you need to set permissions here.
    Try to assign permissions 777 and see if this fixes it. Unfortunately, some hosts are configured so that WordPress uploads work only with these highly insecure permissions. Check with your hoster what permissions are best. (usually you should at most assign folders 755 permissions).
    In rare instances, you might also have to switch your folder ownership to the apache user (rather than the ftp user who created the folder).

    Read here how to assign permissions:
    https://codex.www.ads-software.com/Changing_File_Permissions

    Or use a plugin to check your file permissions:
    https://www.ads-software.com/plugins/wp-file-permission-check/

    Thread Starter Jakub Orlowski

    (@jakub-orlowski)

    Changing permission to 777 change nothing ?? Even if I delete all those file they back after reload.

    Hmm, then you should check the error log of your webserver to see what the problem is when you upload a file to the media library…

    Its weird that you cannot delete the database entries for the ghost files – can you add posts to your wordpress install? (wondering whether you have write access to the WP database)

    Thread Starter Jakub Orlowski

    (@jakub-orlowski)

    Error Log:

    [Sun Sep 28 02:17:38.639144 2014] [fcgid:warn] [pid 17600] (104)Connection reset by peer: [client 186.137.17.161:3144] mod_fcgid: error reading data from FastCGI server
    [Sun Sep 28 02:17:38.639181 2014] [core:error] [pid 17600] [client 186.137.17.161:3144] End of script output before headers: 400.shtml
    [Sun Sep 28 07:02:39.028198 2014] [fcgid:warn] [pid 2847] (104)Connection reset by peer: [client 66.234.119.158:47173] mod_fcgid: error reading data from FastCGI server
    [Sun Sep 28 07:02:39.028381 2014] [core:error] [pid 2847] [client 66.234.119.158:47173] End of script output before headers: 400.shtml
    [Sun Sep 28 11:19:46.507728 2014] [fcgid:warn] [pid 14334] (104)Connection reset by peer: [client 216.235.109.123:59239] mod_fcgid: error reading data from FastCGI server
    [Sun Sep 28 11:19:46.510273 2014] [core:error] [pid 14334] [client 216.235.109.123:59239] End of script output before headers: 400.shtml
    [Sun Sep 28 12:28:26.069364 2014] [fcgid:warn] [pid 14841] (70007)The timeout specified has expired: [client 79.173.49.78:51452] mod_fcgid: can’t get data from http client
    [Sun Sep 28 12:28:26.069636 2014] [fcgid:warn] [pid 14841] (70014)End of file found: [client 79.173.49.78:51452] mod_fcgid: can’t get data from http client
    [Sun Sep 28 17:41:48.780513 2014] [fcgid:warn] [pid 22904] (104)Connection reset by peer: [client 212.129.3.193:52425] mod_fcgid: error reading data from FastCGI server
    [Sun Sep 28 17:41:48.783013 2014] [core:error] [pid 22904] [client 212.129.3.193:52425] End of script output before headers: 400.shtml
    [Sun Sep 28 18:46:48.217362 2014] [fcgid:warn] [pid 22507] [client 79.173.49.78:53797] mod_fcgid: stderr: PHP Fatal error: Method OC_L10N_String::__toString() must not throw an exception in /home/virt104126/domains/grippingbeast.net/public_html/cloud/lib/private/defaults.php on line 0

    About WP data base. All MySQL premissions are set to YES.

    Thread Starter Jakub Orlowski

    (@jakub-orlowski)

    Oh and I can add post.

    Thread Starter Jakub Orlowski

    (@jakub-orlowski)

    But can not add images. Always add ony ghost files. What should I do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I don't know what happend with media library’ is closed to new replies.