Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Changing page title

    I have the following error messages:

    Warning: Cannot modify header information - headers already sent by (output started at /home/maddiepa/public_html/MPStore/includes/languages/english/meta_tags.php:1) in /home/maddiepa/public_html/MPStore/includes/init_includes/init_templates.php on line 78

    I looked up the error in FAQ error messages, but I don't seem to be able to fix it. Help, please. Thanks. Linda

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

    Default Re: Changing page title

    header already sent error is very common in php ...

    In your case, it is indicating a space or blank line in from of the <?php at the beginning of the file ...

    Edit the file and remove the space or blank line and reload the file to your site ...
    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
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Changing page title

    That's what I thought the FAQ was telling me to do, and I checked again, but there is no extra line or space there... Any other possibilities?

    Thanks. Linda

    www.maddie-pattie.com/MPStore

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

    Default Re: Changing page title

    And you are checking the file:
    /home/maddiepa/public_html/MPStore/includes/languages/english/meta_tags.php
    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
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Changing page title

    Make sure you have NOTHING in front of the <?php ...

    Things like:
    PHP Code:
    
    <?php
    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!

  6. #6
    Join Date
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Changing page title

    I don't think I have anything in front of the code ...

    here it is

    <?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: meta_tags.php 4273 2006-08-26 03:13:52Z drbyte $
    */
    // page title
    define('TITLE','Maddie-Pattie Greetings');

    // Site Tagline
    define('SITE_TAGLINE','Party and Gift-giving Supplies');

    // Custom Keywords
    define('CUSTOM_KEYWORDS', 'handmade, open source, shop, online shopping');

    // Review Page can have a lead in:
    define('META_TAGS_REVIEW', 'Reviews: ');

    // separators for meta tag definitions
    // Define Primary Section Output
    define('PRIMARY_SECTION', ' : ');

    // Define Secondary Section Output
    define('SECONDARY_SECTION', ' - ');

    // Define Tertiary Section Output
    define('TERTIARY_SECTION', ', ');

    // Define divider ... usually just a space or a comma plus a space
    define('METATAGS_DIVIDER', ' ');

    // Define which pages to tell robots/spiders not to index
    // This is generally used for account-management pages or typical SSL pages, and usually doesn't need to be touched.
    define('ROBOTS_PAGES_TO_SKIP','login,logoff,create_account,account,account_edit, account_history,account_history_info,account_newsletters,account_notifications,a ccount_password,address_book,advanced_search,advanced_search_result,checkout_suc cess,checkout_process,checkout_shipping,checkout_payment,checkout_confirmation,c ookie_usage,create_account_success,contact_us,download,download_timeout,customer s_authorization,down_for_maintenance,password_forgotten,time_out,unsubscribe');


    // favicon setting
    // There is usually NO need to enable this unless you wish to specify a path and/or a different filename
    // define('FAVICON','favicon.ico');

    ?>

    Linda

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

    Default Re: Changing page title

    And when you edit the file ...

    You see no white space or blank line(s) above that first:

    <?php
    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!

  8. #8
    Join Date
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Changing page title

    No, no lines or spaces - I even put the cursor to the left of the < and backspaced to make sure.

  9. #9
    Join Date
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Changing page title

    This is very frustrating. I copied the original file back into the store, and it still gives the error message. Could changing another file have caued the problem, or is it definitely in the meta tags file, as indicated in the error message?

    Thanks. Linda

  10. #10
    Join Date
    Jul 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Changing page title

    Now I can't even open the admin. I get this error.


    Warning: Cannot modify header information - headers already sent by (output started at /home/maddiepa/public_html/MPStore/includes/languages/english/meta_tags.php:1) in /home/maddiepa/public_html/MPStore/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/maddiepa/public_html/MPStore/includes/languages/english/meta_tags.php:1) in /home/maddiepa/public_html/MPStore/admin/includes/functions/general.php on line 34


    What have I done? Yikes. Linda

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing the search bar title to a simple page title.
    By Skodster in forum General Questions
    Replies: 2
    Last Post: 20 Jul 2012, 08:23 PM
  2. Changing Title Page
    By Mad Cow in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 1 Jan 2011, 11:20 PM
  3. Changing page 2 title
    By brock shumny in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 22 Jun 2009, 03:14 AM
  4. Changing page title
    By traciboyle in forum Basic Configuration
    Replies: 1
    Last Post: 11 Jan 2008, 02:00 AM

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