4
Quote:
I did see a note under the 2.0.4 or 2.0.5 release that said that the system->general preferences "Update module template .html files from themes/your theme/templates directory?"" now worked. If you look at the XOOPS table tplfile you will see a field called "tpl_lastmodified" which looks like a timestamp.
I have that specific option turned on. I did a grep on XOOPS files and found
$ grep -Rl tpl_lastmodified trubadur.usr.ro/
trubadur.usr.ro/class/smarty/plugins/resource.db.php
trubadur.usr.ro/kernel/tplfile.php
trubadur.usr.ro/modules/system/admin/modulesadmin/main.php
trubadur.usr.ro/modules/system/admin/modulesadmin/modulesadmin.php
trubadur.usr.ro/modules/system/admin/tplsets/main.php
trubadur.usr.ro/modules/system/admin/tplsets/tplform.php
I tracked down the error to the file class/smarty/plugins/resource.db.php, line 42:
if ($filepath != "" && file_exists($filepath)) {
I've put the usual "die debug messages"
and before the line with "if..." die($filepath) echoes something like this:
/home/costi/trubadur.usr.ro/themes//templates/system/blocks/system_block_user.html
You see that are two slashes, and file_exists() test fails. I have a XOOPS 2.03 upgraded consecutively (is that an english word?) to 2.04 and 2.05.