Problem/Motivation
I tested the d7 to d8 upgrade path on my local dev system, and I failed to complete the process.
Steps to Reproduce:
- `drush dl drupal` (drupal 7.22)
- `drush si --db-url....` (standard install profile)
- Added two nodes, one basic page, one article with tags and an image. Each node with link in menu.
- Deleted all files outside sites directory
- `wget http://ftp.drupal.org/files/projects/drupal-8.x-dev.zip` last updated April 8, 2013
- Copied all files except sites directory into drupal root directory
- Visited example.com/update.php
- Was redirected to example.com/core/update.php
- WSOD
- Visited example.com and got this error message: `Fatal error: Call to a member function get() on a non-object in \path\to\drupal\core\lib\Drupal.php on line 212`
My system:
- Windows Vista 64bit
- Xampp 1.8.1
- PHP 5.4.7
- Apache 2.4.3
I expected the update to run without errors, instead of the white screen of death. I'm having trouble tracking down an error related to update.php in my error log, but I'm definitely seeing a 500 status code in my access log.
Proposed Resolution
Discover whether the problem is my system or patch/commit drupal-8.x branch.
Comments
Comment #1
wusel commentedMy hint:
Please look at http://drupal.org/node/1965402#comment-7312822
Good luck!
Wusel
Comment #2
ruplThis also happens on a fresh install on
Linux 3.2.0-40-virtual #64-Ubuntu SMP x86_64running PHP 5.3.10Comment #3
wusel commented@rupl (#2):
Please write a notice on #1948390: [Meta] Upgrade to D8 from D7: regular testing needed on various OSs with different versions of php and other unique situations too!
Thank you very much!
Wusel
Added:
Did you make the
settings.phpfile writeable in front of changing to D8 / runningupdate.php?Comment #4
ruplwhoops sorry, cross-posted my comment: #1948390-46: [Meta] Upgrade to D8 from D7: regular testing needed on various OSs with different versions of php and other unique situations
Comment #5
rupland yes I had settings.php set to 777
Comment #6
wusel commentedThank you very much for this informations.
Wusel
Comment #6.0
wusel commentedUpdated the issue summary with a link to a related issue.
Comment #7
marcingy commentedUpdates are now via migrate