Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: search function hanging

    Hi thank you very much for your time. I checked both files they seem to be alright. I also installed the debug file and it is giving me this error :
    [04-Feb-2009 00:30:59] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shortexp/public_html/shop/includes/languages/english/classic/header.php:2) in /home/shortexp/public_html/shop/includes/init_includes/init_templates.php on line 78
    [04-Feb-2009 00:31:00] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shortexp/public_html/shop/includes/languages/english/classic/header.php:2) in /home/shortexp/public_html/shop/includes/functions/functions_general.php on line 44


    There seems to be a problem with the header I have check it several times but I'm not sure what to do at this point?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: search function hanging

    Quote Originally Posted by dfludd View Post
    PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shortexp/public_html/shop/includes/languages/english/classic/header.php:2) in ...
    So ... what exactly is on line 2 of that particular file on your server? Or better yet, what's the entire file contents? Paste the contents here, using [ code ] and [ /code ] tags around it.

    Related FAQ: https://www.zen-cart.com/tutorials/index.php?article=87
    .

    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
    Apr 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: search function hanging

    Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2005 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: header.php 2848 2006-01-14 09:47:08Z wilt $
     */
    
    // header text in includes/header.php
    define('HEADER_TITLE_CREATE_ACCOUNT', 'Create Account');
    define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
    define('HEADER_TITLE_CART_CONTENTS', 'Shopping Cart');
    define('HEADER_TITLE_CHECKOUT', 'Checkout');
    define('HEADER_TITLE_TOP', 'Top');
    define('HEADER_TITLE_CATALOG', 'Home');
    define('HEADER_TITLE_LOGOFF', 'Log Out');
    define('HEADER_TITLE_LOGIN', 'Log In');
    
    // added defines for header alt and text
    define('HEADER_ALT_TEXT', 'Shortexposure.com');
    define('HEADER_SALES_TEXT', '');
    define('HEADER_LOGO_WIDTH', '200px');
    define('HEADER_LOGO_HEIGHT', '70px');
    define('HEADER_LOGO_IMAGE', 'logo.gif');
    
    // header Search Button/Box Search Button
    define('HEADER_SEARCH_BUTTON','Search');
    define('HEADER_SEARCH_DEFAULT_TEXT','Enter search keywords here');
    ?>
    Thank you for your help

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: search function hanging

    Well, the content that you posted looks fine. Are you sure that that's what's on the *server*?
    What happens if you delete that file from the server and reload it using a copy of the master one from the folder one level up from there?
    .

    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.

  5. #5
    Join Date
    Apr 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: search function hanging

    Hi I just tried your suggestion and i still get a blank results screen. I'm really lost here I do not know why this is happening. It took months to get this site configured the thought of starting fresh is unthinkable.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: search function hanging

    What are the updated debug log files saying now?
    .

    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.

  7. #7
    Join Date
    Apr 2007
    Posts
    24
    Plugin Contributions
    0

    Default Re: search function hanging

    [06-Feb-2009 01:35:59] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shortexp/public_html/shop/includes/languages/english.php:1401) in /home/shortexp/public_html/shop/includes/init_includes/init_templates.php on line 78
    [06-Feb-2009 01:36:00] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shortexp/public_html/shop/includes/languages/english.php:1401) in /home/shortexp/public_html/shop/includes/functions/functions_general.php on line 44

 

 

Similar Threads

  1. v150 Search function
    By comsystics in forum General Questions
    Replies: 3
    Last Post: 19 Sep 2012, 05:47 PM
  2. Linking search function to custom CSS search box
    By seeinteriors in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Jun 2012, 10:52 PM
  3. Search function
    By aquaessential in forum General Questions
    Replies: 2
    Last Post: 5 Jul 2007, 04:59 PM
  4. embed an internal search engine or more functional search function
    By reza in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 30 May 2007, 04:01 PM

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