Last modified: 2010-05-15 15:28:11 UTC
# rpm -q redhat-release php mysql-server apache redhat-release-7.3-1 php-4.1.2-7.3.6 mysql-server-3.23.58-1.73 apache-1.3.27-3 while installation i get warnings about "mConn" "mRealName" after installation it is not possible to show the changes in the preview or to save the page. no problems under fedora core 1,2,3. ------- Warning: Undefined property: mConn in /var/www/html/mediawiki2/includes/Database.php on line 142 * Connected as root (automatic) * Connected to database... 3.23.58 * Created database wikidb2 * Creating tables... done. * Initializing data... * Granting user permissions... Warning: Undefined property: mConn in /var/www/html/mediawiki2/includes/Database.php on line 142 Warning: Undefined property: mRealName in /var/www/html/mediawiki2/includes/User.php on line 614 Warning: Undefined property: mRealName in /var/www/html/mediawiki2/includes/User.php on line 577 * Created sysop account WikiSysop. * Initialising log pages... * Initialising "MediaWiki" namespace... Clearing message cache...Done. Creating LocalSettings.php... Success! Move the LocalSettings.php file into the parent directory, then follow this link to your wiki. -------- -------- mysql> show grants for wikiuser; +--------------------------------------------------------------------------------+ | Grants for wikiuser@% | +--------------------------------------------------------------------------------+ | GRANT USAGE ON *.* TO 'wikiuser'@'%' IDENTIFIED BY PASSWORD '3c8c1a8e271e4bad' | | GRANT SELECT, INSERT, UPDATE, DELETE ON `wikidb2`.* TO 'wikiuser'@'%' | | GRANT SELECT, INSERT, UPDATE, DELETE ON `wikidb`.* TO 'wikiuser'@'%' | | GRANT SELECT, INSERT, UPDATE, DELETE ON `wikidb`.* TO 'wikiuser'@'%' | +--------------------------------------------------------------------------------+ 4 rows in set (0.02 sec) --------
What does "not possible" mean? Can you please clarify what actually happens?
i will try it with my poor english. 1; edit the page 2; "show preview" or "save the page" 3; the original page is shown without the changes, all the changes are lost it is not possible to create new pages eg. [[Test]] http://127.0.0.1/mediawiki2/index.php/Test
Please test with 1.4beta.
mediawiki-1.4beta clean fresh install (db, db-user, html, ...) <snip> Warning: Undefined property: mConn in /var/www/html/mediawiki/includes/Database.php on line 235 # Connected as root (automatic) # Connected to database... 3.23.58 # Created database wikidb # Creating tables... done. # Initializing data... # Granting user permissions... Warning: Undefined property: mConn in /var/www/html/mediawiki/includes/Database.php on line 235 # Created sysop account WikiSysop. # Initialising "MediaWiki" namespace... Clearing message cache...Done. Creating LocalSettings.php... </snip> ==> with the same negative result, no editing via mediawiki is possible. because this rhl_7.3 will be replaced in the next few weeks with fedora_core_3 no further testing is possible. you can close this bug if you want. thanks. ---- additional comment: with DE-Unicode (not with DE-Latin-1) i get this warning while opening mediawiki Warning: arg2 must be passed an array in /var/www/html/mediawiki/languages/LanguageUtf8.php(53) : regexp code on line 1 </snip>
That problem triggered in redhat 7.3.1 does not occur with fedora core 1, 2 or 3. As user is migrating his server, I assume we can forget about the issue and hope users update their release.
*** Bug 2297 has been marked as a duplicate of this bug. ***
This is not a solution. I'm having the same bug. # rpm -q redhat-release php mysql-server apache redhat-release-7.3-1 php-4.1.2-7.3.6 mysql-server-3.23.54a-3.73 apache-1.3.27-2
Please try with modern versions of PHP and MySQL; we no longer support PHP or MySQL versions this old.
Can I download an older version of mediawiki compatible with this software?
My company had the exact same problem when trying to install MediaWiki 1.5 on two of our Linux servers (one Redhat and one SuSe). But on the third server MediaWiki worked "straight out of the box" without any problems whatsoever. The only significant difference I found between the servers is that the first two servers were using php-4.1 while the one that works is using php-4.4. Does anyone know if there exists any version of MediaWiki that can work with php-4.1 at all?
PHP 4.1 is no longer supported.