Can you help me identify why I get 500 Internal server error. I've even asked my host to look at it and restore backup. Site is up again for a few hours and then back down.
they say it creates too many mysql connections which cannot be executed.
My error log states the following:
Code: Select all
2012-10-11 9:52:25 - PHP Notice: Undefined variable: scripts in /www/site.com/www/root/catalog/view/theme/hyla/template/common/header.tpl on line 31
2012-10-11 9:52:25 - PHP Warning: Invalid argument supplied for foreach() in /www/site.com/www/root/catalog/view/theme/hyla/template/common/header.tpl on line 31
2012-10-11 9:52:25 - PHP Notice: Undefined variable: google_analytics in /www/site.com/www/root/catalog/view/theme/hyla/template/common/header.tpl on line 44
2012-10-11 9:52:25 - PHP Notice: Undefined variable: logo in /www/site.com/www/root/catalog/view/theme/hyla/template/common/header.tpl on line 49
2012-10-11 9:52:25 - PHP Notice: Undefined variable: language in /www/site.com/www/root/catalog/view/theme/hyla/template/common/header.tpl on line 52
The site was running smoothly for about three months. No changes were made before suddenly it threw the error.
What may be the problem?