I had git cloned mediawiki-core for development purposes 6 months back. However, I could not contribute much. Yesterday, I did a git pull and it got updated. I also did a git pull for all the extensions present.
When I tried to install mediawiki freshly yesterday, it didn't work. When I pointed my browser to 127.0.0.1/mediawiki, it gave me the following PHP errors:
Warning: Invalid argument supplied for foreach() in C:\wamp\www\open_source\mediawiki\includes\objectcache\SqlBagOStuff.php on line 232
Fatal error: Call to a member function numRows() on a non-object in C:\wamp\www\open_source\mediawiki\includes\objectcache\SqlBagOStuff.php on line 512
When I pointed my browser to 127.0.0.1/mediawiki/mw-config/ , it gave me the following errors:
Warning: Class 'ParamProcessor\ParamDefinitionFactory' not found in C:\wamp\www\open_source\mediawiki\extensions\Validator\ParamProcessor.php on line 85
Warning: Class 'ParamProcessor\ParamDefinition' not found in C:\wamp\www\open_source\mediawiki\extensions\Validator\ParamProcessor.php on line 86
Warning: Class 'ParamProcessor\Definition\StringParam' not found in C:\wamp\www\open_source\mediawiki\extensions\Validator\ParamProcessor.php on line 87
and other such errors.
Am I doing anything wrong? Please help me in fixing this.
On 10/18/2013 07:10 AM, Abhinav Koppula wrote:
I had git cloned mediawiki-core for development purposes 6 months back. However, I could not contribute much. Yesterday, I did a git pull and it got updated. I also did a git pull for all the extensions present.
Am I doing anything wrong? Please help me in fixing this.
I just updated my git repo today and didn't have any problems.
The first thing to do is disable all the extensions in your LocalSettings.php file.
If that doesn't work, then it may be that you have some local modifications causing this. Try seeing what branch you are on by using "git branch" at the command line. If it doesn't have an asterisk next to master, then check out the master branch and try again.
If you are on master, checkout a fresh copy of master and try again.
HTH,
Mark.
Ya thanks, I tried by disabling the extensions and it worked like a charm :)
On Fri, Oct 18, 2013 at 8:56 PM, Mark A. Hershberger mah@everybody.orgwrote:
On 10/18/2013 07:10 AM, Abhinav Koppula wrote:
I had git cloned mediawiki-core for development purposes 6 months back. However, I could not contribute much. Yesterday, I did a git pull and it got updated. I also did a git pull for all the extensions present.
Am I doing anything wrong? Please help me in fixing this.
I just updated my git repo today and didn't have any problems.
The first thing to do is disable all the extensions in your LocalSettings.php file.
If that doesn't work, then it may be that you have some local modifications causing this. Try seeing what branch you are on by using "git branch" at the command line. If it doesn't have an asterisk next to master, then check out the master branch and try again.
If you are on master, checkout a fresh copy of master and try again.
HTH,
Mark.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org