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

    Default error messages after installation - HELP!

    Hi all

    I have the following message after I have uploaded all the files to my server:

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/justsoho/macsoftware.com.au/zencart/index.php:2) in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 55

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/justsoho/macsoftware.com.au/zencart/index.php:2) in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 60

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php): failed to open stream: No such file or directory in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 83

    Warning: main(DIR_WS_INCLUDESauto_loaders/config.core.php): failed to open stream: No such file or directory in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 83

    Warning: main(): Failed opening 'DIR_WS_INCLUDESauto_loaders/config.core.php' for inclusion (include_path='.:/usr/local/lib/php') in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 83

    Warning: dir(DIR_WS_INCLUDESauto_loaders): failed to open dir: No such file or directory in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 84

    Warning: Cannot modify header information - headers already sent by (output started at /hsphere/local/home/justsoho/macsoftware.com.au/zencart/index.php:2) in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/application_top.php on line 105

    From some checking online, it seems to be something to do with excess white space...is this correct? if so - do I simply open the PHP file - and delete white space on the appropriate line? and reupload to the server.

    any help much appreciated as I have been wrestling with this for 2 days now!

    best wishes
    bexford

  2. #2
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: error messages after installation - HELP!

    Yes, just delete all white apace before the opening and after the closing php tag. In PHP any white space is seen as being something, so when it happens before the opening or after the closing php tag it throws up an error.

    Vger

  3. #3
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: error messages after installation - HELP!

    hi there

    unfortunately...I am still getting "header" error messages. I have opened up the appropriate PHP file and there wasn't any additional white space at either the beginning or end of the php code.

    it is indicating a problem on line 100 of the sessions.php file....but I cannot for the life of me see any additional white space on this line so not sure why this error is being thrown up! the error messages is as follows:

    Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /hsphere/local/home/justsoho/macsoftware.com.au/zencart/index.php:2) in /hsphere/local/home/justsoho/macsoftware.com.au/zencart/includes/functions/sessions.php on line 100

    this is clearly a common problem with zen cart and I really need to get this fixed so apologies if I am going over old ground.

    I am opening up the PHP file in GoLive...have scrolled down to line 100 and it all looks ok so am really stuck now!

    any help, as ever, much appreciated.

    Bexford

  4. #4
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: error messages after installation - HELP!

    You're looking at the 2nd half of the error message. You need to look at the FIRST file it mentions, not the last....

    output started at /hsphere/local/home/justsoho/macsoftware.com.au/zencart/index.php:2
    Remove the extra blank lines or spaces in that file which sit outside the <?php and ?>
    .

    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.

  5. #5
    Join Date
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: error messages after installation - HELP!

    hi there

    thanks for the reply - i have checked the index.php file as you suggested - but there isn't any superfluous white space sitting outside <?php and ?> .... so ma now at a loss as to what to do.

    the first four lines of the php file are as follows:

    1<meta http-equiv="content-type" content="text/html;charset=utf-8">
    2<?php
    3/**
    4* index.php represents the hub of the Zen Cart MVC system


    dpes this offer any clues to where the problem is???!!

    this issue is driving me crazy!

    thanks as always for any help
    cheers
    Bexford

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

    Default Re: error messages after installation - HELP!

    I have see this on other sites ... no clue why ...

    php files do not start with:

    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    That is your error ...

    Something has added that to your code and goobered up your files ...

    Get a clean Zen Cart v1.3.0.1 from here ... and upload it to your site ... see if that doesn't correct these issues ...
    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
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: error messages after installation - HELP!

    hey there

    thanks for the quick reply! I thought it may be something to do with that....as a quick alternative - can I not simply delete that line of code.....and re-save the file back to my server to clear the problem?

    if not, will go down the clean install route you suggest!

    cheers
    Bexford

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

    Default Re: error messages after installation - HELP!

    Providing that is the only file with it ...
    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
    May 2006
    Posts
    16
    Plugin Contributions
    0

    Default Re: error messages after installation - HELP!

    hi again!

    that's worked a treat - no need for the clean install so thanks very much for all your help.

    am just starting on the "fun" bit now of customisation of the classic template to how I want it to look....can i assume that the file I need to access for chnaging font sizes, colors, etc is the stylesheet_original.css?

    I will need to be changing the font.....adding a banner of my own etc....changing the colors behind the headings etc.

    thanks again for all your help

    Bexford

  10. #10
    Join Date
    Jan 2004
    Posts
    66,445
    Plugin Contributions
    81

    Default Re: error messages after installation - HELP!

    You should start by basing your template from template_default, not from classic.

    Our FAQ's section explains how the templating system works, among other things.
    https://www.zen-cart.com/tutorials/i...hp?article=142
    https://www.zen-cart.com/tutorials/index.php?category=4
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Error Messages after payment completed
    By icaros in forum General Questions
    Replies: 3
    Last Post: 2 Mar 2008, 12:21 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