![]() |
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. |
The problem is with template "TEST"..
1)Double check does the template name is "TEST" 2)maybe you've opened test template on other skin... try to open template called "TEST" on the style that you are using cheers :) |
I am having the exact same problem. I have added a template to my style called "products", added a file called products.php in the /forums folder, and then changed the file to reference "products" and I just get a blank page.
3.8.0 here... --------------- Added [DATE]1232408213[/DATE] at [TIME]1232408213[/TIME] --------------- Problem solved: I was using an UPPER CASE template name in my php file. Once I changed it to lower-case, which matches the name of the template in the Styles admin it worked. :) |
All times are GMT. The time now is 10:39 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|