[MediaWiki-l] Keeps saying A LocalSettings.php file has been detected.

Greg Rundlett (freephile) greg at freephile.com
Fri Apr 28 16:54:09 UTC 2017


maybe "locate LocalSettings.php" will help you find where the other is
being detected (assuming linux)

Greg Rundlett
https://eQuality-Tech.com
https://freephile.org

On Fri, Apr 28, 2017 at 11:40 AM, Andrius D. Ilgunas <andrius at ilgunas.net>
wrote:

> I hadn't tried that, preferring to stay away from cluttering up the system
> as a whole.
>
> However, I was able to discover a work-around. I bypassed the browser
> install by using the maintenance/install.php script. But that doesn't fix
> the problem.
>
> Still, these symptoms scream "cache" somewhere, and for the life of me, I
> can't imagine where.
>
> In any event, I'll post back here if a proper solution is discovered, if
> only to help anyone else.  Then again, according to Google, I'm the only
> person on the Internets to have come across these symptoms.
>
>
> --
> Andrius
>
> On Thu, Apr 27, 2017 at 9:45 PM, G Rundlett <greg.rundlett at gmail.com>
> wrote:
>
> > Did you also do an installation via package manager?
> >
> > On Apr 27, 2017 11:49 AM, "Andrius D. Ilgunas" <andrius at ilgunas.net>
> > wrote:
> >
> > > But I don't *HAVE* a LocalSetting.php file yet. This happens either
> when
> > I
> > > do a "git clone/composer update" install, or a vanilla
> "tarball/extract"
> > > install. I hit up http://mysite.dev/mw-config/index.php, and it
> > dutifully
> > > reports that:
> > >
> > > MediaWiki 1.28.1
> > >
> > > LocalSettings.php not found.
> > >
> > > Please complete the installation <http://mysite.dev/mw-config/
> index.php>
> > > and
> > > download LocalSettings.php.
> > >
> > > But on the page following it errors out with:
> > >
> > > A LocalSettings.php file has been detected. To upgrade this
> installation,
> > > please enter the value of $wgUpgradeKey in the box below. You will find
> > it
> > > in LocalSettings.php.
> > >
> > >
> > > Installer be crazy.
> > >
> > > I've cleared my cache, used a different browser, erased the ~/.composer
> > > directory, deleted the directory/tried again and various combinations
> of
> > > trying to "reset" this, but I'm still prompted with the error.
> > >
> > > Occasionally, though, I run across this error too:
> > >
> > > *Fatal error*: Class 'ComposerAutoloaderInit_mediawiki_vendor' not
> found
> > > in
> > > */usr/local/www/wiki/vendor/autoload.php* on line *7*
> > >
> > >
> > > Does anyone have an idea of what might be causing this?
> > >
> > > --
> > > Andrius
> > > _______________________________________________
> > > MediaWiki-l mailing list
> > > To unsubscribe, go to:
> > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > >
> > _______________________________________________
> > MediaWiki-l mailing list
> > To unsubscribe, go to:
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> >
> _______________________________________________
> MediaWiki-l mailing list
> To unsubscribe, go to:
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


More information about the MediaWiki-l mailing list