TinyPortal

Development => Support => Topic started by: jbraum on June 25, 2007, 12:42:14 PM

Title: Google Ad Problem
Post by: jbraum on June 25, 2007, 12:42:14 PM
When I go to add an add to my sponsors block I get the following error message below.  I have 5 ads in this block and am getting this error when I leave the Google ad in the block.  When I take the Google ad out I'm fine.  Have done a block with the Google ad only and still get the same problem.


You don't have permission to access /index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Title: Re: Google Ad Problem
Post by: IchBin on June 25, 2007, 02:46:57 PM

SMF and TP version? What type of block are you using? I think google ads require scriptbox type.
Title: Re: Google Ad Problem
Post by: jbraum on June 25, 2007, 04:14:28 PM
1.1.2 smf
9.7 TP

I'm using a scriptbox. 

Title: Re: Google Ad Problem
Post by: IchBin on June 25, 2007, 05:00:29 PM
Not sure what to tell you if someone else's code is causing this.
Title: Re: Google Ad Problem
Post by: Ianedres on June 25, 2007, 06:48:23 PM
Sounds more like the Google code you're using that may have an incorrect link specified.

Place the code on a page by itself on your server and verify that it works there. Also, if you're using relative paths versus absolute paths, the code may be referring to an invalid path once the code runs from within SMF / TP.
Title: Re: Google Ad Problem
Post by: yeshaib on June 25, 2007, 06:57:16 PM
works fine for me

I thin Ianedres is right
Title: Re: Google Ad Problem
Post by: welshdog on July 02, 2007, 12:55:15 AM
Quote from: yeshaibâ„¢ on June 25, 2007, 06:57:16 PM
works fine for me

I thin Ianedres is right

but not for me either.

I have the code in a script box and it spreads out into the rest of the theme! Copied the code right out of the google box too :(


Ignore that... I was tring to fit a large banner in a small box :D

I'm using SMF 1.1.3, TP 0.0.8 and various themes :)