Ответить Новая тема Новый опрос 
 Очень много ошибок на сервере в логах
Roman1105
Новичок
Сообщений: 35
Регистрация: 12-02-2017


07-04-2017 20:13
Друзья помогите решить проблему у меня на сайте полный тормоз и сайт стал до жути медленным
при проверке сервера на ошибке в логах выдает постоянные ошибки как бороться с ними что делать??
Вот несколько из них:

[Fri Apr 07 15:23:49 2017] [error] [client 109.86.1.38] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196
[Fri Apr 07 15:24:07 2017] [error] [client 109.86.1.38] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196
[Fri Apr 07 15:25:03 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 63
[Fri Apr 07 15:25:03 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 63
[Fri Apr 07 15:25:03 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 67
[Fri Apr 07 15:25:03 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 67
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:25:12 2017] [error] [client 109.86.1.38] PHP Notice: Undefined offset: 5 in /var/www/ant/data/www/g-torg.com/tools/smarty/sysplugins/smarty_internal_templatebase.php(157) : eval()'d code on line 75
[Fri Apr 07 15:41:15 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:15 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:15 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:15 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:20 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:20 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:20 2017] [error] [client 109.86.1.38] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/
[Fri Apr 07 15:41:20 2017] [error] [client 109.86.1.38] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/
[Fri Apr 07 15:55:54 2017] [error] [client 176.195.107.249] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: http://yandex.ru/clck/jsredir?from=yandex.ru%3Bsearch%3Bweb%3B%3B&text=&etext=1384.Txgp3EtWaEuw_5gYlnukr80jjfCF_2ou37VHhX_Tkuc.dafc9731afb44faa8771b9c41952e878486c178c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YHRNgn3KsbHJbmUkku86_mY&data=UlNrNmk5WktYejY4cHFySjRXSWhXTnpPVkVVOTdCWGk1TWZPWDJ6NGlITmdJaHNMbE5UcGN6V0FSdWs2Q1BKTUpLY3BFYmE2dXJzTnUtTnUtRDVrRjZxLVNvNmtNZFRqSU84MmtYbHl6YmxWcXZ1VUV0UmdVNmw0el9VbEdIRXU4ajZXRlZpaUkyVy1UREJCSWowaDJHVk5SVzlURDExam5vYTZtb01xZ3VtbU9kX0ZFU29YcldTdjlRd0Y1cEd5TDF6d3BBbWRKODhOXzVGYnNOdkk2R2dnZHdxLWUxVTd1LWRnMHVoYW51SnRpbjB1UkVnekp2VndoWkExQ1huOUJxb3JIcjhaRmJmZXZ1d3hWSTNSTWQ1TmJRU0M0bWVV&b64e=2&sign=24823df55490825ed1890289a2d9fc13&keyno=0&cst=AiuY0DBWFJ7IXge4WdYJQYpgPUyh7uQlGzme3j8mmkbJkqAuMXDBP0GAGTvfOviLO6uLSuagFbP3o4_qXlQLZ_th4DjtMZnrBdmZpHWy6Bl5mrf--Twq8rKwXc6DSGARkUmzfLfA7Uc6sSGTfkCcWg2hYtg0yPp0&ref=orjY4mGPRjk5boDnW0uvlrrd71vZw9kp5uQozpMtKCW8s5kfnNkNjwx_LdacEAs07oFof01tVw7qQh858V7OcsH7GntH0MJxcShupH2mXgYDUX-9QxBLuA&l10n=ru&ctmc=7.00405898085
[Fri Apr 07 15:55:54 2017] [error] [client 176.195.107.249] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: http://yandex.ru/clck/jsredir?from=yandex.ru%3Bsearch%3Bweb%3B%3B&text=&etext=1384.Txgp3EtWaEuw_5gYlnukr80jjfCF_2ou37VHhX_Tkuc.dafc9731afb44faa8771b9c41952e878486c178c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YHRNgn3KsbHJbmUkku86_mY&data=UlNrNmk5WktYejY4cHFySjRXSWhXTnpPVkVVOTdCWGk1TWZPWDJ6NGlITmdJaHNMbE5UcGN6V0FSdWs2Q1BKTUpLY3BFYmE2dXJzTnUtTnUtRDVrRjZxLVNvNmtNZFRqSU84MmtYbHl6YmxWcXZ1VUV0UmdVNmw0el9VbEdIRXU4ajZXRlZpaUkyVy1UREJCSWowaDJHVk5SVzlURDExam5vYTZtb01xZ3VtbU9kX0ZFU29YcldTdjlRd0Y1cEd5TDF6d3BBbWRKODhOXzVGYnNOdkk2R2dnZHdxLWUxVTd1LWRnMHVoYW51SnRpbjB1UkVnekp2VndoWkExQ1huOUJxb3JIcjhaRmJmZXZ1d3hWSTNSTWQ1TmJRU0M0bWVV&b64e=2&sign=24823df55490825ed1890289a2d9fc13&keyno=0&cst=AiuY0DBWFJ7IXge4WdYJQYpgPUyh7uQlGzme3j8mmkbJkqAuMXDBP0GAGTvfOviLO6uLSuagFbP3o4_qXlQLZ_th4DjtMZnrBdmZpHWy6Bl5mrf--Twq8rKwXc6DSGARkUmzfLfA7Uc6sSGTfkCcWg2hYtg0yPp0&ref=orjY4mGPRjk5boDnW0uvlrrd71vZw9kp5uQozpMtKCW8s5kfnNkNjwx_LdacEAs07oFof01tVw7qQh858V7OcsH7GntH0MJxcShupH2mXgYDUX-9QxBLuA&l10n=ru&ctmc=7.00405898085
[Fri Apr 07 15:55:54 2017] [error] [client 176.195.107.249] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: http://yandex.ru/clck/jsredir?from=yandex.ru%3Bsearch%3Bweb%3B%3B&text=&etext=1384.Txgp3EtWaEuw_5gYlnukr80jjfCF_2ou37VHhX_Tkuc.dafc9731afb44faa8771b9c41952e878486c178c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YHRNgn3KsbHJbmUkku86_mY&data=UlNrNmk5WktYejY4cHFySjRXSWhXTnpPVkVVOTdCWGk1TWZPWDJ6NGlITmdJaHNMbE5UcGN6V0FSdWs2Q1BKTUpLY3BFYmE2dXJzTnUtTnUtRDVrRjZxLVNvNmtNZFRqSU84MmtYbHl6YmxWcXZ1VUV0UmdVNmw0el9VbEdIRXU4ajZXRlZpaUkyVy1UREJCSWowaDJHVk5SVzlURDExam5vYTZtb01xZ3VtbU9kX0ZFU29YcldTdjlRd0Y1cEd5TDF6d3BBbWRKODhOXzVGYnNOdkk2R2dnZHdxLWUxVTd1LWRnMHVoYW51SnRpbjB1UkVnekp2VndoWkExQ1huOUJxb3JIcjhaRmJmZXZ1d3hWSTNSTWQ1TmJRU0M0bWVV&b64e=2&sign=24823df55490825ed1890289a2d9fc13&keyno=0&cst=AiuY0DBWFJ7IXge4WdYJQYpgPUyh7uQlGzme3j8mmkbJkqAuMXDBP0GAGTvfOviLO6uLSuagFbP3o4_qXlQLZ_th4DjtMZnrBdmZpHWy6Bl5mrf--Twq8rKwXc6DSGARkUmzfLfA7Uc6sSGTfkCcWg2hYtg0yPp0&ref=orjY4mGPRjk5boDnW0uvlrrd71vZw9kp5uQozpMtKCW8s5kfnNkNjwx_LdacEAs07oFof01tVw7qQh858V7OcsH7GntH0MJxcShupH2mXgYDUX-9QxBLuA&l10n=ru&ctmc=7.00405898085
[Fri Apr 07 15:55:54 2017] [error] [client 176.195.107.249] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: http://yandex.ru/clck/jsredir?from=yandex.ru%3Bsearch%3Bweb%3B%3B&text=&etext=1384.Txgp3EtWaEuw_5gYlnukr80jjfCF_2ou37VHhX_Tkuc.dafc9731afb44faa8771b9c41952e878486c178c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YHRNgn3KsbHJbmUkku86_mY&data=UlNrNmk5WktYejY4cHFySjRXSWhXTnpPVkVVOTdCWGk1TWZPWDJ6NGlITmdJaHNMbE5UcGN6V0FSdWs2Q1BKTUpLY3BFYmE2dXJzTnUtTnUtRDVrRjZxLVNvNmtNZFRqSU84MmtYbHl6YmxWcXZ1VUV0UmdVNmw0el9VbEdIRXU4ajZXRlZpaUkyVy1UREJCSWowaDJHVk5SVzlURDExam5vYTZtb01xZ3VtbU9kX0ZFU29YcldTdjlRd0Y1cEd5TDF6d3BBbWRKODhOXzVGYnNOdkk2R2dnZHdxLWUxVTd1LWRnMHVoYW51SnRpbjB1UkVnekp2VndoWkExQ1huOUJxb3JIcjhaRmJmZXZ1d3hWSTNSTWQ1TmJRU0M0bWVV&b64e=2&sign=24823df55490825ed1890289a2d9fc13&keyno=0&cst=AiuY0DBWFJ7IXge4WdYJQYpgPUyh7uQlGzme3j8mmkbJkqAuMXDBP0GAGTvfOviLO6uLSuagFbP3o4_qXlQLZ_th4DjtMZnrBdmZpHWy6Bl5mrf--Twq8rKwXc6DSGARkUmzfLfA7Uc6sSGTfkCcWg2hYtg0yPp0&ref=orjY4mGPRjk5boDnW0uvlrrd71vZw9kp5uQozpMtKCW8s5kfnNkNjwx_LdacEAs07oFof01tVw7qQh858V7OcsH7GntH0MJxcShupH2mXgYDUX-9QxBLuA&l10n=ru&ctmc=7.00405898085
[Fri Apr 07 15:55:56 2017] [error] [client 176.195.107.249] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/ant/data/www/g-torg.com/tools/smarty/plugins/modifier.escape.php on line 40, referer: http://yandex.ru/clck/jsredir?from=yandex.ru%3Bsearch%3Bweb%3B%3B&text=&etext=1384.Txgp3EtWaEuw_5gYlnukr80jjfCF_2ou37VHhX_Tkuc.dafc9731afb44faa8771b9c41952e878486c178c&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXmeppkgUc0YHRNgn3KsbHJbmUkku86_mY&data=UlNrNmk5WktYejY4cHFySjRXSWhXTnpPVkVVOTdCWGk1TWZPWDJ6NGlITmdJaHNMbE5UcGN6V0FSdWs2Q1BKTUpLY3BFYmE2dXJzTnUtTnUtRDVrRjZxLVNvNmtNZFRqSU84MmtYbHl6YmxWcXZ1VUV0UmdVNmw0el9VbEdIRXU4ajZXRlZpaUkyVy1UREJCSWowaDJHVk5SVzlURDExam5vYTZtb01xZ3VtbU9kX0ZFU29YcldTdjlRd0Y1cEd5TDF6d3BBbWRKODhOXzVGYnNOdkk2R2dnZHdxLWUxVTd1LWRnMHVoYW51SnRpbjB1UkVnekp2VndoWkExQ1huOUJxb3JIcjhaRmJmZXZ1d3hWSTNSTWQ1TmJRU0M0bWVV&b64e=2&sign=24823df55490825ed1890289a2d9fc13&keyno=0&cst=AiuY0DBWFJ7IXge4WdYJQYpgPUyh7uQlGzme3j8mmkbJkqAuMXDBP0GAGTvfOviLO6uLSuagFbP3o4_qXlQLZ_th4DjtMZnrBdmZpHWy6Bl5mrf--Twq8rKwXc6DSGARkUmzfLfA7Uc6sSGTfkCcWg2hYtg0yPp0&ref=orjY4mGPRjk5boDnW0uvlrrd71vZw9kp5uQozpMtKCW8s5kfnNkNjwx_LdacEAs07oFof01tVw7qQh858V7OcsH7GntH0MJxcShupH2mXgYDUX-9QxBLuA&l10n=ru&ctmc=7.00405898085
[Fri Apr 07 15:55:59 2017] [error] [client 46.242.121.116] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/402-neodimovye-magnity?utm_source=yandex&utm_medium=cpc&utm_campaign=26277993&utm_content=3966457275&utm_term={PHRASE}
[Fri Apr 07 15:55:59 2017] [error] [client 46.242.121.116] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 63, referer: https://g-torg.com/ru/402-neodimovye-magnity?utm_source=yandex&utm_medium=cpc&utm_campaign=26277993&utm_content=3966457275&utm_term={PHRASE}
[Fri Apr 07 15:55:59 2017] [error] [client 46.242.121.116] PHP Notice: Undefined index: csstore in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/402-neodimovye-magnity?utm_source=yandex&utm_medium=cpc&utm_campaign=26277993&utm_content=3966457275&utm_term={PHRASE}
[Fri Apr 07 15:55:59 2017] [error] [client 46.242.121.116] PHP Notice: Trying to get property of non-object in /var/www/ant/data/www/g-torg.com/cache/smarty/compile/d4/c6/18/d4c61867f29233bab6c47caabebbc02eb8809368.file.blocknewsletter.tpl.php on line 67, referer: https://g-torg.com/ru/402-neodimovye-magnity?utm_source=yandex&utm_medium=cpc&utm_campaign=26277993&utm_content=3966457275&utm_term={PHRASE}
[Fri Apr 07 15:56:01 2017] [error] [client 46.242.121.116] PHP Warning: htmlspecialchars() expects parameter 1 to be string, array given in /var/www/ant/data/www/g-torg.com/tools/smarty/plugins/modifier.escape.php on line 40, referer: https://g-torg.com/ru/402-neodimovye-magnity?utm_source=yandex&utm_medium=cpc&utm_campaign=26277993&utm_content=3966457275&utm_term={PHRASE}
 
Вне форума
ПМ 
Щелкните, и это сообщение будет добавлено в ваш ответ как цитата Цитировать этот ответ
vnovak
Новичок
Сообщений: 36
Регистрация: 10-07-2015


07-04-2017 21:29
Может глупость посоветую, но попробуйти удалить и кэш смарти и его компиляцию
 
Вне форума
ПМ Отправить эл.сообщение 
Щелкните, и это сообщение будет добавлено в ваш ответ как цитата Цитировать этот ответ
zapalm


Профессионал
Сообщений: 350
Откуда: Владивосток
Регистрация: 01-08-2009


08-04-2017 17:18
За 30 секунд не смог скомпилироваться шаблон. Это может быть из-за того, что у вас сервер не справляется с нагрузкой - слабый и/или посещаемость высокая, а также файлы шаблонов постоянно перекомпилируются.

Решение - включите, для начала, в настройках Smarty опцию "Перекомпилировать, если файлы были изменены".

Ошибки типа PHP Notice не могут значительно замедлять работу, но их тоже нужно исправить. Ошибки в шаблоне blocknewsletter.tpl модуля blocknewsletter.
 
Вне форума
ПМ Отправить эл.сообщение 
Щелкните, и это сообщение будет добавлено в ваш ответ как цитата Цитировать этот ответ
Ответить Новая тема Новый опрос