vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Including global.php renders html tags? (https://vborg.vbsupport.ru/showthread.php?t=221428)

Lynne 08-23-2009 03:53 AM

Sorry toonysnn, my comment was actually directed at the OP.

toonysnn 08-23-2009 04:18 AM

Oh lol nevermind then.
/stupidreply

I suppose it'll explain to the op then. Lol.

tomcat59 08-23-2009 05:03 AM

Lynne, I was thinking that the problem was related to Apache 1.3 with vBulletin. Are you using this server version? Anyway, I realized that I've had my forum in a locked state all this time, and this seems to be related to the problem.. see below.

toonysnn, I added the '@' as you suggested, and it fixed the problem!, in part. If the forum is locked and I am logged into the forum (as admin of course), then if I return to my splash page and link to a page that includes global, I do not have any problem (I did before adding @). If however, I log out of the forum and do the same thing, I end up with the forum page that has the message "Sorry, the forum is unavailable at this time....". Now, I'm thinking this is a problem with vbulletin 3.8. Why? because if I unlock the forum, I don't have a problem whether I'm logged in or not. :confused:

Perhaps somebody can reproduce the problem as I've described. Apache 1.3 may still somehow be related, but not sure about this.

Thanks a lot for all the input!

Lynne 08-23-2009 04:06 PM

Sorry, I'm not using that version of apache so I can't test this out.

Marco van Herwaarden 08-24-2009 07:50 AM

Quote:

Originally Posted by toonysnn (Post 1872454)
Yes but, when using this format, sometimes there's an extra HTML code outputted by requiring the global.php file. By adding an at (@) symbol before the php code, it removes any output returned.

Adding a @ in front of a function does not remove any output at all. It only supresses the error/warning message. The error is still there, you only don't see it anymore. Bad solution in this case, as he should resolve the problem not hide it.


All times are GMT. The time now is 04:02 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.01099 seconds
  • Memory Usage 1,721KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete