After upgrading one of my sites to the latest release for D5, users who are not logged in get this white screen error:
Fatal error: Call to undefined function drupal_get_path() in /home/..../drupal5/modules/adsense/contrib/adsense_click/adsense_click.module on line 15
If I remove the module the error goes away and it appears that adverts function as intended. The rest of the site is functioning normally so far as I can tell. Any ideas on where the problem is?
Comments
Comment #1
jcnventuraI guess that Drupal's drupal_get_path isn't yet active at that point..
What is truly strange is that all the D5 adsense sub-modules do the same call at that point, and they don't show that problem.
Comment #2
d.sibaud commentedsame issue
Comment #3
d.sibaud commenteddisabling the page cache settings (were set on "normal"), there's no more WSOD with drupal_get_path error, strange!! Is it a caching problem?
Comment #4
jcnventuraI've just committed a fix to CVS. You can test the new dev version in a couple of hours..
João
Comment #6
himagarwal commentedCan someone please direct me where is the fix?