It is not normalmr.vixus wrote:is that normal ?
note: i found that if you are viewing topic with attachment in it => you got the same problem (large number of sql queries -as mentioned in footer debug info-)mr.vixus wrote:nice MOD
installed on localhost with morethan 280000 posts (many many notifications)
but something make me confused
the large amount of sql queries when you viewing the file /aos_notifications.php
see the image
is that normal ?
Code: Select all
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 29: Undefined index: notifications_enable
Warning: Cannot modify header information - headers already sent by (output started at /home/ct567yhh/public_html/includes/functions.php:3823) in /home/ct567yhh/public_html/includes/functions.php on line 4722
Warning: Cannot modify header information - headers already sent by (output started at /home/ct567yhh/public_html/includes/functions.php:3823) in /home/ct567yhh/public_html/includes/functions.php on line 4724
Warning: Cannot modify header information - headers already sent by (output started at /home/ct567yhh/public_html/includes/functions.php:3823) in /home/ct567yhh/public_html/includes/functions.php on line 4725
Warning: Cannot modify header information - headers already sent by (output started at /home/ct567yhh/public_html/includes/functions.php:3823) in /home/ct567yhh/public_html/includes/functions.php on line 4726
openspiritdead wrote:Code: Select all
Undefined index: notifications_enable
Code: Select all
!$aos->config['notifications_enable']
Code: Select all
(isset($aos->config['notifications_enable'] && !$aos->config['notifications_enable']))
not work :S :'( if i use isset in the "if" for evade if the debug make a lot bugs4_seven wrote:openspiritdead wrote:Code: Select all
Undefined index: notifications_enable
root/aos_notifications.php
find
replace withCode: Select all
!$aos->config['notifications_enable']
Code: Select all
(isset($aos->config['notifications_enable'] && !$aos->config['notifications_enable']))
Code: Select all
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 39: Undefined index: noty_limit_large
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 39: Undefined index: foll_limit_large
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 39: Undefined index: book_limit_large
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 89: Undefined index: noty_limit_small
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 90: Undefined index: foll_limit_small
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 91: Undefined index: book_limit_small
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 277: Undefined index: only_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 277: Undefined index: only_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 96: Undefined index: user_posted_in_my_post
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 101: Undefined index: followers_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 106: Undefined index: bookmarks_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 111: Undefined index: only_post_unread
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 119: Undefined index: bookmarks_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 120: Undefined index: followers_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 122: Undefined index: notifications_enable
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 123: Undefined index: ucp_an_enable
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 124: Undefined index: user_posted_in_my_post
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 125: Undefined index: view_more_notifications
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 127: Undefined index: user_posted_in_my_post
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 41: Undefined index: only_post_unread
[phpBB Debug] PHP Notice: in file [ROOT]/includes/hooks/hook_aos_notifications.php on line 277: Undefined index: only_my_topics
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 46: Undefined index: noty_limit_large
[phpBB Debug] PHP Notice: in file [ROOT]/aos_notifications.php on line 47: Undefined index: noty_limit_large
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4722: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4724: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4725: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4726: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)