Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > vBgarage
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Tried to install: Durring install getting: cannot modify header information error!!! Details »»
Tried to install: Durring install getting: cannot modify header information error!!!
Version: , by Rick Sample Rick Sample is offline
Developer Last Online: Jun 2009 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 02-12-2005 Last Update: Never Installs: 0
 
No support by the author.

Ok, I tried to upgrade to 4.0.3, but I ran into a few problems on the installer. When I click the 3rd installer button, it returns this message:

Warning: Cannot modify header information - headers already sent by (output started at /home/muscleh/public_html/forums/includes/adminfunctions.php:222) in /home/muscleh/public_html/forums/admincp/upgrade_vbgarage.php on line 250


Also, I got everything done including the upload of vbgarage.php and it won't display any images, I'm not sure if thats because of the failed step above or not: http://www.muscle-mustangs.com/forums/vbgarage.php

thanks for any and all help (if it makes any difference, I'm still leaving the images in the DB rather than filesytem and I'm upgrading from magnuses orriginal version to 4.0!)

Download Now

File Type: (21.4 KB, 4 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 02-12-2005, 11:43 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It seems to me there is white space in adminfunctions.php from an edit. Just a guess though. There should be nothing output from that file.
Reply With Quote
  #3  
Old 02-12-2005, 11:49 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ah ok, you wouldn't happen to know where I can get that orriginal adminfunctions.php file from do you? I've tried downloading pretty much all the garage releases on here, none of the zips seem to have that file!
Reply With Quote
  #4  
Old 02-12-2005, 11:54 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick Sample
ah ok, you wouldn't happen to know where I can get that orriginal adminfunctions.php file from do you? I've tried downloading pretty much all the garage releases on here, none of the zips seem to have that file!

That is a vB file, we can't distribute it.

Go to the very last line that has ?> and make sure there is no white space after it. I believe it's /forums/includes/adminfunctions.php.
Reply With Quote
  #5  
Old 02-12-2005, 11:57 PM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
That is a vB file, we can't distribute it.

Go to the very last line that has ?> and make sure there is no white space after it. I believe it's /forums/includes/adminfunctions.php.
Yep, their are no spaces at the end or beggining of the forums/includes/adminfunctions.php file. I actually checked that first! Is their any way around it?
Reply With Quote
  #6  
Old 02-13-2005, 12:03 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick Sample
Yep, their are no spaces at the end or beggining of the forums/includes/adminfunctions.php file. I actually checked that first! Is their any way around it?
I just got home, let me settle in and I'll look for more possiblilties.

Hang tight.
Reply With Quote
  #7  
Old 02-13-2005, 12:04 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noppid
I just got home, let me settle in and I'll look for more possiblilties.

Hang tight.
Awesome! Thanks alot!
Reply With Quote
  #8  
Old 02-13-2005, 12:20 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick Sample
Awesome! Thanks alot!
In upgrade_vbgarage.php at about line 248 find...
PHP Code:
        header("Location: http://" $_SERVER['HTTP_HOST']
                     . 
dirname($_SERVER['PHP_SELF'])
                     . 
"/" $relative_url);
        
        exit; 
Replace with...

PHP Code:
        header("Location: " $relative_url );
        exit; 
I'm guessing here. There is an exit after the redirect. Why it's thowing that error I just aint sure. But try that just to get feedback.
Reply With Quote
  #9  
Old 02-13-2005, 12:26 AM
Rick Sample Rick Sample is offline
 
Join Date: Apr 2004
Location: Ohio
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmm, doesn't make any sense, still getting that error:

Warning: Cannot modify header information - headers already sent by (output started at /home/muscleh/public_html/forums/includes/adminfunctions.php:222) in /home/muscleh/public_html/forums/admincp/upgrade_vbgarage.php on line 248
Reply With Quote
  #10  
Old 02-13-2005, 12:38 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rick Sample
hmmm, doesn't make any sense, still getting that error:

Warning: Cannot modify header information - headers already sent by (output started at /home/muscleh/public_html/forums/includes/adminfunctions.php:222) in /home/muscleh/public_html/forums/admincp/upgrade_vbgarage.php on line 248
As best I can see, we aint even requesting that file near there or using a function from it.


Yep I'm lost. Anyone got a map?

EDIT: Problem solved.
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 09:24 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.04918 seconds
  • Memory Usage 2,313KB
  • Queries Executed 24 (?)
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
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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_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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete