unable to read resources

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ubsacc2004
Forum Newbie
Posts: 6
Joined: Thu May 14, 2009 1:16 am

unable to read resources

Post by ubsacc2004 »

hi all,

i encountered this errors.

Warning: Smarty error: unable to read resource: "store_front.tpl" in C:\Moodle\Moodle19\server\moodle\tshirtshop\libs\smarty\Smarty.class.php on line 1092

the line 1092 is for this function.

Code: Select all

 
  function trigger_error($error_msg, $error_type = E_USER_WARNING)
    {
        trigger_error("Smarty error: $error_msg", $error_type);
    }
 
where is the error ?

Thanks,
Jeff.
Last edited by Benjamin on Thu May 14, 2009 10:39 pm, edited 1 time in total.
Reason: Added [code=php] tags.
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: unable to read resources

Post by Benjamin »

I think the important question here is, "Where is store_front.tpl?"
ubsacc2004
Forum Newbie
Posts: 6
Joined: Thu May 14, 2009 1:16 am

Re: unable to read resources

Post by ubsacc2004 »

C:\Moodle\Moodle19\server\moodle\tshirtshop\presentation\templates

this is the location filepath.

Thanks,
Jeff.
Post Reply