|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Gibberish Smarty Rookie
Joined: 07 Oct 2003 Posts: 7
|
Posted: Tue Oct 07, 2003 2:45 am Post subject: First day on Smarty. Little help please. |
|
|
Ok so I got everything together I think, I had a database problem but I fixed that now I am getting this error and I cannot figure out why for the life of me, any help is well appreciated.
Here is the error:
Warning: Smarty error: unable to read template resource: "templates/home.tpl" in *edited* Smarty.class.php on line 1042
Now line 1042 in smart.class.php says:
trigger_error("Smarty error: $error_msg", $error_type);
So I am guessing that is just the generic error shoing up?
that resource the error is talking about is being called by this:
$smarty->display("templates/home.tpl");
which is in my index.php
There is a home.tpl in my templates folder. Any suggestions?
Thanks in advance
Last edited by Gibberish on Tue Oct 07, 2003 3:36 am; edited 1 time in total |
|
Back to top |
|
Gibberish Smarty Rookie
Joined: 07 Oct 2003 Posts: 7
|
Posted: Tue Oct 07, 2003 3:35 am Post subject: |
|
|
ok I think I firgured it out. Now the error I get is this:
Warning: filemtime(): SAFE MODE Restriction in effect. The script whose uid is 10245 is not allowed to access / owned by uid 0 in *edited*Smarty.class.php on line 1650 |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
Gibberish Smarty Rookie
Joined: 07 Oct 2003 Posts: 7
|
Posted: Tue Oct 07, 2003 5:11 am Post subject: |
|
|
yea tried all those, I either get a bunch of errors or if I do just the false one I just get it this error:
Warning: filemtime(): SAFE MODE Restriction in effect. The script whose uid is 10245 is not allowed to access / owned by uid 0 in *edited* Smarty.class.php on line 1650
this is line 1650:
$template_timestamp = filemtime($resource_name); |
|
Back to top |
|
|
|
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
|