Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 46
  1. #21

    Default Re: blank pages. Not redirecting.

    I'm having a similar issue with my shop that I noticed last night when trying to add something to the cart and when creating a new account.
    I ran the debug utility but, haven't found any spaces (unless I'm completely missing them) and I'm going crazy trying to figure out how to fix this.
    The site is: http://www.castalovelyspell.com I'm running version 1.3.8a.
    The error I received when running the debug was the same for everything and it reads: PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/custom/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/init_includes/init_templates.php on line 78

    Please, can anyone explain or help me out here I'm having a hard time trying to get this to work. I'd really appreciate it.
    To everyone else having the same problem I hope you get yours fixed too!!

  2. #22
    Join Date
    Aug 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: blank pages. Not redirecting.

    the error you have is on line 1 in: /home/shadow9/public_html/castalovelyspell/includes/languages/english/custom/header.php

    if the line is emty: delete it.

    if not please post you 40 first lines here

  3. #23

    Default Re: blank pages. Not redirecting.

    I've been working with install and reinstalled it again in case I messed up somewhere.
    I have sussed out exactly where the problem is.
    When I alter the text and/or the image in the custom/header.php that is when I receive blank page errors, and when I replace it with the basic header.php file it works again.
    Both are configured the same way and yet when I put my information in there that's when it becomes crazy.
    Is there another file I need to configure to ensure this alteration works?
    Thank you for your help btw brekke00!

  4. #24
    Join Date
    Nov 2005
    Posts
    18
    Plugin Contributions
    0

    Default Re: blank pages. Not redirecting.

    I got the same problem and thanks to provide the trouble experience. I upload the original english.php then i work great now.
    thanks

  5. #25
    Join Date
    Aug 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: blank pages. Not redirecting.

    Winter lady.

    can you post your header php file that is making the truble?

    i can have a look at it an see if there is any thing wrong with it.

    but as your debug report said the error is on line 1 in the header.php


    post it here and i wll have a look


  6. #26

    Default Re: blank pages. Not redirecting.

    brekke00, Thank you for the help I'll post the info below.
    Cheng, I don't know if my error helped you but, if it did I'm glad I could be of assistance to someone with posting .

    Here are two errors now, both pointing to the same issue in the header.php

    [28-Sep-2008 16:34:35] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/gothic/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/init_includes/init_templates.php on line 78

    [28-Sep-2008 16:40:01] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/shadow9/public_html/castalovelyspell/includes/languages/english/gothic/header.php:1) in /home/shadow9/public_html/castalovelyspell/includes/functions/functions_general.php on line 44

    And a screenshot of the header file so you can look at it. Keep in mind if I change the text, delete the text in the sales line or alter the logo information it gives me the same problem:


    Thanks again for any help in this matter, I'm really hoping to be able to alter this quickly so I can get this put into circulation but it's been plaguing me
    Also, is there another file I need to disable or alter before I do this, as I'm wondering if I'm missing something here. If I leave this particular file alone as it is, I can go through to checkout and everything else that was giving me a blank page after I alter it and I don't change anything at all except either the tagline or logo and either one together or separately give me the same issue.
    Hope everyone else's sites are doing awesome!!
    Last edited by winter lady; 28 Sep 2008 at 10:58 PM.

  7. #27
    Join Date
    Aug 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: blank pages. Not redirecting.

    Is it the right file you are showing here?

    /includes/languages/english/gothic/header.php

    first delete the space afther. <?php
    on line one.

    then press enter so you get a emty line 2.

    just make shure you dont have space afther <?php



    hope it helps.

    please let me know if it worked

  8. #28

    Default Re: blank pages. Not redirecting.

    It's the correct file and those aren't spaces.
    I thought so too but, they're just the way my capture encompassed the information.
    I'll try the whole thing with making the second line empty and see what happens and post again!
    Keep your fingers crossed for me!!
    Massive thanks for your time!

  9. #29
    Join Date
    Aug 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: blank pages. Not redirecting.

    here is my file. hope you can get any help from it.

    PHP 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'' ::');

    define('HEADER_SALES_TEXT''<h1></h1>');

    define('HEADER_LOGO_WIDTH''1px');

    define('HEADER_LOGO_HEIGHT''1px');

    define('HEADER_LOGO_IMAGE''logo.gif');



    // header Search Button/Box Search Button

    define('HEADER_SEARCH_BUTTON','Search');

    define('HEADER_SEARCH_DEFAULT_TEXT','Search');

    ?>

  10. #30

    Default Re: blank pages. Not redirecting.

    I tried it and it was a no go unfortunately.
    The same error showed up and the first line isn't altered from the original so, no spacing
    I'll look over yours and see where the error may lie.
    My question since you seem savvy with this is, is there possibly an override I'm missing someplace? Did you get your main file from includes/langues/english/header.php or from the classic folder as I do want to add my own logo as well.
    I'm so new at this but, I've got everything except for this and the meta tags to work and really want it to be able to go.
    I can't thank you enough for all the help you've given me, I really appreciate it and hope that maybe this error may help others along later!
    Also, another question in regards to yours.
    Are those single spaces between the package, copyright, define etc lines and double spaces between the blocks?
    Is that potentially the problem for me?

 

 
Page 3 of 5 FirstFirst 12345 LastLast

Similar Threads

  1. v154 custom php pages are redirecting to /
    By allthingsidLeroy in forum General Questions
    Replies: 0
    Last Post: 26 Jun 2015, 09:06 PM
  2. Redirecting pages to shared SSL
    By heritage in forum General Questions
    Replies: 6
    Last Post: 7 Sep 2011, 08:54 AM
  3. blank pages. Not redirecting.
    By brekke00 in forum General Questions
    Replies: 10
    Last Post: 17 Dec 2009, 10:45 AM
  4. Some pages not redirecting
    By royaltees in forum General Questions
    Replies: 4
    Last Post: 23 Oct 2008, 11:35 PM
  5. Blank Pages That Should Not Be Blank
    By bumba000 in forum General Questions
    Replies: 6
    Last Post: 26 Aug 2008, 05:26 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