Ahhhh, it looks like you added that code to a template or in the middle of the page where there is already < php > tags and that is not where it needs to be added. It needs to go into the php page - in this case I guess your public_html/index.php page. If you add it to that page and you are already between the < php > tags, then you only need to add the lines beginning with "chdir" and "require_once" and that needs to be at the beginning of that page.
|