Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 4 matches
Smarty Forum Index
Author Message
  Topic: Can't find template/compile/config dir
yus2aces

Replies: 5
Views: 20272

PostForum: Installation and Setup   Posted: Sun Jan 27, 2013 7:32 am   Subject: Solved
Thanks mohrt for your guidance.

I've skipped page.php and change index.php a bit. So the index.php will contain this code :

<?php
//Load Smarty library and config files
require_once 'includ ...
  Topic: Can't find template/compile/config dir
yus2aces

Replies: 5
Views: 20272

PostForum: Installation and Setup   Posted: Fri Jan 25, 2013 3:40 pm   Subject: Working for absolute path
I tried to write an absolute path to the template dir, and it worked. The page load successfully.

<?php
require_once('e:/hatshop/libs/smarty/Smarty.class.php');
$smarty = new Smar ...
  Topic: Can't find template/compile/config dir
yus2aces

Replies: 5
Views: 20272

PostForum: Installation and Setup   Posted: Fri Jan 25, 2013 2:57 pm   Subject: testInstall() result
BTW this is the testInstall() result.

Smarty Installation test...
Testing template directory...
FAILED: .\templates\ does not exist.
Testing compile directory...
FAILED: .\templates_c\ ...
  Topic: Can't find template/compile/config dir
yus2aces

Replies: 5
Views: 20272

PostForum: Installation and Setup   Posted: Fri Jan 25, 2013 2:46 pm   Subject: Can't find template/compile/config dir
The code below i got from a book which shows this error "can't find index.tpl".

INDEX.PHP
<?php
//Load Smarty library and config files
require_once 'include/app_top.php';

//Load ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP