vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   I'm having a strange problem with a template on the standard error page (https://vborg.vbsupport.ru/showthread.php?t=91946)

amykhar 07-10-2005 09:50 PM

I'm having a strange problem with a template on the standard error page
 
This is the weirdest thing. When I go to the standard error page on my site, the left side bar is empty.

From the debug code, I can see that the template was loaded. But, none of the content is there - even the static stuff.

I'm totally stumped. Any thoughts?

Amy

p.s. I'm not using the sidebar plugin that I released here. I'm using a code mod that evaluates the template right after the header template is evaluated in global.php

Princeton 07-10-2005 11:10 PM

have you tried setting the variable globally?
add it to functions standard_error() or standard_redirect() and see if that works


FYI
A better solution would be to add the sidebar code to your header or navbar templates ... 1 less template to call per page

---
oops, sorry I didn't notice that this was a 3.5 forum -- I don't know if the above would relate since I haven't even installed vb 3.5 :(

Dream 07-10-2005 11:41 PM

try using GENERIC_SHELL template

edit: misread your post, some errors here doesnt show the navbar, "new posts" with no new posts sometimes show it and sometimes it doesnt

amykhar 07-10-2005 11:47 PM

It's showing the navbar. Everything is there - even the left column. It's just empty even though the debug processing says it's been evaluated.

Paul M 07-11-2005 12:28 AM

I had a problem with the standard error not showing things that I calculated in global.php - I had to add them to the standard error function global statements in functions.php (around line 2147). :)

amykhar 07-11-2005 01:05 AM

Quote:

Originally Posted by Paul M
I had a problem with the standard error not showing things that I calculated in global.php - I had to add them to the standard error function global statements in functions.php (around line 2147). :)

Thank you :)

merk 07-12-2005 11:36 PM

to avoid that, you could try $GLOBALS[varname].

amykhar 07-13-2005 01:51 AM

I just had to go to the standard error function and bring in the variable names that I used in my side bar. Had to do it in the arcade too. Works like a dream now.


All times are GMT. The time now is 10:01 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.01032 seconds
  • Memory Usage 1,720KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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