vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBgarage (https://vborg.vbsupport.ru/forumdisplay.php?f=104)
-   -   Tried to install: Durring install getting: cannot modify header information error!!! (https://vborg.vbsupport.ru/showthread.php?t=76208)

Rick Sample 02-12-2005 09:46 PM

Tried to install: Durring install getting: cannot modify header information error!!!
 
1 Attachment(s)
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!)

noppid 02-12-2005 11:43 PM

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.

Rick Sample 02-12-2005 11:49 PM

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!

noppid 02-12-2005 11:54 PM

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.

Rick Sample 02-12-2005 11:57 PM

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?

noppid 02-13-2005 12:03 AM

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.

Rick Sample 02-13-2005 12:04 AM

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!

noppid 02-13-2005 12:20 AM

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.

Rick Sample 02-13-2005 12:26 AM

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

noppid 02-13-2005 12:38 AM

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.


All times are GMT. The time now is 05: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.00995 seconds
  • Memory Usage 1,748KB
  • 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
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete