• Resolved luckyadm

    (@luckyadm)


    Hello,

    some days ago I migrate the Website to a new plesk host.

    Now I can’t upload any media to the site. I get follow error message:
    Unable to create directory uploads/2018/12.
    Is its parent directory writable by the server?

    I used WordPress 4.9.8 til today and now 5.0

    Both Versions have no path Setting under “Settings/media”.
    The folderpermission is 755 and the filepermission is 644.
    In wp-config.php I already add “define( ‘UPLOADS’, ‘wp-content/uploads’ );” before the last line “require_once(ABSPATH . ‘wp-settings.php’);”

    The issue still persist. ??

    There was no issue installing and updates some plugins after the migration to the new host. But I can’t upload any Kind of media (gif, png, img)

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator t-p

    (@t-p)

    Try changing the permissions on the wp-content directory to 766. If you still have problems, try 767, or 777.
    Once your uploads are working, change the permissions on wp-content back to 755 again (very important for security reasons!) and check that everything still works OK

    Thread Starter luckyadm

    (@luckyadm)

    I already set 777 to all Folders.
    Issue still persist ??

    Moderator t-p

    (@t-p)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.

    If you can install plugins, install “Health Check”: https://www.ads-software.com/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter luckyadm

    (@luckyadm)

    I istalled the plugin and he told me to make an backup.
    So I start Akeeba backup, but it have a similar issue.
    Akeeba try to write data to “/home/cheerfra/public_html/wp-content/plugins/akeebabackupwp/app/backups” but “/home/cheerfra/public_html/” is the old path in cPanel.

    So I start the wizard and now the backup use “/var/www/vhosts/cheerleaders-frankfurt.de/httpdocs/”

    The Backup worked. Is there any config file or DB setting where WP save this path?

    Health Check & Troubleshooting did not fix the issue.

    Health Check Show this:

    ### Filesystem Permissions ###
    The main WordPress directory: Writable
    The wp-content directory: Writable
    The uploads directory: Not writable
    The plugins directory: Writable
    The themes directory: Writable
    The Must Use Plugins directory: Writable

    Moderator t-p

    (@t-p)

    It shows The uploads directory: Not writable

    Thread Starter luckyadm

    (@luckyadm)

    Yes I saw this also. But how can I change it?

    Moderator t-p

    (@t-p)

    Have a read of this help guide https://codex.www.ads-software.com/Changing_File_Permissions

    If still need assistance, please contact your hosting provider.

    Moderator t-p

    (@t-p)

    Side note to @alexfit,

    Please do not jump into other topics. If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. A lot more people will see your post this way. That way you stand a good chance of getting the assistance you want. Despite any similarity in symptoms, your issue is likely to be completely different because of possible differences in physical servers, accounts, hosts, plugins, theme, configurations, etc. Thus one problem, on one setup is not indicative of the functionality and reliability of an application as a whole.

    Your reply has been archived.

    Thread Starter luckyadm

    (@luckyadm)

    I will check https://codex.www.ads-software.com/Changing_File_Permissions and post if I found a solution.

    Thread Starter luckyadm

    (@luckyadm)

    I found the soulution!

    Visit https://www.domain.de/wp-admin/options.php an Login with your admin credentials.

    Now scroll down or search for upload_path

    My host works with this path /var/www/vhosts/domain.de/httpdocs/wp-content/uploads but after the path is set, you can upload new media.

    Moderator t-p

    (@t-p)

    Glad you got it sorted ??

    @luckyadm

    I have checked the
    https://www.mydomain.com/wpdemo/wp-admin/options.php
    there was nothing set at upload_path

    so I added
    /var/www/vhosts/www.mydomain.com/httpdocs/wpdemo/wp-content/uploads

    and tried to upload using
    https://www.mydomain.com/wpdemo/wp-admin/media-new.php

    but still got the error

    “test-img.jpg” has failed to upload.
    Unable to create directory wp-content/uploads/2018/12. Is its parent directory writable by the server?

    Thread Starter luckyadm

    (@luckyadm)

    I have an plesk host, you need to use your secific path.

    But do you also check: https://codex.www.ads-software.com/Changing_File_Permissions
    and do you also use Health Check & Troubleshooting plugin?

    Can anyone help PLEASE…:

    I need to find a directory theme or plugin for my client who is looking to start-up a b2c business directory (membership to be paid by businesses)

    It needs to achieve the following:

    Homescreen
    a single search field for the consumer to search a directory/database (for businesses/services). The user/consumer will search by postcode in a single search field to receive a maximum of 4-5 results (businesses). The user should then be able to fill in an enquiry form and submit their request to those 4-5 results (businesses). The businesses will then be at liberty to respond with their prices/availability etc. I’m aware this may appear to be a pretty straightforward directory.

    However, my problem is: I have searched the WordPress repository for free plug ins and found ‘Business Directory Plug-in’ and ‘GEO Directory’ …amongst others, but they all seem to be far too complex for what I need. Or are they? Am I missing something obvious? Or do I need to understand them at a deeper level in order to grasp the basics?

    I am happy to pay for a theme (e.g ……..?) but at this stage I don’t feel confident enough to pay for something that isn’t suitable for my needs.

    I would be so grateful if anyone could recommend or advice in anyway. I’m really stuck!

    Many thanks indeed!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Unable to create directory’ is closed to new replies.