Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-24-2007, 02:07 AM
BreeBears BreeBears is offline
 
Join Date: Aug 2006
Location: Washington State
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default URGENT!! Please HELP!

OMG I am TOTALLY Panicig here!!! Please Please Please help!!!

Ok, here's the deal... got a problem with cookies... I have no clue when it started... its a fresh install and I've been configuring everyhing adding mods and stuff.. well I tried to log out and it wouldn't let me - and my dummy butt cleared my cookies!!!! And now I can NOT log back in ANYWHERE - Portal, Forum, PhotoPost - nothing!! Gives the following error:

Quote:
Unable to add cookies, header already sent.
File: /PATHREMOVED/htdocs/Forum/modules/topten.php
Line: 15
Any Suggestions?!?!?!?!?!??!?!

I deleted the Top Ten PHP file but then it just gives me blank white page when I try to log on ugh =0(

Freakin' out here -Bree
Reply With Quote
  #2  
Old 01-24-2007, 02:10 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paste the contents of that file here (or just around line 15 if it's long). The most common cause is an extra space/newline after the closing PHP tag.
Reply With Quote
  #3  
Old 01-24-2007, 02:12 AM
BreeBears BreeBears is offline
 
Join Date: Aug 2006
Location: Washington State
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's the whole file:

PHP Code:
<?php 

// ### TOP STATS ######################################## 
 
$top_stats = array(); 
// TOP POSTERS 
$top_posters $db->query_read("SELECT * FROM ".TABLE_PREFIX."user ORDER BY posts DESC LIMIT 10"); 
while(
$top_poster $db->fetch_array($top_posters)) 

eval(
'$top_stats[\'top_posters\'] .= "' fetch_template('top_posters') . '";');    

unset(
$top_poster); 
$db->free_result($top_posters);
eval(
'$home[$mods[\'modid\']][\'content\'] = "' fetch_template('adv_portal_topposters') . '";'); 
?>
Line 15 would b the close php tag
Reply With Quote
  #4  
Old 01-24-2007, 02:13 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Triple check to make sure there isn't a space after it.

If you want to disable it, but can't access the adminCP, edit config.php and add this:
PHP Code:
define('DISABLE_HOOKS'1); 
(then disable the hack) then you can remove that line again.
Reply With Quote
  #5  
Old 01-24-2007, 02:14 AM
BreeBears BreeBears is offline
 
Join Date: Aug 2006
Location: Washington State
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Problem solve SirAdrian!!!! I pasted the code but then went and tried to figure out what you mean and that was exactly it... spaces after closing tag.. OMG OMG OMG THANKYOU soooooooooooooooooo very much!!! You saved me from having a heart attack way too young ROFL Was totally panicing - You are my new best friend!! Thankyou Thankyou!!!!

Always -Bree
Reply With Quote
  #6  
Old 01-24-2007, 02:21 AM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol

Cheers
Reply With Quote
  #7  
Old 01-27-2007, 12:32 PM
dartho dartho is offline
 
Join Date: Sep 2005
Location: Australia
Posts: 2,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Search function is your friend - thanks SirAdrian, helped me too...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:37 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.06794 seconds
  • Memory Usage 2,219KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete