Last modified: 2014-06-23 16:07:04 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T51794, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 49794 - ReflectionException: Class LanguagePt does not exist ..\includes\Init.php on line 168
ReflectionException: Class LanguagePt does not exist ..\includes\Init.php on ...
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.21.x
PC Windows 8
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 43877 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-19 03:13 UTC by Jean Carlo
Modified: 2014-06-23 16:07 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
A Error image (83.82 KB, image/png)
2013-06-19 03:13 UTC, Jean Carlo
Details

Description Jean Carlo 2013-06-19 03:13:46 UTC
Created attachment 12580 [details]
A Error image

Sorry the bad english.

I have installed on my PC, Windows 8, apache and php 3.5.25.
I downloaded version 1.21.1 mediawiki twice to rule out problems with the download.

I get PHP error "ReflectionException" to access the mediawiki installer. This error persists even after the configuration is done completely and successfully. It does not prevent system operation, but beyond uncomfortable as can be seen in the attached image, prevents full use out of the fact that it would be ridiculous to let this message online.

Agradesco any help.
Comment 1 Andre Klapper 2013-06-19 07:01:05 UTC
Thanks for taking the time to report this!

Is the corresponding MediaWiki language extension bundle installed? See https://www.mediawiki.org/wiki/MLEB


Honestly, I 1) failed myself to find information about MLEB in less than 5min,
2) the installer should fail more gracefully telling you what to do.
Comment 2 Niklas Laxström 2013-06-19 13:41:14 UTC
Andre: what information about MLEB were you looking for and why do you think it is related?

If the php 3.5.25 is not a typing mistake, you must upgrade. PHP 5.3 is required. I have no idea at the moment why that piece of code would throw reflection exception.
Comment 3 Jean Carlo 2013-06-19 14:47:08 UTC
Oops, sorry. Actually a typo. The PHP version being used is 5.3.25.
Comment 4 Jean Carlo 2013-06-19 14:57:54 UTC
I also efetuei downtown mediawiki other versions, and the error occurs on all of them, do not know what the problem is.
Tested Versions: 1.21.1, 1.20.6 and 1.19.7. All stable version.

== Call Stack ==================================================================================
#	Time	Memory	 Function					Location
1	0.0035	338808	 {main}( )					..\index.php:0
2	0.2013	9116808	 wfInstallerMain( )				..\index.php:18
3	0.3872	14512216 WebInstaller->execute( $session = array () )	..\index.php:50
4	0.3874	14512064 WebInstaller->setupLanguage( )			..\WebInstaller.php:154
5	0.3889	14557616 Language::factory( $code = 'pt-br' )		..\WebInstaller.php:486
6	0.3889	14557616 Language::newFromCode( $code = 'pt-br' )	..\Language.php:184
7	0.4915	15782992 MWInit::classExists( $class = 'LanguagePt' )	..\Language.php:228
8	0.4915	15783280 __construct ( 'LanguagePt' )			..\Init.php:168
================================================================================================

I appreciate the help.
Comment 5 Andre Klapper 2013-06-19 23:14:55 UTC
Bug 43877 might be the same / a similar problem.

(In reply to comment #2)
> Andre: what information about MLEB were you looking for and why do you think
> it is related?

Niklas: What I wanted to know is written in the sentence in comment 1 which has the question mark at the end. I haven't yet thought that is related.
Comment 6 Kevin Israel (PleaseStand) 2013-06-20 09:01:25 UTC
This is not a bug in MediaWiki but rather a server misconfiguration.

Try setting xdebug.show_exception_trace = 0 in php.ini, or just disable
the xdebug extension entirely (that extension is not something you should
use on a "production" wiki because it reduces performance).
Comment 7 Andre Klapper 2013-06-20 22:09:51 UTC
PleaseStand: Oh thanks for enlightening me! (us?)  :) 
Do you think this also applies to bug 43877?
Comment 8 Kevin Israel (PleaseStand) 2013-06-21 01:37:10 UTC
*** Bug 43877 has been marked as a duplicate of this bug. ***
Comment 9 Kevin Israel (PleaseStand) 2013-06-21 01:40:37 UTC
(In reply to comment #8)
> *** Bug 43877 has been marked as a duplicate of this bug. ***

Yes, it looks like the same problem. See bug 33949 as well.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links