Page 1 of 1

Blank admin login page

Posted: Tue Jan 24, 2017 7:52 am
by SFITCS
Installed the last week of OS package updates, noted warning that my existing copy of php.ini was different to package maintainers - elected to keep the existing version.

Installed updates to 3 CMSMS modules (CGExtensions 1.53.17
CGSimpleSmarty 2.1.6 CGSnapshot 1.3), upgrade was from the previous version of those modules.

Everything appeared to continue working fine until after a reboot.

No errors in dmesg.
Error in apache error log is Uncaught --> Smarty: Invalid compiled template for 'login.tpl' <-- \n thrown in /var/www/html
/hsructtc/lib/smarty/sysplugins/smarty_internal_templatebase.php on line 176


line 176 is throw new SmartyException("Invalid compiled template for '{$_template->template_resource}'");

(a little context)

Code: Select all

                    try {
                        ob_start();
                        if (empty($_template->properties['unifunc']) || !is_callable($_template->properties['unifunc'])) {
                            throw new SmartyException("Invalid compiled template for '{$_template->template_resource}'");
                        }
                        array_unshift($_template->_capture_stack,array());
System:-
Debian Jessie 8.7
linux 3.16.0-4-686-pae
Apache/2.4.10 (Debian)
phpversion: 5.6.29-0+deb8u1

From my notes (can't currently access CMSMS admin):-
CMSMS:-
Cms Version: 2.1.6
Installed Modules:
AdminSearch: 1.0.2
CGCalendar: 2.1.4.3
CGExtensions: 1.53.17
CGSimpleSmarty: 2.1.6
CGSnapshot: 1.3
CMSContentManager: 1.1.4
CMSMailer: 6.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
JQueryTools: 1.3.9
MicroTiny: 2.0.3
ModuleManager: 2.0.5
Navigator: 1.0.3
News: 2.50.6
Search: 1.50.2

Admin configuration is stock default (OneEleven), only the front-end templates are non-stock.

Any help will be greatly appreciated.

Re: Blank admin login page

Posted: Wed Jan 25, 2017 2:44 am
by SFITCS
Deleting all the contents of $CMSMS/tmp/cache and $CMSMS/tmp/templates_c except for the index.html files seems to have fixed the problem.


Unless someone requires more information I'm happy to close this thread as resolved.