Hi,
Got some error messages when trying to install this program... hoping you can help me out.
After step 3 I got this code on my website:
Warning: require(includes/templates/template_default/google_analytics/google_analytics.php) [function.require]: failed to open stream: No such file or directory in /home/thrift4/public_html/includes/templates/maria/common/tpl_header.php on line 109
Did I miss something in step 1?
In step 3: I added the code:
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?> to my file as instructed (although may have added it in the wrong place) Here's a snippet of that file:
<!--bof-header ezpage links-->
<?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
<?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
<?php } ?>
<!--eof-header ezpage links-->
</div>
<?php
require($template->get_template_dir('.php',DIR_WS_TEMPLATE, $current_page_base,'google_analytics') . '/google_analytics.php');
?><?php } ?>
FYI: I had not yet copied and pasted the googlesanalytics.sql patch into my 'Install sql patches' area yet.
Thanks for your help!
Bookmarks