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

Smarty for Windows?
Goto page Previous  1, 2
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
TedEBare1970
Smarty n00b


Joined: 16 Jun 2014
Posts: 4

PostPosted: Mon Jun 16, 2014 6:35 pm    Post subject: Ran testinstall() Reply with quote

This is what it returns:
Smarty Installation test...
Testing template directory...
FAILED: .\templates\ does not exist.
Testing compile directory...
FAILED: .\templates_c\ does not exist.
Testing plugins directory...
C:\smarty\libs\plugins is OK.
Testing cache directory...
FAILED: .\cache\ does not exist.
Testing configs directory...
FAILED: .\configs\ does not exist.
Testing sysplugin files...
... OK
Testing plugin files...
... OK
Tests complete.
Back to top
View user's profile Send private message
TedEBare1970
Smarty n00b


Joined: 16 Jun 2014
Posts: 4

PostPosted: Mon Jun 16, 2014 6:46 pm    Post subject: Resolved my issue Reply with quote

it fails the testinstall but somehow the demo script works.
Back to top
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Mon Jun 16, 2014 7:15 pm    Post subject: Reply with quote

It looks like that you did not configure the real location of the folders.
testInstall() showed that Smarty was expecting the folders on the default location, but you placed them at other pathes.

See http://www.smarty.net/docs/en/api.set.template.dir.tpl
http://www.smarty.net/docs/en/api.set.config.dir.tpl
http://www.smarty.net/docs/en/api.set.compile.dir.tpl
http://www.smarty.net/docs/en/api.set.cache.dir.tpl

The demo did work because it has it's own set of folders.
Back to top
View user's profile Send private message
TedEBare1970
Smarty n00b


Joined: 16 Jun 2014
Posts: 4

PostPosted: Mon Jun 16, 2014 9:29 pm    Post subject: smarty Reply with quote

I got it, thank you, I feel so dumb.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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