Page 1 of 1

Back end login problem. 'SmartyCompilerException'.

Posted: Thu May 02, 2013 5:59 pm
by mcajarabilla
Hi everyone

A couple days ago my site (which was working properly) started showing some errors.

1.- when I try to load login.php I get
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/mcajarab/public_html/admin/themes/OneEleven/templates/login.tpl" on line 5 "<title>{''logintitle''|lang} - {sitename}</title>" - Unexpected "logintitle", expected one of: "}" , " " , ATTR' in /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:656 Stack trace: #0 /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3139): Smarty_Internal_TemplateCompilerBase->trigger_template_error() #1 /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_templateparser.php(3204): Smarty_Internal_Templateparser->yy_syntax_error(19, 'logintitle') #2 /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php(105): Smarty_Internal_Templateparser->doParse(19, 'logintitle') #3 /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php(192): Smarty_Internal_SmartyTemplateCompiler->doCom in /home/mcajarab/public_html/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php on line 656
plus

2.- on the front end, the following text is displayed above the menu
Warning: get_class() expects parameter 1 to be object, boolean given in /home/mcajarab/public_html/lib/classes/class.contentoperations.inc.php on line 559
It should be noted that the site works partially: some pages load, some others don't (those with galleries for example)


Can please someone help me with this?
I have some HTML/CSS knowledge but almost nothing in PHP.

I did some research on this errors but i couldn't find anything I could use.

Any suggestions will be much appreciated.

Thank you all!

Re: Back end login problem. 'SmartyCompilerException'.

Posted: Thu May 02, 2013 8:03 pm
by Dr.CSS
It helps to know more about your system information to help tell what it might be, but I have a feeling you are running an older version of CMSMS and your host upgraded PHP...

Re: Back end login problem. 'SmartyCompilerException'.

Posted: Mon May 06, 2013 1:37 pm
by mcajarabilla

cPanel Version 11.36.1 (build 5)
Apache version 2.2.22
PHP version 5.3.13
MySQL version 5.0.96-community
Architecture i686
Operating system linux
Shared IP Address 66.7.198.228
Path to sendmail /usr/sbin/sendmail
Path to Perl /usr/bin/perl
Kernel version 2.6.18-408.el5.lve0.8.61.1
cPanel Pro 1.0 (RC1)

Re: Back end login problem. 'SmartyCompilerException'.

Posted: Mon May 06, 2013 1:59 pm
by mcajarabilla
In the previuos post I detailed some host info.

If I have to update my cms, how can I do it via ftp? I figure that is the only way since there is no way to login to the back end.

Thank you Dr.CSS!