Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wordpress Core Update Fail (4.1 to 4.1.1)

Tags:

php

wordpress

I currently have Wordpress 4.1, trying to update to 4.1.1.

I've updated several times in the past via the Dashboard > Updates module. This time around, when I attempt to update, I'm met with a blank page after entering my FTP password.

The "blank" page isn't entirely blank. The top and left menus of the dashboard show, but the content area is blank. The URL of the page is @HOME/wp-admin/update-core.php?action=do-core-upgrade&_wpnonce=7b6cf80aad

I've tried using the default theme, as well as disabling all plugins. Nothing changes.

On one occasion, I caught these errors in the Google Chrome console:

Failed to clear temp storage: It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. SecurityError

Failed to create temp file 2 : It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources.

This is ONLY happening with the Core Update. I can still install/delete plugins no problem. What other factors could affect the core update in this fashion?

like image 774
skippr Avatar asked Feb 19 '15 04:02

skippr


2 Answers

You may try to put your ftp credentials into the wp-config.php file:

define( 'FTP_USER', 'ftpusername' );
define( 'FTP_PASS', 'ftppassword' );
define( 'FTP_HOST', 'ftp.hostname.net:21' );

Source: https://wordpress.org/support/topic/cant-upgrade-vom-41-to-411?replies=10#post-6589194

like image 80
Aldjinn Avatar answered Sep 25 '22 15:09

Aldjinn


just add below code into your theme function.php.

define('FS_METHOD', 'direct');

after add this code Wordpress not ask FTP details. You can get more detail from here.

and give 777 permission to uploads directory.

then check i hope it is working.

like image 30
Renish Khunt Avatar answered Sep 22 '22 15:09

Renish Khunt