vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   VBL errors on home page... (https://vborg.vbsupport.ru/showthread.php?t=51457)

Braindg 04-10-2003 10:05 PM

VBL errors on home page...
 
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
http://www.clubvr4.co.uk/error.gif

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

filburt1 04-10-2003 10:42 PM

Re: the headers error, you can't echo anything in the PHP files reliably; instead rely completely on templates.

Braindg 04-10-2003 11:13 PM

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..

:mad:


All times are GMT. The time now is 03:30 AM.

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.01021 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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