Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Posts
    5
    Plugin Contributions
    0

    Default Unwanted code on front page after install

    Hello. I just installed ZC 1.3.7 on my site. On my front page underneith 'Sales message goes here' as well as all other pages that I've looked at is the following code where the buttons should be:

    [TESTING INFO: Time page: index was loaded is: 14:46:26

    Session ID: xxxxxxxxxxxxxxxxxxxxxxxxx
    REGISTERED GLOBALS is: OFF Session Timeout: 1440s

    GLOBALS[] and HTTP_GET_VARS['main_page'] and _GET['main_page'] = - - index

    _SERVER['PHP_SELF'] and _GET['PHP_SELF'] and PHP_SELF and _SESSION['PHP_SELF'] = /index.php - - /index.php -

    getenv('REQUEST_URI') = /index.php

    SERVER_NAME = colorcrazegifts.com

    SCRIPT_FILENAME = xxxxxxxxxxxxxxxxxxxx

    HTTP_REFERER =

    template_dir = classic

    $cPath=

    TEST LANGUAGE TEST_LANGUAGE

    SERVER_NAME within HTTP_REFERER - No


    getenv replacements:
    $_SERVER[HTTPS]
    $_SERVER[HTTP_USER_AGENT] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.1) Gecko/20061204 Firefox/2.0.0.1
    $_SERVER[REQUEST_URI] /index.php
    $_SERVER[SSL_SESSION_ID]
    $_SERVER[HTTP_ACCEPT_LANGUAGE] en-us,en;q=0.5


    TEST BACK NONE-1
    Go to: http://colorcrazegifts.com/index.php?main_page=index


    GET variables:
    main_page => index

    POST variables:

    COOKIE variables:
    zenAdminID => xxxxxxxxxxxxxxxxxxxxx
    zenid => xxxxxxxxxxxxxxxxxxxxxxxxx

    SESSION variables:
    customers_host_address => xxxxxxxxxxxxxxxxxxxxx
    cartID =>
    cart => Object
    navigation => Object
    check_valid => true
    language => english
    languages_id => 1
    languages_code => en
    currency => USD
    updateExpirations => 1
    session_counter => 1
    customers_ip_address =>xxxxxxxxxxxxxxxxxx
    customers_host_address => xxxxxxxxxxxxxxxxxxxxxxxxxxx
    cartID =>
    cart => Object
    observers => Array
    contents => Array
    total => 0
    weight => 0
    cartID =>
    content_type =>
    free_shipping_item => 0
    free_shipping_weight => 0
    free_shipping_price => 0
    navigation => Object
    observers => Array
    path => Array
    0 => Array
    page => index
    mode => NONSSL
    get =>
    post => Array
    snapshot => Array
    check_valid => true
    language => english
    languages_id => 1
    languages_code => en
    currency => USD
    updateExpirations => 1
    session_counter => 1
    customers_ip_address =>xxxxxxxxxxxxxxxx

    FILES variablesif any)


    Any ideas why?

    SIte is http://colorcrazegifts.com/index.php

    Thanks!
    Last edited by mopho; 31 Jan 2007 at 09:47 PM.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Unwanted code on front page after install

    Quote Originally Posted by mopho View Post
    Any ideas why?
    Yes ... you've somehow activated the tpl_header_test_info.php instead of the usual tpl_header.php in your active template.

    This typically requires renaming the file to tpl_header.php, or copying the tpl_header_test_info.php file to a file named tpl_header.php in your custom template folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jan 2007
    Posts
    5
    Plugin Contributions
    0

    Default Re: Unwanted code on front page after install

    That did it! Just tell me where to send the box of chocolates!

    Moishe

 

 

Similar Threads

  1. v151 admin, I put html code at product description, but it shows text format at front page
    By peter888 in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 16 Dec 2013, 02:15 PM
  2. Replies: 2
    Last Post: 14 Dec 2013, 05:49 PM
  3. Help with unwanted code on product page
    By 808helmets in forum General Questions
    Replies: 4
    Last Post: 9 Dec 2009, 07:44 AM
  4. Error on page after checkout after using COWOA code.
    By vedavyas govardhanam in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 23 Oct 2009, 12:46 PM
  5. unwanted code on main page
    By mooncavecrystals in forum General Questions
    Replies: 2
    Last Post: 3 Oct 2006, 02:43 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