Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Another damn blank page

    Result from PHP Logging Tool below:

    [08-Feb-2009 21:27:15] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 44

    I assume that the file that's wrong is functions_general.php on line 44. I've checked it and there's nothing on that line Check the screen grab image... Any ideas peeps ?
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Another damn blank page

    check the flat.php at line 53 ..

  3. #3
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Another damn blank page

    Ok checked flat.php at line 53, there was a blank space. Removed the blank space and the second line of error code has now changed to this:

    [09-Feb-2009 07:12:25] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 87

    I've checked line 87 of functions_general.php and can see the following (See attachment)

    Not sure what i'm looking for... php newbie :-)
    Attached Images Attached Images  

  4. #4
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Another damn blank page

    Your files are all double-spaced. That's not how they're distributed and if that's how they are on your server is likely going to cause you a whole heap of problems with extra blank lines being interpreted as premature output.

    This usually happens because of line endings getting converted somewhere between your download of the zipped files from Zen Cart, your editor and your FTP software.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  5. #5
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Another damn blank page

    What do you suggest I do then...... Everything was ok up untill yesterday when I set up all the paypal module stuff.

    After setting up that i tested it and it worked fine, went through to the paypal site and everything was ok...

    Do you think I should make a backup of this file, then download a fresh copy and upload that?

  6. #6
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Another damn blank page

    Ok.... I tried that anyway. renamed my old file _old and uploaded a fresh copy into the server from a new zen download. I'm now getting this error in the log:

    [09-Feb-2009 10:55:22] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 44


    I've been led to believe that the first section that says;

    output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53

    I should ignore and the the actual page generating the error was the second one... In this case functions_general.php, is this correct?

    i have uploaded a FRESH copy of the functions_general.php file and am now getting an error on line 44.... How can this be when i's a brand new copy?

    I think this issue has something to do with the first file flat.php
    Last edited by bettsaj; 9 Feb 2009 at 12:13 PM.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Another damn blank page

    Quote Originally Posted by bettsaj View Post
    i have uploaded a FRESH copy of the functions_general.php file and am now getting an error on line 44.... How can this be when i's a brand new copy?
    This is my point. Somewhere between downloading a fresh copy of Zen Cart and getting the files to your sever, then are getting corrupted. You need to track down which step is causing this, adjust the settings for the relevant piece of software and then re-load your files.

    Simply moving them through the same process is unlikely to resolve the problem. Fixing them one by one would, but would be mighty tedious and likely cause yoy the same problem in the future.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Another damn blank page

    Ok point taken.... I understand..

    I'm using Cute FTP Pro to upload, I expect you're talking about ASCII and Binary mode transfer types. What mode should I use to upload php files. It's currently set to "Use Global setting".

    I have 4 options in Cute FTP, ASCII, Binary Auto Detect & Use Global setting.

    As a matter of interest, I've visually compared the two copies the one on the server and the fresh one from the Zen zip file... and they look identical

  9. #9
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Another damn blank page

    I have downloaded yet another fresh copy of the zen cart files and uploaded the functions_general.php via CuteFTP in ASCII mode, it being basically a text document that's editable in wordpad.... Still no luck and I'm getting this error in the error log:

    [09-Feb-2009 13:16:53] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53) in /home/u30chri/public_html/sienna/includes/functions/functions_general.php on line 44

    I'm losing the will to live at the moment, has anyone got any suggestions please.... Could it be the flat.php file? This isn't in the Zen zip, it's in my template folder which is cherry_zen. However it isn't in the cherry_zen.zip that you download... it's created later on.

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Another damn blank page

    Code:
    /home/u30chri/public_html/sienna/includes/languages/english/modules/shipping/cherry_zen/flat.php:53
    is file causing problems...switch templates, then go back to cherry zen and investigate

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v138a Moving to another folder, main page blank
    By ribow in forum General Questions
    Replies: 7
    Last Post: 26 Jun 2012, 03:08 PM
  2. another blank page error
    By JohnEstrella in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jul 2009, 04:29 PM
  3. Yes...another Blank page mess "HELP"
    By Richard123456 in forum General Questions
    Replies: 1
    Last Post: 29 Jan 2009, 09:44 PM
  4. Another Blank page on checkout
    By HIPPY in forum General Questions
    Replies: 5
    Last Post: 1 May 2008, 10:07 PM
  5. Replies: 17
    Last Post: 26 Jul 2006, 06:20 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