Results 1 to 9 of 9
  1. #1
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Option name sorter has an error

    Hi,

    I recently found ouf that my "option name sorter" has the following error:
    Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/dealbyet/public_html/admin/option_name.php:45) in /home/dealbyet/public_html/includes/functions/sessions.php on line 221

    I went to have a look at the files. But I have no idea what I should change to fix the error. Please help. Thanks in advance.

    Best regards,
    Ethan
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Option name sorter has an error

    Reload a clean copy of the file ... it looks like you have a bad upload ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Option name sorter has an error

    Quote Originally Posted by dealbyethan.com
    output started at /home/dealbyet/public_html/admin/option_name.php:45
    The problem is happening in:
    admin/option_name.php
    at:
    line 45

    Perhaps re-uploading the file may get rid of corruption contained therein ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Re: Option name sorter has an error

    Hi DrByte and Ajeh,

    I had a look at line 45. But I couldn't figure out what's wrong on that line. I also tried re-uploading but it didn't help. Any other suggestions? Thanks.

    Regards,
    Ethan
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,697
    Plugin Contributions
    6

    Default Re: Option name sorter has an error

    Delete the file on your server ... reload again ...

    If it still dies ... could you post lines 40 to 50?
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  6. #6
    Join Date
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Re: Option name sorter has an error

    Hi Ajeh,

    line 40-50 is shown as follows:

    ==============================
    //

    ?>

    <?php

    require('includes/application_top.php');



    =================================

    Regards,
    Ethan
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  7. #7
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Option name sorter has an error

    Your file is double-spaced. Likely from problems introduced by converting from linux to windows and repeated download/uploads.

    Download the original zip and unzip it and then re-upload the file.

    Use a reliable FTP program like FileZilla or FlashFXP. Don't trust SmartFTP or cuteFTP.



    The problem is the blank line between your ?> and <?php on that line, caused by the double-spacing.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Dec 2005
    Location
    Australia
    Posts
    772
    Plugin Contributions
    0

    Re: Option name sorter has an error

    Hi DrByte,

    Thanks for your help. I solved the problem by deleting the extra space in between ?> and <?php

    I am a Mac user and using Fetch FTP client. I have been getting a lot of similar problem like this where extra space is created in files I never edited. Perhaps Fetch isn't so reliable. Do you have any suggestion for a good Mac FTP client? Thanks.

    Best regards,
    Ethan
    Using zencart v.1.3.9e
    Website: http://www.dealbyethan.com
    Email: admin AT dealbyethan DOT com

  9. #9
    Join Date
    Jan 2004
    Posts
    58,259
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Option name sorter has an error

    Quote Originally Posted by dealbyethan.com
    I am a Mac user and using Fetch FTP client. I have been getting a lot of similar problem like this where extra space is created in files I never edited. Perhaps Fetch isn't so reliable. Do you have any suggestion for a good Mac FTP client?
    Transmit, Fetch, and BBedit are the more popular ones, from my understanding, with varying degrees of reliability depending on what kind of host you're connecting to, versions of software, etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

 

 

Similar Threads

  1. Upload digital products
    By some1sxi in forum Setting Up Categories, Products, Attributes
    Replies: 42
    Last Post: 11 Nov 2008, 09:09 AM
  2. I can’t any longer install any SQL-patches.
    By PeterBKK in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2006, 06:22 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •