![]() |
Getting trouble in making vbb powered custom page
I did all the things follow to this thread:https://vborg.vbsupport.ru/showthread.php?t=62164
and i got a blank page,here is the code in test.php: PHP Code:
HTML Code:
$stylevar[htmldoctype] PHP Code:
how can I solve this problem?:confused: --------------- Added [DATE]1231721034[/DATE] at [TIME]1231721034[/TIME] --------------- ps: vbb version is 3.8.0 |
Are you sure if the page has access to global.php?
|
Is the page in the same directory as all the other vbulletin forum pages?
|
yes,it's in the same path as index.php is.
I tried to rename test.php to index.php or other existing vbb files, it works. It seems vbb is preventing me to use custom file, is there a setting doing such stuff?(prevent using custom file) |
You shouldn't need this line in the file (try removing it):
PHP Code:
|
Quote:
--------------- Added [DATE]1231744615[/DATE] at [TIME]1231744615[/TIME] --------------- I changed the last part of code FROM PHP Code:
PHP Code:
|
Seems I read somewhere that this code needs to be in all pages now?
PHP Code:
|
Thanks bro. But, it doesn't help. I added that code, and still, a blank page.It seems I can't use print_output?
--------------- Added [DATE]1231755923[/DATE] at [TIME]1231755923[/TIME] --------------- ok I tried to dig in the print_output function, and found the script stopped at fetch_gzipped_text()'s PHP Code:
so anyone please help me :( --------------- Added [DATE]1231755962[/DATE] at [TIME]1231755962[/TIME] --------------- btw $encoding is "gzip" --------------- Added [DATE]1231758947[/DATE] at [TIME]1231758947[/TIME] --------------- when I save test.php in utf-8 without BOM, all trouble gone... anyone can tell me whta is BOM ? |
Are you sure you're visiting the page in the style you created the template in? That's usually why you'll get a blank page.
|
I'm having this problem too, so i need a solution as well.
EDIT. I'm a fool. I ftp'd the php file before i saved what i copied and pasted. All is well now. |
All times are GMT. The time now is 03:27 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|