Jump to content

[SOLVED] ERROR 500. Please Help!


Recommended Posts

My website keeps getting error 500 when you visit it. The site is: http://selectsexywear.co.uk/. The BO works fine its just the front. There is parts of the error log below.

 

 

[20-Jul-2012 16:32:04] PHP Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: User selectse_pres957 already has more than 'max_user_connections' active connections in /home/selectse/public_html/classes/MySQL.php on line 34

[21-Jul-2012 11:31:42] PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/selectse/public_html/themes/presta053v147/modules/blockcms/blockcms.tpl" on line 53 "{/foreach}" unclosed {foreach} tag' in /home/selectse/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431

Stack trace:

#0 /home/selectse/public_html/tools/smarty/sysplugins/smarty_internal_compilebase.php(141): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unclosed {forea...')

#1 /home/selectse/public_html/tools/smarty/sysplugins/smarty_internal_compile_if.php(172): Smarty_Internal_CompileBase->_close_tag(Array)

#2 /home/selectse/public_html/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(276): Smarty_Internal_Compile_Ifclose->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL)

#3

 

 

I dont know how it has happened or why. If anyone can help that would be GREAT.

 

 

Thanks

Edited by eolproductions (see edit history)
Link to comment
Share on other sites

It really depends of

- your customer traffic

- how many 'employee' may be in a same time working in the back office.

- Perhaps you have remote services that also take their share of your 10 connexion.

- Perhaps you made a too wide commercial ads campaign : a lot of hits in the same time

 

Usually you have 4 chairs in your office, it's enough 95% of the time. But for big meetings with 10 people ? ;)

I know the last one is irritating, sorry.

Edited by math_php (see edit history)
Link to comment
Share on other sites

oh, then i don't think the problem is solved. the error you reported was related to the max number of connections you are allowed. if that was not changed, then you will likely encounter that issue again. i would keep an eye on your php error log to see how frequently that occurs.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...