3
You need to find out the absolute path to your web root on your hosting provider's server. Ask them for this information and you can set up your mainfile.php correctly. E.g. on a UNIX/Linux host, the web root path might be:
define('XOOPS_ROOT_PATH', '/var/www/vhosts/example.com/httpdocs');
'httpdocs', or 'htdocs' is the same as 'public_html'.
the XOOPS URL in mainfile is the web address, e.g.
define('XOOPS_URL', 'http://www.example.com');
Protector 3 enables you to put the protector config files (the trust path) outside of the web root, i.e. one level up from the httpdocs folder. So you could place this in:
/var/www/vhosts/example.com/my_xoops_trust_folder
The idea of this is that no one can access this with a web browser. If your host does not allow you to FTP to a location above the web root, then you will have to stick it in the httpdocs folder.
HTH
A thread is for life. Not just for Christmas.