PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 08-02-2005, 04:28 PM   #1
ccondo
Green Mole
 
Join Date: Aug 2005
Posts: 3
Question 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
ccondo is offline   Reply With Quote
Old 08-02-2005, 06:55 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Looks like you are missing an "l" in the simple.html filename.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-03-2005, 09:41 AM   #3
ccondo
Green Mole
 
Join Date: Aug 2005
Posts: 3
Red face DUH

It seems I have caught a case of DUUUUHHHH

Thanks!
ccondo is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Oh where oh where can my template file be? george2 How-to Forum 2 10-03-2007 01:34 PM
Unable to create the content file (it did work) rafarspd Troubleshooting 15 02-11-2005 07:18 AM
PHP and Javascript in phpdig.html template file jayhawk How-to Forum 1 06-17-2004 06:03 PM
Unable to create the content file and crontab not working and ixwebhosting paullind Troubleshooting 17 03-06-2004 06:40 AM
Warning: Unable to create the content file Tanasja Troubleshooting 1 10-10-2003 02:51 AM


All times are GMT -8. The time now is 07:08 PM.


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