Adds Posted January 2, 2009 Share Posted January 2, 2009 Hi,Can anyone advise as to when I'm getting the following error message when I try to submit the Google Adsense code within the Google Adsense module?ForbiddenYou don't have permission to access /new/****/index.php on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Thanks,Adam Link to comment Share on other sites More sharing options...
Adds Posted January 19, 2009 Author Share Posted January 19, 2009 Can anyone advise on this at all? Link to comment Share on other sites More sharing options...
getstock Posted January 20, 2009 Share Posted January 20, 2009 find the file in your document root and change the permissions to 777, then try entering your code. If the file is just plain missing then redownload the installation package and place that file.Hope this helpsdont forget to change your permission back once you have sorted it! Link to comment Share on other sites More sharing options...
andrewcjw Posted December 13, 2011 Share Posted December 13, 2011 <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxxxxxxxxxxxx"; /* Name */ google_ad_slot = "xxxxxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Once I click on update setting the code is as below, is this normal? <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxxxxxxxxxxxx"; /* Name */ google_ad_slot = "xxxxxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Link to comment Share on other sites More sharing options...
Jameh Posted January 17, 2012 Share Posted January 17, 2012 I have a same problem as andrewcjw Link to comment Share on other sites More sharing options...
Jameh Posted January 22, 2012 Share Posted January 22, 2012 I found I forgot to install my advise in right position after I upgraded the prestashop program, now I solved it. function install() { if (!parent::install() OR !$this->registerHook('Footer')) return false; return true; } install it to correct position, function hookFooter($params) { $output = html_entity_decode(Configuration::get('GADSENSE_ID'), ENT_COMPAT, 'UTF-8'); return $output; } then uploaded to my site, goto back office, uninstall the google adsense and install it again, undate your google advice codes. My advise appreal again, Link to comment Share on other sites More sharing options...
ziomik Posted March 9, 2012 Share Posted March 9, 2012 I have the same problem, but I did not understand how did you fix ... Link to comment Share on other sites More sharing options...
acnnacnn Posted April 18, 2012 Share Posted April 18, 2012 I also have the same problem, how did you guys fix this problem? Link to comment Share on other sites More sharing options...
Mipou Posted May 24, 2012 Share Posted May 24, 2012 Hi I have the same problem too. Can anyone tell me if the Adsense works any way? Was that an error, or it is normal ? Thanks Link to comment Share on other sites More sharing options...
asood Posted July 12, 2012 Share Posted July 12, 2012 Hi, Can anyone advise as to when I'm getting the following error message when I try to submit the Google Adsense code within the Google Adsense module? Forbidden You don't have permission to access /new/****/index.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Thanks, Adam I am facing the same problem. Can anybody tell the solution for it. 404 forbidden error. Link to comment Share on other sites More sharing options...
Metsubo Posted September 19, 2012 Share Posted September 19, 2012 (edited) <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxxxxxxxxxxxx"; /* Name */ google_ad_slot = "xxxxxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Once I click on update setting the code is as below, is this normal? <script type="text/javascript"><!-- google_ad_client = "ca-pub-xxxxxxxxxxxxxxxxxxx"; /* Name */ google_ad_slot = "xxxxxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Having the same problem bump The odd thing is that on one of the occasions it actually did work and displayed on the homepage which made me realize it was the wrong side so I did a new one and am having the same problems with it there. Not sure why it won't accept those characters Huh... it just worked this time. Man, I don't understand what went wrong there but it's fine now. Edited September 19, 2012 by Metsubo (see edit history) Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 19, 2012 Share Posted September 19, 2012 Hello, I will go ahead and mark this thread as solved. Thank you for choosing PrestaShop! Link to comment Share on other sites More sharing options...
webbit Posted November 23, 2012 Share Posted November 23, 2012 I have this problem and I still dont understand how to fix it Link to comment Share on other sites More sharing options...
acer200 Posted January 19, 2013 Share Posted January 19, 2013 Hello, I will go ahead and mark this thread as solved. Thank you for choosing PrestaShop! Hello Benjamin the Problem isn't solved!! i have Prestashop V 1.5.3.1 and have still the Problem with the Gadsense Modul My Code from Gadsense <script type="text/javascript"><!-- google_ad_client = "ca-pub-MyID"; /* GLBT */ google_ad_slot = "XXXXXXXXX"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> Output from Prestashop <script type="text/javascript"><!-- google_ad_client = "ca-pub-3MyID"; /* GLBT */ google_ad_slot = "xxxxxxxxxxx"; google_ad_width = 468; google_ad_height = 60; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> At Live edit it shows the banner and at the Live site it doesnt show the banner Do you have any solution for this issue? Regards Nico Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now