• Resolved askarihumbly

    (@askarihumbly)


    WordPress is asking for FTP credentials. I read that by adding this code issue is resolved.

    define(‘FS_METHOD’, ‘direct’);

    But i can’t add it. When i write this in wp-config. While saving it says:

    (Could not write “/home/site/mysite.com/wp-config.php”: Inappropriate ioctl for device)

    Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @askarihumbly

    I hope you are doing well today.

    There is a high possibility that there is something wrong with your file permission. Please check in the first place if the file has the correct permission set to 644. If yes, I would suggest contacting your hosting provider to check if there are any limitations that do not allow modification of that file.

    Kind Regards,
    Kris

    Moderator threadi

    (@threadi)

    As mentioned above, I would also recommend that you contact your hoster’s support team. There is obviously something wrong with the directory permissions for your hosting in their resources. Here are details on how they should be in principle: https://developer.ww.wp.xz.cn/advanced-administration/server/file-permissions/ – depending on the system, this may need to be adapted individually, for which your hoster is the right contact.

    Thread Starter askarihumbly

    (@askarihumbly)

    Thanks for helping but it is fixed. I don’t know how but it just resolved by itself.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘WordPress asking for FTP credentials.’ is closed to new replies.