TinyPortal
Development => Support => Topic started by: Dream on October 12, 2007, 05:34:41 AM
TP Version 0.9.8
SMF Version: SMF 1.1.4
Im trying to add some google ad scripts to script box's but each time I try I get the following ...
403 Forbidden
You don't have permission to access /chat/index.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I have tried deleting all temp internet files/cookies. Another admin has also tried with the same result.
I also tried to add the script using the ad mod with the same result...
HELP!!!!!!! lol
What code do you use in the scriptblock ? Also make sure you have the correct permissions and files the script calling for
Its a google ad script, I had no problems with the scripts until I set up on a new server. I can add the script to a plain html page so its not the server blocking it.
As you can see from the error...
403 Forbidden
You don't have permission to access /chat/index.php on this server.
That is the index page, everyone has permsission to access it.
Except for trying to redo the whole site I can't think how else to fix it (if that will fix it).
I'll see if I can post the script here...
<center>
<script type="text/javascript"><!--
google_ad_client = "pub-6567210147369801";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel = "";
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
It might be that your host doesent allow outside scripts to be run through the php server. ( the script is being read through the php server when you add it inside SMF and tp, but as standalone it's not)
Ask your host about it :)