Closed (fixed)
Project:
Google AdSense integration
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Jun 2006 at 21:57 UTC
Updated:
22 Dec 2006 at 19:15 UTC
There is a broken link on the "help and instruction" part of the page "http://127.0.0.1/Mes sites/drupal-4.7.2/?q=admin/settings/adsense".
The problem come from the fact that drupal is not always installed at the root of your server.
In the text "Visit the blocks configuration page, and click" the link on "blocks" redirect in my case to "http://127.0.0.1/admin/block". It should have redirect to "http://127.0.0.1/Mes sites/drupal-4.7.2/?q=admin/block"
The correction is to replace "
Visit the blocks" by "
Visit the blocks" in the file adsense_help.inc.
That way adsense will work wherever drupal is installed on the server (i.e. root or not).
Comments
Comment #1
darren ohThe correct fix would be to use the l() function.
Comment #2
darren ohFixed in CVS commit 47518.
Comment #3
(not verified) commented