Closed (fixed)
Project:
Google Analytics Tokenizer
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2012 at 19:43 UTC
Updated:
10 Mar 2013 at 22:46 UTC
I'm not completely well versed in this module's history so forgive me if there is a reason you are not using module_load_include but the way you are loading the class file breaks if you bootstrap Drupal from a different directory. If you have specific reasons why you are not using mli please consider adding DRUPAL_ROOT . '/' . to the beginning of the $path variable.
Basically change out:
require_once drupal_get_path('module', 'ga_tokenizer') .'/class.gaparse.php';
for
module_load_include('php', 'ga_tokenizer', 'class.gaparse');
Comments
Comment #1
Brian294 commentedCommitted to 7.x branch. Will create a 7.4 version after the next git repo refresh.
Comment #1.0
Brian294 commentedUpdated grammar.