PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Unable to render template file. (http://www.phpdig.net/forum/showthread.php?t=2101)

ccondo 08-02-2005 03:28 PM

Unable to render template file.
 
I was able to customize PHPdig to use the simple.html template and it works fine, but if I search again from the results page I get: Unable to render template file.

Any ideas?

This is the only change I have made to the config.php file:

// template file and style - checks to see that template is set to a valid value
if (isset($_REQUEST['template_demo'])) { $template_demo = $_REQUEST['template_demo']; }
$templates_array = array('black.html','bluegrey.html','corporate.html','green.html','grey.html ','lightgreen.html','linea
r.html','newspaper.html','phpdig.html','simple.html','terminal.html','yello w.html','gaagle.html');
if(isset($template_demo) && in_array($template_demo, $templates_array)) {
$template = "$relative_script_path/templates/simple.htm";
} else {
$template = "$relative_script_path/templates/simple.html";
}

Thanks for any help

Charter 08-02-2005 05:55 PM

Looks like you are missing an "l" in the simple.html filename.

ccondo 08-03-2005 08:41 AM

DUH
 
It seems I have caught a case of DUUUUHHHH

Thanks!


All times are GMT -8. The time now is 09:56 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.