Hello Guys, today I tried to install Luna 2.0 on Xampp. After the installing I tried to visit my new forum. While I was doing this there came a bug (?). Allowed memory size of 134217728 bytes exhausted (tried to allocate 7168 bytes) in C:\xampp\htdocs\forum\themes\Fifteen\views\header.php on line 37
Which version of XAMPP are you using?
You can do anything
I'm using 3.22
Last edited by NightyIO (2 September 2016 20:08)
3.22 isn't a version of XAMPP.
I don't know how to find out which version Xampp has. Instead I am sent you the CP.
Last edited by NightyIO (14 September 2016 12:25)
That the Control Panel version indeed, anyway, you should just take a look what version of PHP is installed as XAMPP follows the same versioning.
hello there, im just new user and sorry i have bad english. i think i have same xampp version with you and yes i have same error too even i try from luna v1-v2, only work with Luna 1.0 Preview 0-3 and all version modernbb..im migrate to wampp version 3.0.6_x64_apache2.4.23_mysql5.7.14_php5.6.25-7.0.10 and all perfect. maybe work for you too..
Last edited by NightyIO (15 September 2016 18:54)
I'll be looking into this issue.
Same thing here, just tried to set up a fresh installation and then this error came up...
A fix has been made and is on track to be part of Luna 2.0.4.
Uuuuhm... Still happening 😒
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7168 bytes) in [...]\htdocs\forum\themes\Fifteen\views\header.php on line 37
Last edited by Namnodorel (8 October 2016 11:28)
On what page is that? On my install, it doesn't happen anymore.
Right on the first launch. I still get to initiate the database, etc. but when I'm done with it and then try to open the forum page for the first time, I get the error.
Maybe it's a bug with XAMPP? When I comment out line 37, the error appears on line 42. When I comment that out, too, the error appears at line 48, which is an empty line. But I have no idea what could cause such an error...
Also when I reinstalll Luna and select Sunrise instead of Fifteen as starting Theme, the same error (In the /Fifteen directory!!!) appears.
Last edited by Namnodorel (16 October 2016 21:48)
Okay, I had some time and put out the little PHP knowledge I got some time ago... And I think I got the error: At \themes\Fifteen\views\header.php the first lines are
By that. You are self-referencing the file. The referenced file references itself again and again and again... And in consequence you've created an endless loop which at some point takes all the memory the server has. By removing the require, the problem got solved for me and I think it should be solved for everyone else.
(By the way, I think we are now at step 6 of issue hunting:1. That can't happen.2. That doesn't happen to my machine3. That shouldn't happen.4. Why did that happen?5. Oh, I see.6. How did that ever work?)
I believe the require header in \themes\Fifteen\views\header.php is referencing to the base root header.php file which is entirely different.
No. require ('header.php'); in the theme file is including the header-file in the projects root, not itself. The problem here is that some pages are also asking to require the header.php file. Anyway, a fix for this issue has been implemented days ago.
Well, it fixed the problem for me... I guess I just got a buggy installation, all sorts of stuff is going wrong with it...
After a fresh install of the newest release everything works now... No idea