An unknown error occurred while loading the data


I don't think it has permissions or something but this has been happening for awhile it doesn't let me see all of the previous queries.

Using lighttpd

I can see the access logs after doing sudo su cding into the directory and then typing ls

https://tricorder.pi-hole.net/86youvw9xi

   2021-05-06 19:03:42: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/api_db.php on line 131
   2021-05-06 19:08:41: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/api_db.php on line 131

You need to increase the PHP memory.

How do I increase PHP's memory? - Help / Community Help - Pi-hole Userspace

1 Like

Increased the memory, restarted web server, ran the command to check the memory set it as (512M), and repaired pi hole, and still getting the same error when clicking all on the query log.

https://tricorder.pi-hole.net/948w1r1vfi
If this helps.

512 isn't big enough for you.

   2021-05-06 19:46:16: (mod_fastcgi.c.421) FastCGI-stderr: PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 4096 bytes) in /var/www/html/admin/api_db.php on line 131

You can check these lines yourself in /var/log/lighttpd/error.log and see.

1 Like

So I need 4096?

No, 4096 is the amount above 536870912 that PHP tried to allocate but had no more room to allocate.

Not sure what amount to use hmm

If 512M wasn't enough then try more. It's not a value I'm going to be able to tell you. You'll have to find it from trial and error or doing other web searches.

Works now I just put 4000M I think I was putting MB lol

Thanks

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.