From 66af9c5f9651cdefccf1f58917ce31c96a3d0f71 Mon Sep 17 00:00:00 2001 From: RD WebDesign Date: Mon, 7 Feb 2022 20:44:24 -0300 Subject: [PATCH] Delete .user.php.ini and change alert message for db_queries.js error. Signed-off-by: RD WebDesign --- .user.php.ini | 2 -- scripts/pi-hole/js/db_queries.js | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 .user.php.ini diff --git a/.user.php.ini b/.user.php.ini deleted file mode 100644 index 7660f85a..00000000 --- a/.user.php.ini +++ /dev/null @@ -1,2 +0,0 @@ -memory_limit = 256M -max_execution_time = 300 diff --git a/scripts/pi-hole/js/db_queries.js b/scripts/pi-hole/js/db_queries.js index e5c4ea4d..e9f1527a 100644 --- a/scripts/pi-hole/js/db_queries.js +++ b/scripts/pi-hole/js/db_queries.js @@ -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" ); }