5
Despite mainfile.php pointing to the new path, some file seems to be looking for the old path.
Permission was 755 for one parent directory, but changing to 777 has not resolved it.
Here is the complete error:
Error: Smarty error: the $compile_dir '/xxxxoops_data/caches/smarty_compile' does not exist, or is not a directory.
Backtrace:
/class/smarty/Smarty.class.php (1092)
/class/smarty/internals/core.write_compiled_resource.php (20)
/class/smarty/Smarty.class.php (1430)
/class/smarty/Smarty.class.php (1260)
/class/theme_blocks.php (141)
/class/theme_blocks.php (92)
/class/theme_blocks.php (36)
/class/theme.php (243)
/class/theme.php (73)
/header.php (66)
/index.php (77)
I moved the contents of the xoops_data folders from one location to another. Should I delete the files in any of the directories under xoops_data?
Here is what the mainfile.php looks like now however if I remove the old xoops_data folder from the root directory, the site fails with the error noted above.
// For forward compatibility
// Physical path to the XOOPS library directory WITHOUT trailing slash
define( 'XOOPS_PATH', '/home2/mysite/newfolder/xoops_lib' );
// Physical path to the XOOPS datafiles (writable) directory WITHOUT trailing slash
define( 'XOOPS_VAR_PATH', '/home2/mysite/newfolder/xoops_data' );
// Alias of XOOPS_PATH, for compatibility, temporary solution
define("XOOPS_TRUST_PATH", XOOPS_PATH);
Optimism is the mother of disappointment.