Thread: Warning Message

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Warning Message

    I had a similar problem to this before and the only way I fixed it was to reinstall zen cart and all of my products and I really don't want to do that again I spent 2 days on it. So here is the problem I had been adding new product categories before with no problem, and now when I added the new category "custom" I get the message:

    Warning: Cannot modify header information - headers already sent by (output started at /home/upnorthp/public_html/includes/languages/english/index.php:60) in /home/upnorthp/public_html/includes/functions/functions_general.php on line 44

    I was told this had to do with extra spaces but I am very new at websites and think I removed the extra spaces but it didn't work. Can anyone help me. The website it upnorthpromo.com and click on the category custom. The rest of the website seems to work fine and if there was an extra space there I would image it would be throught the site.

    Thank you

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Waring Message

    Try editing this file again on your computer:
    /includes/languages/english/index.php

    And it should end in the ?>

    Place your cursor to the right of that ?> and keep hitting delete until you cannot move right nor down ...

    Save the file and reload it ...

    Be sure you are using a TEXT editor and not your Control Panel or a Word Processor ...

    If using NotePad, make sure the WordWrap is turned OFF ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Waring Message

    I think I am still missing somthing or at leasting not understanding what to do. I am using crimson editor. Here is the last line.

    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    }
    ?>

    I made it look like this

    define('HEADING_TITLE', 'Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.');
    }?>


    Is that right? Thanks very much for your help.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Waring Message

    This is a clean index.php ...
    PHP Code:
    <?php
    /**
     * @package languageDefines
     * @copyright Copyright 2003-2006 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: index.php 3027 2006-02-13 17:15:51Z drbyte $
     */

    define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');

    // Showcase vs Store
    if (STORE_STATUS == '0') {
      
    define('TEXT_GREETING_GUEST''Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
    } else {
      
    define('TEXT_GREETING_GUEST''Welcome, please enjoy our online showcase.');
    }

    define('TEXT_GREETING_PERSONAL''Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');

    define('TEXT_INFORMATION''Define your main Index page copy here.');

    //moved to english
    //define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');

    //define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');
    //define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');
    //define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

    if ( ($category_depth == 'products') || (zen_check_url_get_terms()) ) {
      
    // This section deals with product-listing page contents
      
    define('HEADING_TITLE''Available Products');
      
    define('TABLE_HEADING_IMAGE''Product Image');
      
    define('TABLE_HEADING_MODEL''Model');
      
    define('TABLE_HEADING_PRODUCTS''Product Name');
      
    define('TABLE_HEADING_MANUFACTURER''Manufacturer');
      
    define('TABLE_HEADING_QUANTITY''Quantity');
      
    define('TABLE_HEADING_PRICE''Price');
      
    define('TABLE_HEADING_WEIGHT''Weight');
      
    define('TABLE_HEADING_BUY_NOW''Buy Now');
      
    define('TEXT_NO_PRODUCTS''There are no products to list in this category.');
      
    define('TEXT_NO_PRODUCTS2''There is no product available from this manufacturer.');
      
    define('TEXT_NUMBER_OF_PRODUCTS''Number of Products: ');
      
    define('TEXT_SHOW''Filter Results by:');
      
    define('TEXT_BUY''Buy 1 \'');
      
    define('TEXT_NOW''\' now');
      
    define('TEXT_ALL_CATEGORIES''All Categories');
      
    define('TEXT_ALL_MANUFACTURERS''All Manufacturers');
    } elseif (
    $category_depth == 'top') {
      
    // This section deals with the "home" page at the top level with no options/products selected
      /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
      
    define('HEADING_TITLE''Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.');
    } elseif (
    $category_depth == 'nested') {
      
    // This section deals with displaying a subcategory
      /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
      
    define('HEADING_TITLE''Congratulations! You have successfully installed your Zen Cart&trade; E-Commerce Solution.'); 
    }
    ?>
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Waring Message

    Hmmm. I used that one there and it worked until I changed the congratulations you have successfully...... Maybe there is problem how I am editing it. All I did was remove what they have in there and put Up North Promotions Vinyl Cut Decals.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Waring Message

    Could you post the exact lines that you changed?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Waring Message

    This is how it looks after I changed it:
    } elseif ($category_depth == 'top') {
    // This section deals with the "home" page at the top level with no options/products selected
    /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Up North Promotions Die Cut Decals');
    } elseif ($category_depth == 'nested') {
    // This section deals with displaying a subcategory
    /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
    define('HEADING_TITLE', 'Up North Promotions Die Cut Decals');
    }
    ?>

  8. #8
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Waring Message

    I am not seeing there error ... and that is all that you changed?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #9
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Waring Message

    I believe that is all I changed. I save the file as somthing like indexnew.php then when I save it where it needs to be i change it to index.php. So I don't mess up the original. Would that have anything to do with it. Again it is also only happening to the one category.

  10. #10
    Join Date
    Feb 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Waring Message

    Hmmm, after working with that clean file for a while I was finaly able to get it. I'm not sure what I did. Thanks for all of your help!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. warning message
    By charliepingpong in forum General Questions
    Replies: 14
    Last Post: 6 Nov 2011, 09:29 AM
  2. Warning message
    By mrotb in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 11 Mar 2008, 12:18 PM
  3. Warning Message
    By Ellume in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 Jul 2007, 08:02 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