I've been running 1.11 (on 3 internal Wiki's) for a while now and upgraded today to 1.13alpha (r37348). The problem that I've run into is that my cross-wiki templates no longer work (which I was using for a Unified news system). If I go to http://SERVER/pl/index.php/Template:GlobalNews?action=render - the template renders correctly. But when I try to call {{pl:GlobalNews}} from one of the other 2 wiki's, I get a very odd error messages. Specifically:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 30720 bytes) in /var/www/wiki/includes/Xml.php on line 426
Now I've got the php.ini memory_limit set to 64mb. I even bumped it to 640MB and -1 without any effect. I went into LocalSettings.php for the wiki's and turned off the ini_set memory_limit line, and also tried 64MB - both without any effect. Now, this was working previous to the upgrade. Everything was setup correct (I've got the interwiki tables marked with local & trans) so far that I know of.
I'm confused as to why suddenly this would pop up, and more specifically - where that memory size of 20MB is coming from. If anyone has any thoughts - I'd appreciate it.
-Jon [[Commons:User:ShakataGaNai]]
Jon wrote:
I'm confused as to why suddenly this would pop up, and more specifically - where that memory size of 20MB is coming from. If anyone has any thoughts - I'd appreciate it.
Check your LocalSettings.php.
-- brion
I tried setting it again and it worked one one wiki, set it down for the other wiki and of course didn't work. So the answer was: Yes, LocalSettings.php.
This worked now because I had forgotten about the Transcache table. Nuking that made the second wiki work after LocalSettings bump.
Thanks -Jon
{{facepalm}}
On Tue, Jul 8, 2008 at 5:56 PM, Brion Vibber brion@wikimedia.org wrote:
Jon wrote:
I'm confused as to why suddenly this would pop up, and more specifically
where that memory size of 20MB is coming from. If anyone has any
thoughts -
I'd appreciate it.
Check your LocalSettings.php.
-- brion
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org