vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Template Control Panel for 2.0 - Errors (https://vborg.vbsupport.ru/showthread.php?t=9479)

DumbQuestion 02-22-2001 10:26 PM

I posted this at the end of the last thread, but I a think it is getting lost because there are too many posts in there. So we are starting over here.

Kier, I installed this have into v2.0 and it works fine except for one error that appears at the top of each page. It is as follows:

Oops, php3_SetCookie called after header has been sent in ../ktemplate.php on line 46

What does this mean? How can I fix it?
I do have GZip enabled with a level of "1" compression.

02-22-2001 10:28 PM

This is explained in the first post of the other thread.

02-22-2001 10:40 PM

Well, I just re-read the other thread and do not see ANYTHING at all having to do with the error I am getting. I have fullfilled all the requirements necessary to make this hack work, but still do not see the problem.

Please explain to me where in the other thread it addresses this issue?

02-22-2001 10:48 PM

Wayne, is this what you were referring to?

Quote:

19th Feb 2001 Additions:
The hack will now auto-select the last template you edited when you return to the list from submitting an edit, or adding a new custom template.
Cookie functions can be disabled for users who do not use output_buffering
Lots of minor bug fixes (this one actually works )
Please note: if you do not have output_buffering=On in your php.ini, you should comment out the '$usecookies' line at the top of ktemplate.php


02-23-2001 12:29 AM

Yep.. That is exactly what I was referring to.

02-23-2001 12:11 PM

And as I said in the other thread, once vB2 goes gold, I will make the necessary modifications to the code so that the cookie is set in the correct place in the script.

Until the control panel code is finalised, it's just not worth my time to go hacking it about to make that function work properly.

02-23-2001 12:22 PM

Kier....I noticed your Contraol Panel update is part of beta2. I uncommented it and it doesn't work...any ideas? Or should I go back to the original one assuming that what's in the template file is for future use....

02-23-2001 12:38 PM

Quote:

Originally posted by Dark_Wizard
Kier....I noticed your Contraol Panel update is part of beta2. I uncommented it and it doesn't work...any ideas? Or should I go back to the original one assuming that what's in the template file is for future use....
You must have a very wierd version of beta 2 then... my code modifications aren't in beta 2 at all.

02-23-2001 12:47 PM

Oops....my bad....this is a file I was working on to incorporate your addon into the template.php file itself.... :) Damn...been working too hard.

02-23-2001 12:57 PM

I've just posted updated instructions to integrate the ktemplate.php modifications into beta2... use the link in my sig.

02-23-2001 01:20 PM

The link in your sig doesn't work....

02-23-2001 01:27 PM

Oops... I forgot that vB2 doesn't allow [ url=/file/on/this/server.php]links[/ url] any more...

Fixed now.


All times are GMT. The time now is 07:16 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.01314 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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