Forums / General Questions / Option name sorter has an error

Option name sorter has an error

Locked

Started by dealbyethan_com on 30 Sep 2006, 4:42 PM · Views: 1,623

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
30 Sep 2006, 4:42 PM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
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

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Sep 2006, 5:46 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

30 Sep 2006, 5:46 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Option name sorter has an error

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!
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.

30 Sep 2006, 6:06 PM
#4
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
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

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Sep 2006, 6:09 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

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!]
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!

30 Sep 2006, 6:40 PM
#6
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
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

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

30 Sep 2006, 7:05 PM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

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!
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.

1 Oct 2006, 3:42 AM
#8
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
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

**The Team Behind DealByEthan.com | **Curating unique finds for a discerning community. Committed to a seamless and inspiring shopping experience. *Connect with us: *https://linktr.ee/dealbyethan

1 Oct 2006, 4:31 AM
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Option name sorter has an error

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!
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.