View Full Version : New Wiki Error
kadaan
03-16-2009, 03:27 PM
I tried to create the WhoWhere template on the new wiki, and when I hit submit I got this error. Now I get the same error every time I go to http://www.dual-boxing.com/mediawiki/index.php/Who_%26_Where_Wiki
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to allocate 2287403 bytes) in /var/www/vhosts/dual-boxing.com/httpdocs/mediawiki/includes/parser/Parser.php on line 333
Svpernova09
03-16-2009, 05:54 PM
looking into it now.
Svpernova09
03-16-2009, 06:18 PM
We're already rocking a high php memory limit. I've bumped it, I still get the error. What does work for me is to just not use & in the URL. So give it a shot using "and" instead of & and see how it rolls.
kadaan
03-16-2009, 09:33 PM
Found the issue. The entire page for [[Priest]] and [[Paladin]] were put into the {{Priest}} and {{Paladin}} templates, causing the resulting page to be MASSIVE (and recursive). I fixed the templates (and migrated the ones that hadn't been re-created yet) and it all works fine now.
Svpernova09
03-17-2009, 09:29 AM
lol how big where they, I adjusted the memory_limit for PHP, but it was already at 24MB when I bumped it a little more, I'll drop it down a bit now we've found the issue.
kadaan
03-17-2009, 02:28 PM
Every time you see "Paladin" in pink, and "Priest" in grey on that page, instead of just coloring it it was including the entire Paladin (http://www.dual-boxing.com/mediawiki/index.php/Paladin) and Priest (http://www.dual-boxing.com/mediawiki/index.php/Priest) info pages.
Oh, and then the Navbox at the bottom was also including the same pages again... recursively. So it was using as much memory as it could until the infinitely recursive loop broke :)
Svpernova09
03-17-2009, 04:03 PM
lol. Sounds like pure awesome.
vBulletin® v4.2.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.