Before I have version 7.56 & now changed to 7.59, after files & folder replaced then to "status report" in admin section(admin/reports/status) version is changed to 7.59 & site is working fine. Now if I run update.php then which particular changes will be happen in database? Please advice.
Related
I have a wordpress project version 4.2 with php v5.5
I want to run this project in my localhost where I have php 7.0
How to do update?
Thanks in advance
Try setting up your local dev environment using Local by Flywheel. Local includes the option to choose which version of PHP to use when setting up a site. https://local.getflywheel.com/
Drush that comes with AcquiaDevDesktop2 (Apr 13, 2017 release) is unusable with drupal 8.4 as it uses symfony 3 components unlike earlier versions of Drupal 8.
For you to use drush with Drupal 8.4 and upcoming version you will need to update drush (focusing on those who use AcquiaDevDesktop for local development). To do this (windows users) locate the directory for you installed AcquaiDevDesktop and move into tools folder.
In my case it was 'C:\Program Files(x86)\DevDesktop\tools' , edit the composer.json file and change, "drush/drush": "8.1.8" to "drush/drush": "9.0.0-alpha1" and save (you made need to change your directory and file permissions to do this). Note that 9.0.0-alpha1 is the current stable version as of the date of this article. Open your cmd and move to the devdesktop tools folder.
In my case 'cd C:\Program Files (x86)\DevDesktop\tools' and run 'composer update'. Make sure your internet is on. Thats it you have drush 9 in your local dev environment.
That was my question and How I got it to work?
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.
I am trying to install Drupal onto a server. I had originally installed 7.22, found errors, read that I should instead install 7.21 and upgrade, so I attempted that but am now receiving the following error at the Configure Site page of the install process. I am installing with root authority, so I am stumped as to why I am getting a permissions error. I have redacted the actual database username and replaced with [database username].
Warning: fopen(D:\Webs[database username]\drupal-7.21/sites/default/settings.php) [function.fopen]: failed to open stream: Permission denied in drupal_rewrite_settings() (line 652 of D:\Webs[database username]\drupal-7.21\includes\install.inc).
Thank you so much for any help, I really don't know what else to try! As a note, I do still have the default sites folder on the server from when I installed 7.22. I have renamed it to "oldsites" because it will not allow me to delete it from the server.
Drupal needs permissions to write to the sites/default/settings.php file during install...make sure your web server has the correct permissions on that file and you should be good to go.
Also, try it with 7.22 (not 7.21), there's no good reason to install 7.21 and upgrade. I've installed loads of 7.22 sites on loads of different servers and never once had a problem
Working on a MacbookPro OS 10.6.6 , using MAMP Pro 1.9.4.
I'm attempting to install Acquia's Drupal Commons locally. The installation progress bar goes all the way, I can check in phpMyadmin that the database has been populated, but before the site configuration screen , I get a 500 Server Error!
Standard Drupal 6 or 7 install without any problem & I was able to install Drupal Commons on my web server. So it seems that some form of conflicts happens between my server configuration ( Mamp Pro ) and Drupal Commons.
Thanks in advance for any suggestions!
Did you check that your sites/default/default.settings.php file was copied to settings.php and not just renamed?
I remember having problems setting up Drupal when I just renamed it, both files need to be there.
I solved the issue by raising the PHP limit in Mamp to 96M.
File > Edit Template > PHP > PHP Version
//Search for 'memory_limit' & edit the value
memory_limit = '96M';
then restart the server.
After dong this Drupal Commons should install without any problems.