Re: Unable to upgrade to 1.38.x from 1.37.x
Jeffrey Walton <[email protected]>
| Newsgroups | gmane.org.wikimedia.mediawiki |
|---|---|
| Message-ID | <CAH8yC8nYZ1_E5cs=2o+OZ5=R1Rm9kvVZx_mybSsm5AbbE8YqjA@mail.gmail.com> |
On Sun, Jul 3, 2022 at 7:09 PM Jeffrey Walton <[email protected]> wrote: > > On Sun, Jul 3, 2022 at 6:57 PM Jeffrey T. Darlington > <[email protected]> wrote: > > > > Each time I upgrade, I unzip the archive to a new directory and copy over the images and extensions. So I've been using the "core" version of Vector for a while. That said, commenting out the line with wfLoadSkin('Vector') still generates the following error: > > > > ================ > > PHP Fatal error: Uncaught FatalError: $wgBaseDirectory must not be modified in settings files! Use the MW_INSTALL_PATH environment variable to override the installation root directory. in /var/www/gpf/mediawiki-1.38.2/includes/Setup.php:237 > > Stack trace: > > #0 /var/www/gpf/mediawiki-1.38.2/maintenance/doMaintenance.php(96): require_once() > > #1 /var/www/gpf/mediawiki-1.38.2/maintenance/update.php(264): require_once('/var/www/gpf/me...') > > #2 {main} > > thrown in /var/www/gpf/mediawiki-1.38.2/includes/Setup.php on line 237 > > ================ > > > > I'm not modifying $wgBaseDirectory anywhere in my LocalSettings.php, so I don't see why it would be generating this error. (Note that all of the files in the stack trace are MediaWiki internal files.) > > Yeah, we are at this point, too. We experience the error but don't > know how to proceed. > > I'm backing out of the MW 1.38 upgrade now. We can't proceed until the > Foundation fixes something. I filed abug report on Phabricator at https://phabricator.wikimedia.org/T311966 Jeff