Results 1 to 10 of 2161

Threaded View

  1. #11
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Simple Google Analytics - Support

    Quote Originally Posted by cgardner View Post
    OKay, got everything up, but maybe the file is in the wrong place? I put it right in the zen cart folder. At the bottom of the page it says:

    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    Warning: main(includes/templates/template_default/google_analytics/google_analytics.php): failed to open stream: No such file or directory in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    Fatal error: main(): Failed opening required 'includes/templates/template_default/google_analytics/google_analytics.php' (include_path='.:/usr/local/lib/php') in /home/diginirv/public_html/zen_cart/store/includes/templates/magic/common/tpl_main_page.php on line 181

    See it at http://diginirvana.com/zen_cart/store

    What have I done wrong? I can't tell what is going on in google analytics since I have been tracking the rest of the website for a while (I added the extra line in zen cart to show that zen cart is a subdirectory of my store).

    This error results from uploading the files to the incorrect locations.

    Be sure to follow the instructions very closely. It should be a 30 second "drag and drop" to get it installed.

    In your case, make sure that you uploaded the "google_analytics" directory (and associated files within it) to the proper location. That should solve your issue.

    It is currently looking for that directory (which contains the files that are "included" on the page to make Analytics work) under your "template_default" location.

    If that is your template (and you are not using a custom template) then it means you did not upload the "google_analytics" directory to the location specified (include/templates/template_default).

    To correct, simply upload that entire directory to "include/templates/template_default" and you should see the error go away.

    So, what it would look like when you are done is

    "includes/templates/template_default/google_analytics"

    If you are using a custom directory template (called "magic") then you should upload the directory to the following location

    /includes/templates/magic/

    So it would look like this when complete.

    /includes/templates/magic/google_analytics


    Viola :)
    Last edited by econcepts; 13 Dec 2007 at 05:49 PM. Reason: added content
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

 

 

Similar Threads

  1. v150 Simple Google Analytics .sql error !
    By Miff in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 10 Feb 2012, 11:33 PM
  2. Simple Google Analytics-not working
    By RobertG in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 11 Nov 2010, 06:07 PM
  3. Simple (From Google) Analytics Install
    By DagLindt in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 May 2009, 10:46 PM
  4. Simple google analytics- help
    By Pet Herbal Remedies in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Oct 2008, 10:37 PM
  5. Simple Google Analytics not working
    By jvanree in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 29 May 2008, 03:46 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR