Not sure why. define('PHPRPG_DIR', '/game'); define('PHPRPG_ERROR_FILE', PHPRPG_DIR.'/share/log/error.log'); Code (markup):
when you define a path in PHP it's from the root of the hosting account, not the root of the url. I suspect that define('PHPRPG_DIR', '/game'); should be define('PHPRPG_DIR', '/home/a2901808/public_html/game');
If you don't know the path you should try to include it relatively to the existing file. For example require_once(dirname(__FILE__)."/init.php")
or just remove the leading slash -- since generally speaking that too is NOT a relative path... but generally speaking if you 'need' to absolute path anything in your code or even up-tree path (..\) it, you've probably got a bad directory structure set up.