Fresh Wordpress Install on Azure Fails to Update to 3.7 - wordpress

I decided to try out Windows Azure for hosting Wordpress. So i just created a fresh new install of Wordpress from the gallery using the Websites option in Azure.
This is what i get when i try to update to 3.7
Downloading update from http://wordpress.org/wordpress-3.7-no-content.zip…
Unpacking the update…
Verifying the unpacked files…
Preparing to install the latest version…
Enabling Maintenance mode…
Copying the required files…
Disabling Maintenance mode…
Could not copy file.: index.php
Installation Failed
Any ideas why this is happening?

I experienced the same problem and got the same error message as Jef. To fix it do the following:
Open wp-config.php and delete/remove/comment out these lines of code:
define('FS_METHOD','direct');
define('FS_CHMOD_DIR',0777);
define('FS_CHMOD_FILE',0666);
Now add these lines of code:
define('FS_CHMOD_DIR', (0755 & ~ umask()));
define('FS_CHMOD_FILE', (0644 & ~ umask()));
Save and upload wp-config.php. Go to your dashboard and run the update. You will be asked for your ftp user name and password.

Related

How to install plugin in wordpress after following error?

I am trying to install the wordpress plugin in my localhost wordpress. I am getting the following error whenever I try to install a new plugin.
Installation failed: Could not create directory.
You can try to delete the folder of the plugin and try to reinstall it again.
Or try this: Wordpress plugin install: Could not create directory
If you don't manage to setup the permission ask the hosting support to do that for you.

Wordpress: Unable to install plugins from wp-cli

Hi I am using a Ubuntu system. I am using a shell script to download wordpress from wget, update config and run it from nginx server.
Now I want to update this shell script so that when we install a fresh copy of WordPress, I get some plugins pre-installed.
So I installed wp-cli and ran the command
wp plugin install w3-total-cache --activate --allow-root
This command says the plugin has been activated successfully. But when I go to the site URL in the plugins section, it gives the following error
The plugin w3-total-cache/w3-total-cache.php has been deactivated due to an error: Plugin file does not exist.
This is true for any plugin that I try to install.
When I go to the plugins folder inside wp-content, I can see that plugin files exist. But still I get the error.
How to resolve this. Please help
You should try uploading the plugin by logging in to your wp-adm
Are you using the latest version of wp-cli?
Try: wp cli check-update

Object not Found after installing Wordpress w/ XAMPP

I just finished installing Wordpress (through Bitnami) and am running an Apache server with XAMPP. After installation, it tried to load the initial blog page and had the error. I can access localhost, but not the http://localhost/wordpress. No other questions about this topic seem to have this same problem.
Try this:
Create a new folder (site)
From the link below, download and extract the WordPress loader (installer) php script into the new folder:
http://www.alistercameron.com/2010/04/09/wordpress-loader-faster-easier/
Run http://localhost/<new_folder>/wordpress_loader.php and follow the on-screen instructions to complete the installation

download failed, couldn't connect to host

I haven't been able to install new plugins or updating plugins after upgrading to wordpress 4.3 on my Ubuntu Server 12.04.5 32bit machine. Usually I could just do it by clicking on the "update" link that's associated with a specific plugin. And it will update it successfully with less than a minute. But this time, it took so long and at the end, it threw out error "download failed, couldn't connect to host".
Then, I thought and guessed that it might be to do with the new wordpress 4.3. So I downgraded it back to previous version 4.2.4 and tried to update the plugin that needs updating. It also took so long and in the end, gave the same error message.
The strange thing is that I haven't made any changes to my Ubuntu server in terms of firewall at all.
My installed PHP version is 5.5.25 and apache is 2.4.12.
The permission of my wp-config.php is 644.
I don't know what else to look. Any help would be greatly appreciated.
Thank you in advance
did you install the correct .dll files in system directory? uninstall the program and try running a system repair and .dll file patcher

Installing Wp-Plugin without FTP Access

I have wordpress site on my server which only uses sftp.
I want to install and upgrade plugins, but it appears that you are required to enter your ftp login to install the plugins. Is there a way to install and upgrade plugins by manually uploading the files instead of having wordpress handle the entire process?
Add
define('FS_METHOD', 'direct');
to your wp-config.php
And it will be fine
You can install a plugin by simply uploading to the plugins directory and unpacking it. '/wp-content/plugins'. Note that you will still have to enable the plugin normally in Wordpress admin.

Resources