Jump to content

HTTP ERROR 500 On backoffice login (see error log)


Recommended Posts

Hi, my name is David and i am having issues. I put the back-office login info and then press login, an HTTP ERROR 500 shows up, i will add the error log below.

[Sat Aug 19 19:24:48.288830 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: PHP Fatal error:  Uncaught Symfony\\Component\\Debug\\Exception\\FatalThrowableError: Parse error: syntax error, unexpected end of file, expecting ')' in /home/david_calcemi/public_html/src/Core/Addon/Module/ModuleManager.php:176, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288869 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: Stack trace:, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288873 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #0 /home/david_calcemi/public_html/vendor/composer/ClassLoader.php(322): Composer\\Autoload\\includeFile('/home/david_cal...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288875 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #1 [internal function]: Composer\\Autoload\\ClassLoader->loadClass('PrestaShop\\\\Pres...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288878 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #2 /home/david_calcemi/public_html/app/cache/prod/appProdProjectContainer.php(2957): spl_autoload_call('PrestaShop\\\\Pres...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288880 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #3 /home/david_calcemi/public_html/app/bootstrap.php.cache(2248): appProdProjectContainer->getPrestashop_Module_ManagerService(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288883 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #4 /home/david_calcemi/public_html/src/Core/Addon/Module/ModuleManagerBuilder.php(92): Symfony\\Component\\DependencyInjection\\Container->get('prestashop.modu...'), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288893 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #5 /home/david_calcemi/public_html/controllers/admin/AdminDashboardController.php(302): PrestaShop\\PrestaShop\\Core\\Addon\\Module\\ModuleManagerBuilder->build(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 19:24:48.288895 2017] [fcgid:warn] [pid 2041] [client 84.78.18.83:45888] mod_fcgid: stderr: #6 /home/david_ in /home/david_calcemi/public_html/app/bootstrap.php.cache on line 3225, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a

Thank you!!

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

it would seem that you have corrupted ModuleManager.php file.  if you have not modified the file,  see patch above then download your version of PS from PS downloads, find that file and upload to your production shop.

Thank you, i did what you said and on the error log the module error seems to not show any more, but there're still some errors:

[Sat Aug 19 21:57:25.870033 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: PHP Fatal error:  Uncaught SmartyCompilerException: Syntax error in template "/home/david_calcemi/public_html/backoffice/themes/default/template/helpers/form/form.tpl"  on line 784 "{if isset($i"  - Unexpected "i", expected one of: "","" , ")" in /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatecompilerbase.php:784, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 21:57:25.870099 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: Stack trace:, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 21:57:25.870102 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #0 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templateparser.php(4435): Smarty_Internal_TemplateCompilerBase->trigger_template_error(), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 21:57:25.870105 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #1 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templateparser.php(4501): Smarty_Internal_Templateparser->yy_syntax_error(0, 0), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 21:57:25.870107 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #2 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(126): Smarty_Internal_Templateparser->doParse(0, 0), referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
[Sat Aug 19 21:57:25.870110 2017] [fcgid:warn] [pid 13616] [client 213.143.49.169:48252] mod_fcgid: stderr: #3 /home/david_calcemi/public_html/vendor/prestashop/smarty/sysplugins/smarty_internal_templatecompilerbase.php(283): Smarty_Internal_SmartyTemplateCompiler->do in /home/david_calcemi/public_html/app/bootstrap.php.cache on line 3225, referer: http://calcemi.com/backoffice/index.php?controller=AdminLogin&token=c66a068f84aa14dd61e263235cde7e9a
Link to comment
Share on other sites

Thank you so much, now i am able to solve this kind of issues every time i get them, you got my sincerely respect!

 

you are very welcome.  of course we no touch on subject of why corrupted but I suspect you FTP'ed and some files abended on upload.  In future if possible upload zip  file to hosting and then upack that to reduce file corruption issue.

 

happy prestashopping

  • Like 1
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...