wordpress not updating
-
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.cssInstallation Failed
-
>> 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.
Thanks for your reply. I’m not an expert on wordpress so I’ll contact my host and see if they can assist.
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
You can do it manually via an FTP client like FileZilla or the file manager app in CPanel.
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`
-
This reply was modified 6 years, 6 months ago by
Steven Stern (sterndata).
-
This reply was modified 6 years, 6 months ago by
jasynrandall.
Redo the permissions carefully.
Will do. Thanks for the assistance.
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
You need to contact your host to help with this.
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?
Maybe. It would depend on how you backed up and how you restore.
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?
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.
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.
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?
-
This reply was modified 6 years, 6 months ago by
The topic ‘wordpress not updating’ is closed to new replies.