• Resolved jasynrandall

    (@jasynrandall)


    Hi,

    I tried to update my wordpress website to the newest version (5.2.3) but this error message comes up. Any help would be appreciated. Thanks.

    Warning: copy(/websites/in/inlineortho.com.au/wordpress/wp-admin/css/site-health-rtl.css): failed to open stream: Permission denied in /websites/in/inlineortho.com.au/wordpress/wp-admin/includes/class-wp-filesystem-direct.php on line 243
    Could not copy file.: wp-admin/css/site-health-rtl.css

    Installation Failed

Viewing 15 replies - 1 through 15 (of 19 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    >> Permission denied <<

    Check the ownership and permissions of the files in your WP tree. All files should be 644, directories 755, and should be owned by the same user under which PHP is running. If that doesn’t make sense, please contact your host.

    Thread Starter jasynrandall

    (@jasynrandall)

    Thanks for your reply. I’m not an expert on wordpress so I’ll contact my host and see if they can assist.

    Thread Starter jasynrandall

    (@jasynrandall)

    Hi Steve,

    My host hasn’t been too much help and they just told me find a wordpress developer to fix the problem. Is it just a matter of manually checking each file and directory to see if they are 644 or 755? I’ve never had this problem before so I’m not sure how it has happened.

    Thanks

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You can do it manually via an FTP client like FileZilla or the file manager app in CPanel.

    Thread Starter jasynrandall

    (@jasynrandall)

    Hi Steve,

    I was using a webftp and changed the permissions to ensure they are either 644 or 755. I must have accidently made an error as the following messages now appear when I try to access the dashboard of my website. Thanks.

    Fatal error: Uncaught Error: Call to undefined method WP_Error::has_errors() in /websites/in/………../wordpress/wp-admin/includes/file.php:1766 Stack trace: #0 /websites/in/………../wordpress/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/class.redux_filesystem.php(90): WP_Filesystem(true) #1 /websites/in/………/wordpress/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/class.redux_filesystem.php(140): ReduxCore\ReduxFramework\Redux_Filesystem->filesystem_init(‘admin.php?page=…’, ‘direct’, ‘/websites/in/in…’) #2 /websites/in/………./wordpress/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/class.redux_helpers.php(672): ReduxCore\ReduxFramework\Redux_Filesystem->execute(‘get_contents’, ‘/websites/in/in…’) #3 /websites/in/……../wordpress/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/class.redux_api.php(627): ReduxCore\ReduxFramework\Redux_Helpers::get in /websites/in/………/wordpress/wp-admin/includes/file.php on line 1766`

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Redo the permissions carefully.

    Thread Starter jasynrandall

    (@jasynrandall)

    Will do. Thanks for the assistance.

    Thread Starter jasynrandall

    (@jasynrandall)

    Hi Steve,

    I tried again and the 755 seemed to work for the folders but when I did the 644 for the file permissions the following error appeared at the bottom of the screen when I’m in the webftp. I also still have previous error preventing me from accessing the dashboard. Any guidance would be appreciated. Thanks.

    ftp_chmod()[function.ftp-chmod]: SITE CHMOD command failed. in /websites/cl/cloudwebtools.com.au/webftp/plugins/access.ftp/class.ftpAccesswrapper.php

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You need to contact your host to help with this.

    Thread Starter jasynrandall

    (@jasynrandall)

    My host is now looking into it. One last question, I did a backup before I attempted to change the permissions, would restoring things put the file permissions back to the original settings?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Maybe. It would depend on how you backed up and how you restore.

    Thread Starter jasynrandall

    (@jasynrandall)

    Hi Steve,

    My host said that they cannot help me with this problem. I deactivated all the plugins and that didn’t seem to solve the problem and an error message is still present. I did backup my website using phpmyadmin before all of this but I don’t want to restore unless it would be a 100% success. My only other option is to find a wordpress developer in my local area that could help. Do you have any other suggestions?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Restoring the DB will not help this. If you have a file backup, you can look at how the permissions and ownership were set and update the site to match.

    Thread Starter jasynrandall

    (@jasynrandall)

    It’s a SQL file. How do I check the permissions without loading it into the ftp? I’ve never had to deal with a problem like this before.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    The SQL file has nothing to do with the issue you’re having with permissions and/or ownership.Do you have a backup of the files?

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘wordpress not updating’ is closed to new replies.