Merge pull request #2113 from pi-hole/fix_php_userini

Remove invalid PHP config file and change alert message for `db_queries.js`
This commit is contained in:
yubiuser
2022-02-12 09:22:45 +01:00
committed by GitHub
2 changed files with 2 additions and 3 deletions
-2
View File
@@ -1,2 +0,0 @@
memory_limit = 256M
max_execution_time = 300
+2 -1
View File
@@ -84,7 +84,8 @@ function handleAjaxError(xhr, textStatus) {
alert(
"An unknown error occurred while loading the data.\n" +
xhr.responseText +
"\nCheck the server's log files (/var/log/lighttpd/error.log when you're using the default Pi-hole web server) for details. You may need to increase the memory available for Pi-hole in case you requested a lot of data."
"\nCheck the server's log files (/var/log/lighttpd/error.log) for details.\n\nYou may need to increase PHP memory limit." +
"\n\nYou can find more info in pi-hole's FAQ:\nhttps://docs.pi-hole.net/main/faq/#error-while-loading-data-from-the-long-term-database"
);
}