I am trying to reconstruct the WikiMedia Fundraising page similar to:
http://wikimediafoundation.org/wiki/Fundraising/USD
I found all the templates involved but since the above page wiki-source cannot be viewed, I am trying to replicate this page. Perhaps someone with rights can reply with the wiki-source for this page.
Click here for Donation Templates:
http://wikimediafoundation.org/w/index.php?title=Special%3AAllpages http://wikimediafoundation.org/w/index.php?title=Special%3AAllpages&from=do nation&namespace=10 &from=donation&namespace=10
Thanks! :-)
I found all the templates involved but since the above page wiki-source cannot be viewed, I am trying to replicate this page. Perhaps someone with rights can reply with the wiki-source for this page.
The wiki source is viewable, even if you have no account, using [[Special:Export]].
See http://wikimediafoundation.org/w/index.php?title=Special:Export/Fundraising/... for example. If you need older revisions, go to http://wikimediafoundation.org/wiki/Special:Export and uncheck the "Include only the current revision" box.
Angela.
Just setup MediaWiki 1.4.4 on Fedora Core 4 using PHP 5.0.4. I had to modify php.ini to display_errors = On to see anything but a blank page, and I'm getting this error:
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/html/qwiki/includes/User.php on line 621
6 times, followed by
Fatal error: Call to a member function tableName() on a non-object in /var/www/html/qwiki/includes/ObjectCache.php on line 409
Is this a deprecated function?
- MHart
MHart wrote:
Just setup MediaWiki 1.4.4 on Fedora Core 4 using PHP 5.0.4. I had to modify php.ini to display_errors = On to see anything but a blank page, and I'm getting this error:
Well first, 1.4.5 is the current 1.4 release. :) Try that before continuing...
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/html/qwiki/includes/User.php on line 621
6 times, followed by
Fatal error: Call to a member function tableName() on a non-object in /var/www/html/qwiki/includes/ObjectCache.php on line 409
Is this a deprecated function?
There's an error connecting to the database; for various annoying reasons you're not getting an attractive error message, but another error message that occurs while it's trying to load the error message.
Check the database server hostname/IP, port, database name, username, and table prefix. Check that the server is online and accepting connections. Check that the GRANTs on the database are correct.
-- brion vibber (brion @ pobox.com)
I had a 1.4.4 installation when I upgraded to FC4. I got several annoying errors after the upgrade so I backed up the tables and blew it all away. Installed MediaWiki from scratch with 1.4.5. Tables are created correctly in mysql, but I get the same error in my logs as MHart.
Any additional pointers are greatly appreciated.
Brion Vibber wrote:
MHart wrote:
Just setup MediaWiki 1.4.4 on Fedora Core 4 using PHP 5.0.4. I had to modify php.ini to display_errors = On to see anything but a blank page, and I'm getting this error:
Well first, 1.4.5 is the current 1.4 release. :) Try that before continuing...
Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /var/www/html/qwiki/includes/User.php on line 621
6 times, followed by
Fatal error: Call to a member function tableName() on a non-object in /var/www/html/qwiki/includes/ObjectCache.php on line 409
Is this a deprecated function?
There's an error connecting to the database; for various annoying reasons you're not getting an attractive error message, but another error message that occurs while it's trying to load the error message.
Check the database server hostname/IP, port, database name, username, and table prefix. Check that the server is online and accepting connections. Check that the GRANTs on the database are correct.
-- brion vibber (brion @ pobox.com)
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
Tried it again from the beginning today and it worked. Thanks for your patience. :)
Tyler
Tyler Peterson wrote:
I had a 1.4.4 installation when I upgraded to FC4. I got several annoying errors after the upgrade so I backed up the tables and blew it all away. Installed MediaWiki from scratch with 1.4.5. Tables are created correctly in mysql, but I get the same error in my logs as MHart.
Any additional pointers are greatly appreciated.
Well first, 1.4.5 is the current 1.4 release. :) Try that before
continuing... <<
I thought 1.4.5 was still in beta... I'll try 1.4.5, thanks.
Check the database server hostname/IP, port, database name, username,
and table prefix. Check that the server is online and accepting connections. Check that the GRANTs on the database are correct. <<
Everything is correct. I'm not using table prefixes. I can run the config without any trouble. It connects, updates the schemas, no errors. Generates LocalSettings and I copy it in - and get the page with errors.
More info - I'm moving the wiki from one machine (old Desktop box) to another (DL360 w/4.5 gig mem, dual XEON and RAID drives - woo hoo!), and the script location and database name changed, although the wiki name did not. I'll change the db name back to the original and try it again. It's also on a different distribution (Fedora Core 4 instead of Mandrake 10.1), and a different PHP version (5.0.4 instead of 4.3.8).
- MHart
MHart wrote:
Well first, 1.4.5 is the current 1.4 release. :) Try that before
continuing... <<
I thought 1.4.5 was still in beta... I'll try 1.4.5, thanks.
No, 1.4.5 would never have been in beta; it's a stable release. (1.5 is currently in beta, now at 1.5beta3.) Try 1.4.6 now, it was just released with some bug fixes and a security update.
Check the database server hostname/IP, port, database name, username,
and table prefix. Check that the server is online and accepting connections. Check that the GRANTs on the database are correct. <<
Everything is correct. I'm not using table prefixes. I can run the config without any trouble. It connects, updates the schemas, no errors. Generates LocalSettings and I copy it in - and get the page with errors.
Funny characters in any of those parameters? Have you tried manually running through the set of queries? Debug logging?
-- brion vibber (brion @ pobox.com)
Well, I finally got it working... sort of... and it was indeed what Brion said - database connection errors - thanks Brion. Don't know how or why I could get the configuration running as well as see a valid page after turning on errors to client.... maybe I dreamed all that.
PHP 5 comes with mysql turned off - the opposite of the prior versions. If you do an upgrade, it breaks mysql by turning it off. I think I accidentally did an upgrade... or Fedora did it automatically or something.
I tried recompiling/reconfiguring, had to install lots of junk for that, but didn't really have any problems until I ran into libxml2 - the php configure couldn't find the xml2-config file... because it didn't exist :-) I grabbed libxml2 and configured it and it created the needed file... but php config STILL couldn't find it, even when I set the path for it. [sigh] I was about ready to give up on Fedora 4 and switch to Mandrake or Debian...
But I had one last thing to try... I removed PHP 5 and tried PHP 4.11 RPM. If you try to install it from the Fedora GUI, Fedora will instead grab the latest version - 5 again! D'oh!
So, I removed THAT one using yum, downloaded and saved RPMs for php, php-pear, and php-mysql 4.11-2.5 versions (there's a 2.6 for php and pear, but only 2.5 for mysql), then ran rpm -i on the 3 packages. Restarted httpd and presto - everything is working great.
FYI for anyone who needs remote connections (a dl360 sounds like a 747, and 4 of them sounds like an airport runway...) I started using vncserver with this Fedora release, and wow... I start vncserver from a shell and access the Fedora box with my Windows XP machine running vnc listening viewer. The vncserver and listener is actually an auto-login X session and BLAZING fast - better than xwin32 or exceed or anything else I've ever used. You have to edit xstartup config generated by running vncserver and uncomment a couple of lines - that way you get an auto-login. It's super-easy, just connect vnc to ip.address:1 or :2 or :3 or whatever display your vncserver connected to - no messy configs.
- MHart
wikitech-l@lists.wikimedia.org