Advertisement:

Author Topic: [PLUGIN] Offer Button V 2.0.4  (Read 37160 times)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #30 on: April 08, 2013, 11:28:57 pm »
Hi Guys,

I took a look and I could not reproduce the headers already sent error. I did however fix the other error nevermore had.

Try the latest zip if it still is giving the headers error let me know and I will do some more digging.

Jay

ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #31 on: April 09, 2013, 02:05:53 am »
Thanks for the update Jay,

I still get this error when I go to configure the plugin.

Warning: Cannot modify header information - headers already sent by (output started at /home/blahblah/public_html/oc-includes/osclass/utils.php:1594) in /home/dollarcl/public_html/oc-includes/osclass/utils.php on line 1596

OSCLASS 3.1

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #32 on: April 09, 2013, 04:12:15 am »
 @ozclassifieds,

What is on line 1594 of oc-includes/osclass/utils.php? Can you also copy here a few lines above as well. As my utils file does not have that line.

Thanks

Jay

ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #33 on: April 09, 2013, 04:27:20 am »
Hi Jay,

Here ya go


trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #34 on: April 09, 2013, 04:40:45 am »
Do you only get this error with this plugin?

Also which other plugins do you have installed?

Jay

SemperSaint

  • Newbie
  • *
  • Posts: 20
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #35 on: April 09, 2013, 04:44:01 am »
For me it's line 1590

Warning: Cannot modify header information - headers already sent by (output started at /home/xxxxx/public_html/xxxxxx/oc-includes/osclass/utils.php:1588) in /home/xxxxx/public_html/xxxxxx/oc-includes/osclass/utils.php on line 1590

Line 1590 is:

header("Location: ".$url);


trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #36 on: April 09, 2013, 04:46:47 am »
@SemperSaint,

Yep that is the lines that code shows up on in my file as well. But I am still unable to reproduce this error.

Jay

ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #37 on: April 09, 2013, 04:50:27 am »
I'm running V3.1 with the following plugins:

  • Facebook
    Carousel
    Dating
    RealEstate
    Jobs
    Cars
    YouTube
    Analytics
    Location
    Mobile
    More Edit
    PayPal
    Rich Edit
    Site Map
    Voting
    Watchlist


ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #38 on: April 09, 2013, 05:02:57 am »
Ps - I downgraded from 3.1.1 to 3.1 which is why mine changed - I think - will check the code.....

SemperSaint

  • Newbie
  • *
  • Posts: 20
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #39 on: April 09, 2013, 05:08:27 am »
@SemperSaint,

Yep that is the lines that code shows up on in my file as well. But I am still unable to reproduce this error.

Jay

This is all the code referenced in that error. It's all at the very end of the file.


function osc_redirect_to($url) {
    if(ob_get_length()>0) {
        ob_end_flush();
    }
   
    header("Location: ".$url);
    exit;
}

?>

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #40 on: April 09, 2013, 05:19:08 am »
@ozclassifieds,

Out of curiosity why did you downgrade to 3.1?

One thing you could maybe try is disabling one plugin at a time and see if the error goes a way as the Offer button does not use the osc_redirect_to function.

Jay

ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #41 on: April 09, 2013, 06:23:48 am »
I downgraded for a few reasons.

Some of the key plugins I use broke

RSS stopped working

I was spending too much time debugging and not enough time getting my site up :-(

And then I realised all my theme dev work was done on 3.1 and I didn't want any problems as I wanted to go live with nil issues.

I will try your suggestion Jay - Thanks,


ozclassifieds

  • Jr. Member
  • **
  • Posts: 64
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #42 on: April 09, 2013, 08:28:51 am »
3.1.1. on the left - 3.1 on the right



it's all greek to me.....

yooads

  • Newbie
  • *
  • Posts: 25
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #43 on: April 09, 2013, 07:04:26 pm »
Once a offer is accepted, it should display a message like "Sold" to let other users know that the item is not available and to not contact the seller.

Adamswj

  • Newbie
  • *
  • Posts: 5
Re: [PLUGIN] Offer Button V 2.0.2
« Reply #44 on: April 10, 2013, 06:17:34 am »
Warning: Cannot modify header information - headers already sent by (output started at /home/n4bme/public_html/freezle/oc-includes/osclass/utils.php:1588) in /home/n4bme/public_html/freezle/oc-includes/osclass/utils.php on line 1590

Not only do I get this when trying to configure offer plugin but also when trying to configure my other plugins once offer has been added as a plugin. If I uninstall the offer plugin then I can once again configure all my plugins.