Advertisement:

Author Topic: Warning Message  (Read 1119 times)

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Warning Message
« on: August 15, 2014, 02:24:15 pm »
I have done few edits in the theme header, main and item.php for the rich snippet settings. It was working fine for few hours but now some warning message appears when user log out or log in. or theme is activated.

Warning: Cannot modify header information - headers already sent by (output started at /home/u794139114/public_html/classifieds/oc-includes/osclass/utils.php:1710) in /home/u794139114/public_html/classifieds/oc-includes/osclass/utils.php on line 1715

Please provide some solution for it ..

teseo

  • Hero Member
  • *****
  • Posts: 6169
Re: Warning Message
« Reply #1 on: August 15, 2014, 03:12:51 pm »
Hi,

Probably you have inadvertedly leave blank lines at the end of some of your modified scripts. Check that file ends with last closing php tag ?>

Regards

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Warning Message
« Reply #2 on: August 15, 2014, 05:53:14 pm »
I have reinstalled the theme and still this message is coming. I added only the voting plugin and added its placement in functions.php and item.php. And still its showing the same error..?

design

  • Hero Member
  • *****
  • Posts: 2619
  • Osclass 3.5 MAC/PC w/ Modern Browsers
Re: Warning Message
« Reply #3 on: August 15, 2014, 06:27:53 pm »
 NO BLANK SPACES OR LINES after the final-end of page ?>

check your functions page or any other page you've edited. be sure to use a good text editor i.e. notepad++

ColdWabmaster

  • Full Member
  • ***
  • Posts: 151
Re: Warning Message
« Reply #4 on: August 15, 2014, 07:11:16 pm »
I have don't all ...it was due to voting plugin and whenever I change its location in the function.php and item.php it gives error. So this I reinstalled and didn't changed its place till now everything is fine...its because of the calling function it was very strange and has words like remove hooks etc.. ???

frosticek

  • Hero Member
  • *****
  • Posts: 3948
Re: Warning Message
« Reply #5 on: August 16, 2014, 02:00:10 am »
@Sinto001
You have already duplicated your problem here, explaining that this error is just when you activate voting plugin.  :-\
http://forums.osclass.org/plugins-20/voting-plugin-giving-errors-in-all-themes/msg103705/#msg103705