Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
VBL errors on home page... Details »»
VBL errors on home page...
Version: , by Braindg Braindg is offline
Developer Last Online: Dec 2012 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 04-10-2003 Last Update: Never Installs: 0
 
No support by the author.

Im hoping you can help.. im getting very frustrated with this..
I have tried many different things, trawled through all relevant forums, yet i cannot find the solution to my problem..

im not very good with PHP, more along the lines of a n00b.. anyways.

my index.php file contains a couple things
<table>
title picture
links
</table>

php code for vbl index.php

<table>
footer info
</table>

I have created templates aswell, pulling in the relevant info. still nothing, so im posting with this basic easy to understand version

what happens is as follows
all the relevant info is retrieved from databse.. news forum, users online latest topics.. etc etc.. however

between top table and php code the follwoing error appears

Quote:
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/90/site11/web/index.php:8) in /home/.sites/90/site11/web/forum/admin/functions.php on line 1652
ok, so i go off to functions.php so see what is is complaining about.
at that line is the following

Quote:
} } else {
setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);
}
{
now, why is it refering to header, when that lines suggests theres a cookie issue? :S

it makes sense that theres a cookie issue, cos if you got to the forums, then back to the home page.. that error is gone..

any ideas how i can fix? wish i could find some posts on it. :|


next issue:

theres a page error


on line 246 is the following.

Quote:
$iuserperms = 'AND thread.postuserid IN( ' . $activepolluser . ' )';
I did search forums for this aswell, but nothing relating to what my problem is...

Have a look for yourself
index.php

forums

hope you can help
cheers

Show Your Support

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

Comments
  #2  
Old 04-10-2003, 10:42 PM
filburt1 filburt1 is offline
 
Join Date: Feb 2002
Location: Maryland, US
Posts: 6,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Re: the headers error, you can't echo anything in the PHP files reliably; instead rely completely on templates.
Reply With Quote
  #3  
Old 04-10-2003, 11:13 PM
Braindg Braindg is offline
 
Join Date: Apr 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i did this i was getting weird problems, like evertime i refreshedpage.one of the pictures would not load, and everytime you refreshed a random picture would dissapear..

Reply With Quote
Reply

Thread Tools

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 06:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04075 seconds
  • Memory Usage 2,206KB
  • Queries Executed 18 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (3)postbit_onlinestatus
  • (3)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