6
My update works fine, too. But, there are so many Notices, now. They make it hard to find errors while module developing and theme designing.
So I fixed them for me.
Here are my changes:
class/smarty/plugins/resource.db.php:
line 17:
if ($GLOBALS['xoopsConfig']['default_theme'] != 'default') {
replace with:
if (isset($GLOBALS['xoopsConfig']['default_theme']) && $GLOBALS['xoopsConfig']['default_theme'] != 'default'){
line 71:
if ($GLOBALS['xoopsConfig']['default_theme'] != 'default') {
replace with:
if (isset($GLOBALS['xoopsConfig']['default_theme']) && $GLOBALS['xoopsConfig']['default_theme'] != 'default') {
line 96:
if ($file_path != "" && file_exists($filepath)) {
replace with:
if (isset($file_path) && $file_path != "" && file_exists($filepath)) {
class/smarty/Smarty.class.php:line 626:
if(!@is_array($this->_tpl_vars[$tpl_var])) {
replace with:
if( !(array_key_exists($tpl_var, $this->_tpl_vars)) || !@is_array($this->_tpl_vars[$tpl_var])) {
greetz
derya