Quote:
|
We have fixed errors but now get a blank white page
|
Quote:
|
yes
|
Then check your error_logs and see if something is in there. Otherwise, go through your php and debug as needed (remove/comment out stuff, etc.).
|
our template is called new custom page but our php file is called custom, would that cause a problem
--------------- Added [DATE]1301338367[/DATE] at [TIME]1301338367[/TIME] --------------- Sorry stupid question but where do I find the error log |
It does not matter as long as you make sure to put the correct template name where needed.
If you don't know where your error_logs are, then you need to ask your host. |
this is the code we used
<?php error_reporting(E_ALL); define('THIS_SCRIPT', 'custom'); define('CSRF_PROTECTION',true); $phrasegroups = array(); $specialtemplates = array(); $globaltemplates = array('custom',); $actiontemplates = array(); require_once('./global.php'); $navbits = construct_navbits(array(''=>'Register')); $navbar = render_navbar_template($navbits); $pagetitle = 'Porsche Planet Register'; $templater = vB_Template::create('custom'); $templater->register_page_templates(); $templater->register('navbar', $navbar); $templater->register('pagetitle', $pagetitle); $templater->register('page', $page); print_output($templater->render()); ?> |
According to your code, the name of the template is "custom".
PHP Code:
|
I am not well versed with php, but I thought I would ask here for some help. I have a file on my site that is html and javascript. I used this article to convert it to a php file. Well, for the most part, it works. However, it shows adsense double and the footer is at the top. lol
Where did I go wrong? |
All times are GMT. The time now is 03:36 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|