#567 Removing Smileys directory causes warnings

open
nobody
None
5
2009-11-16
2009-11-16
conw
No

Removing the smileys directory for performance reasons because the smileys package isn't installed causes the following warnings when editing a wiki page:
[code]
Warning: constant() [function.constant]: Couldn't find constant SMILEYS_PKG_PATH in /pathtobw/kernel/smarty_bit/resource.bitpackage.php on line 83

Warning: Smarty error: unable to read resource: "bitpackage:smileys/smileys_full.tpl" in /pathtobw/util/smarty/libs/Smarty.class.php on line 1093

Warning: constant() [function.constant]: Couldn't find constant SMILEYS_PKG_PATH in /pathtobw/kernel/smarty_bit/resource.bitpackage.php on line 83

string(17) "Missing template:"

$iVar, "", FALSE (array)
force /pathtobw/force/smileys/smileys_full.tpl
force_simple /pathtobw/force/smileys_full.tpl
override /pathtobw/themes/styles/basic/smileys/smileys_full.tpl
override_simple /pathtobw/styles/basic/smileys_full.tpl
package_template templates/smileys_full.tpl

Warning: constant() [function.constant]: Couldn't find constant SMILEYS_PKG_PATH in /pathtobw/kernel/smarty_bit/resource.bitpackage.php on line 83

Warning: Smarty error: unable to read resource: "bitpackage:smileys/smileys_full.tpl" in /pathtobw/util/smarty/libs/Smarty.class.php on line 1093
[/code]

Discussion

  • Walter Wojcik
    Walter Wojcik
    2009-12-18

    Did you just delete the directory or did you use the kernel settings to disable it first?