After Update: Undefined property: Smarty::$secure_dir in

Having trouble installing serendipity?
Post Reply
michaelxy
Posts: 2
Joined: Sat Oct 12, 2013 12:58 pm
Location: Germany

After Update: Undefined property: Smarty::$secure_dir in

Post by michaelxy »

Hi all,

I used Serendipity Version 1.5 before und copied all Files from 1.7.4 over the current files. But after copy the files the site no longer working and these errors came up:


Notice: Undefined property: Smarty::$secure_dir in /home/www/bundled-libs/Smarty/libs/Smarty.class.php on line 702

Notice: Undefined property: Smarty::$security_settings in /home/www/bundled-libs/Smarty/libs/Smarty.class.php on line 676

Notice: Undefined property: Smarty::$security_settings in /home/www/bundled-libs/Smarty/libs/Smarty.class.php on line 676

Notice: Undefined property: Smarty::$security in /home/www/bundled-libs/Smarty/libs/Smarty.class.php on line 702

Fatal error: Uncaught exception 'SmartyException' with message 'Call of unknown method 'register_modifier'.' in /home/www/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php:806 Stack trace: #0 /home/www/include/functions_smarty.inc.php(909): Smarty_Internal_TemplateBase->__call('register_modifi...', Array) #1 /home/www/include/functions_smarty.inc.php(909): Smarty->register_modifier('makeFilename', 'serendipity_mak...') #2 /home/www/serendipity_admin.php(260): serendipity_smarty_init() #3 {main} thrown in /home/www/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php on line 806

Whats going on ?

thanks
Michael
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: After Update: Undefined property: Smarty::$secure_dir in

Post by Timbalu »

Well, that looks like, you either:
  • did not copy all files over onto your old installation
  • did not upgrade plugins first
  • have some sort of strange cache mismatch
Which PHP version do you use? Or some other special server settings? How did you copy? By FTP? Did you turn on "force overwrite" mode?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
michaelxy
Posts: 2
Joined: Sat Oct 12, 2013 12:58 pm
Location: Germany

Re: After Update: Undefined property: Smarty::$secure_dir in

Post by michaelxy »

Hi Ian,

you are right ... it seams it was a simple transfer-error via sftp and Total Commander. I am to old for IT - I guess :shock: Or the NSA is manipulating sftp connections :mrgreen: After copying it a second time - all is working well.

Thank you
best regards
michael
Post Reply