Results 1 to 9 of 9
  1. #1
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Error Code text displays all over my header!?

    Hi
    The following text appears on the top my default page.
    please see attached pic-
    What am i doing wrong?
    Please Help!

    Cookie

    -d='" . (int)$product_id . "'"); } //// // salemaker categories array function zen_parse_salemaker_categories($clist) { $clist_array = explode(',', $clist); // make sure no duplicate category IDs exist which could lock the server in a loop $tmp_array = array(); $n = sizeof($clist_array); for ($i=0; $i<$n; $i++) { if (!in_array($clist_array[$i], $tmp_array)) { $tmp_array[] = $clist_array[$i]; } } return $tmp_array; } //// // update salemaker product prices per category per product function zen_update_salemaker_product_prices($salemaker_id) { global $db; $zv_categories = $db->Execute("select sale_categories_selected from " . TABLE_SALEMAKER_SALES . " where sale_id = '" . (int)$salemaker_id . "'"); $za_salemaker_categories = zen_parse_salemaker_categories($zv_categories->fields['sale_categories_selected']); $n = sizeof($za_salemaker_categories); for ($i=0; $i<$n; $i++) { $update_products_price = $db->Execute("select products_id from " . TABLE_PRODUCTS_TO_CATEGORIES . " where categories_id='" . (int)$za_salemaker_categories[$i] . "'"); while (!$update_products_price->EOF) { zen_update_products_price_sorter($update_products_price->fields['products_id']); $update_products_price->MoveNext(); } } } ?>

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Error Code text displays all over my header!?

    What did you do BEFORE this "message" appeared?
    20 years a Zencart User

  3. #3
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Error Code text displays all over my header!?

    Hi
    the problem's been there since i first installed zencart yesterday. Just now i installed a template but the code is still there.
    http://ezlivinggalway.ie/zen/

    Thanks in advance

  4. #4
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Error Code text displays all over my header!?

    Something that has worked for others, and me, is to delete the Zen Cart 'index.php' file and upload it again. This 'index.php' is the first one and is found at the same place as the 'page_not_found.php' file.

  5. #5
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Error Code text displays all over my header!?

    Thanks Rob. Tried that but it had no effect.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Error Code text displays all over my header!?

    includes/functions/functions_prices.php

    The above file is where the code comes from. Delete it and see what happens. Could be the file did not upload properly and needs re-uploading.

  7. #7
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Error Code text displays all over my header!?

    You may want to reupload all of the files - if one was corrupted, odds are that there are others.

    What did you use to upload the files originally?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  8. #8
    Join Date
    Jan 2010
    Posts
    131
    Plugin Contributions
    0

    Default Re: Error Code text displays all over my header!?

    Quote Originally Posted by Website Rob View Post
    includes/functions/functions_prices.php

    The above file is where the code comes from. Delete it and see what happens. Could be the file did not upload properly and needs re-uploading.
    Thanks everyone - especially website Rob!
    i deleted the functions_prices.php & re uploaded it. problem solved.

  9. #9
    Join Date
    Oct 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: Error Code text displays all over my header!?

    I've a similar header problem - searching 2 days and counting.

    Installed the 'confirm email address entry 1.1.txt' module and it seems to have it work, but all this shows above the header and I am desparate:

    define('ENTRY_EMAIL_ADDRESS_CONFIRM', 'Confirm E-Mail:'); define('ENTRY_EMAIL_ADDRESS_CONFIRM_NOT_MATCHING', 'The Confirmation Email must match your Email Address.'); define('ENTRY_EMAIL_ADDRESS_CONFIRM', 'Confirm EMail:'); define('ENTRY_EMAIL_ADDRESS_CONFIRM_NOT_MATCHING', 'The Confirmation Email must match your Email Address.');

    Thanks a pile,

    AJ

 

 

Similar Threads

  1. Header is all over the place
    By delightsociety in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 21 Sep 2009, 05:12 PM
  2. Main page text displays on all pages
    By g3steve in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 17 Oct 2008, 06:24 PM
  3. button displays over text
    By JoCanDo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 19 Mar 2008, 10:44 AM
  4. Machine Code Bad Characters - Little  's all over the site
    By milobloom in forum General Questions
    Replies: 2
    Last Post: 31 Aug 2007, 10:15 PM
  5. Code displays in the header of my webpage
    By THUNBUG in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Mar 2007, 01:58 PM

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