• Resolved danielvdb

    (@danielvdb)


    Good day,

    I am struggling to update my theme and plugins. When I go to update, i am asked for my Connection Information, after I put in my FTP details. I get the message: Theme/plugin(the one I am attempting to update)?Unable to locate WordPress content directory (wp-content).

    I have tried adding the FTP details to the config file, and I have also tried bypassing the FTP. I have no damaged or broken files in my content file

Viewing 8 replies - 1 through 8 (of 8 total)
  • Normally you do not have to enter any FTP access data if you want to install updates. Either the directory in your hosting is not writable or you have deliberately made a setting for this in wp-config.php.

    Have a look under Tools > Site Health to see if anything is reported there.

    Also take a look at wp-config.php to see if there is an entry like define('FS_METHOD','xy');.

    Your actual question could probably be answered with a wrong path, but as I said, you don’t have to go down that path.

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    Hi there!

    My first question on this is where is your site hosted? Asking because I know there is at least one host that often displays a message asking for FTP information because of the way the folder structure and permissions are set.

    The other question I have is, since you have that FTP information, have you tried connecting to the site that way to see if you can update the plugins/themes by manually updating those?

    Thread Starter danielvdb

    (@danielvdb)

    Thank you for your response, I work in South Africa so I host through Afrihost, normal cPanel.

    i did try update through File Zilla and that didnt work either

    Thread Starter danielvdb

    (@danielvdb)

    @threadi
    Thank you for your response, so I’ve been working on the site without issue for several months, I upload blogs and videos 4/5 times a week and most recently uploaded on Monday, but since then I’ve had this issue.

    I have three critical issues on my site, all of which are required updates. When I go to update I get this message: Update failed: unable to locate WordPress content directory

    I think the issue is from my hosting side, I believe it may have to do with the permissions on their side, as like I said I’ve had no issues with the site for months until now

    Thread Starter danielvdb

    (@danielvdb)

    @threadi I also looked at my config file and didnt find the FS_method any where

    Thread Starter danielvdb

    (@danielvdb)

    If I try make a backup of my site I get this issue:

    Fail?? [/home/(FTPS_Username)/public_html/wp-content/backups-dup-lite]
    Fail?? [/home/FTP_Username/public_html/wp-content/backups-dup-lite/tmp]
    Warn?? [/home/FTP_Username/public_html]

    If the root WordPress path is not writable by PHP on some systems this can cause issues.
    If Duplicator does not have enough permissions then you will need to manually create the paths above.  

    Talk to your hoster’s support team about this. Obviously something is set incorrectly there.

    Thread Starter danielvdb

    (@danielvdb)

    @threadi
    You were correct, it was a simple fix from something on their end

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.