9
mainfile.php must be set as CHMOD 444 for security reasons.
The following must be set as CHMOD 777
1. xoops_data directory and all sub-folders within it
2. xoops_root/uploads
3. xoops_root/cache and xoops_root/templates_c (present for back-compatibility even though your site probably doesn't need them)
Your mainfile.php should have the following defined:
XOOPS_ROOT_PATH (server path to your XOOPS site)
XOOPS_PATH (server path to your xoops_lib folder)
XOOPS_VAR_PATH (server path to your xoops_data folder)
XOOPS_TRUST_PATH (define("XOOPS_TRUST_PATH", XOOPS_PATH);)
XOOPS_URL (the virtual address of your XOOPS site, i.e. what you would type in your browser)
If you want to see (a sanitised version of) my mainfile.php then drop me a PM with your email address.
HTH