Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    Default Problem when change metatags

    I want to change my site metatags
    I open up the following files
    includes/languages/english/meta_tags.php
    edit some word "site tagline " , then save and reload this file to the my site.
    I did not do anything else, but after that when I open my site I got the following message on the top of my site.

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

    and also I cann't open my admins page, when I open the admins page, it got the following message on the plain page:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/functions/general.php on line 34


    anyone who knew what happen, please help ,thanks a lot !!!

  2. #2
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    Quote Originally Posted by als88 View Post
    I want to change my site metatags
    I open up the following files
    includes/languages/english/meta_tags.php
    edit some word "site tagline " , then save and reload this file to the my site.
    I did not do anything else, but after that when I open my site I got the following message on the top of my site.

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

    and also I cann't open my admins page, when I open the admins page, it got the following message on the plain page:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/functions/general.php on line 34


    anyone who knew what happen, please help ,thanks a lot !!!
    Did this happen when you edited the meta_tag.php file???
    If so, looks like you are editing a core file.
    YOu need to look up overide files in the tutorials/faq on the top right hand corner of the zen forum..
    Make sure you left the single quotes in front of your meta tags and at the end.
    Reload a fresh copy over the meta_tags.php file for the correction..

  3. #3
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    Thanks for help, haredo
    Did this happen when you edited the meta_tag.php file???
    Yes,

    I try to reload fresh copy of the meta_tags.php file , the message on my site was disappear, but I still can not open my admins page, the message on my
    admins page are same:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/includes/functions/sessions.php on line 108

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/init_includes/init_templates.php on line 36

    Warning: Cannot modify header information - headers already sent by (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) in /home/mark8/public_html/zen-cart/admin/includes/functions/general.php on line 34


    please help!!!

  4. #4
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    Hopefully, Dr. Bytes, Ajeh, Kim, Kuroi, Gjh42 will read this for the fix...

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem when change metatags

    Thanks for thinking of me, but unfortunately this is not my area of expertise.
    It does look like the original meta-tag problem was fixed by reloading, but I can't imagine how or why a function file got involved...

  6. #6
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    I try to reload the fresh file zen-cart/includes/functions/sessions.php
    and the zen-cart/admin/includes/init_includes/init_templates.php

    after that ,The admin page is working well like before.
    but the thing is my whole site look lean to left side(before in middle), and all the font was bigger than normal. that's happen when I first edit the meta_tags.php file (I did not change the other thing all about the templates).

    When hear haredo's advice: reload the fresh meta_tags.php file , the Warning message was gone, and site still look same, I mean : lean to left side and big font.

    I still no idea about that, is any hero can help.
    also thanks anyone who help me before.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Problem when change metatags

    Quote Originally Posted by als88 View Post
    Cannot send session cache limiter - headers already sent (output started at /home/mark8/public_html/zen-cart/admin/includes/functions/general.php:3230) ...
    https://www.zen-cart.com/tutorials/index.php?article=87

    Perhaps reloading the original copy of the file mentioned in the error message would help.
    .

    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.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Problem when change metatags

    The problem is probably not in sessions.php or init_templates.php; those are just the files that found the problem. As the messages say, the problem may be in /admin/includes/functions/general.php. You might try uploading a fresh copy of that.

    Mmm yeah, like DrB said... time for me to shut down and go to sleep before I nod off again at the keyboard... :)

  9. #9
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    Quote Originally Posted by gjh42 View Post
    Mmm yeah, like DrB said... time for me to shut down and go to sleep before I nod off again at the keyboard... :)
    Now, that was great, and well stated.. Lol

  10. #10
    Join Date
    May 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: Problem when change metatags

    I try to reload a fresh /admin/includes/functions/general.php
    but it didn't help . the font still bigger than before
    now I change the templates wides to 100%
    and try to change the font size on stylesheet.css
    The problem is I cann't find where to change the category font size
    and product name font size .....??


    help please !!!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. metatags don't change
    By tomdonker in forum Basic Configuration
    Replies: 2
    Last Post: 7 Jul 2014, 08:46 AM
  2. Getting sitewide metatags not to get added to product metatags?
    By HelpMeSell in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2011, 06:13 AM
  3. Replies: 5
    Last Post: 16 Nov 2008, 04:35 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