Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Please help...Smarty Problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-22-2003, 06:03 PM
 
psomnath psomnath is offline
 

Member
  
Join Date: Jun 2003
Posts: 12
 

Default Please help...Smarty Problem

Move to a new server with clean Smarty cache directory (templates_c). Everything working great (at least as much as I tested). Only gift certificate is giving me problem. Error is listed below. Your any help would be highly appreciated. Thanks in advance.

Warning: Smarty error: unable to read template resource: "modules/wishlist/wishlist.tpl" in /home/annesha/public_html/Smarty-2.5.0/Smarty.class.php on line 1042


Thanks
Somnath
Reply With Quote
  #2  
Old 09-23-2003, 12:47 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

This is saying that the file isn't there.

Have you double checked to see if that template was copied?
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 09-23-2003, 01:20 AM
 
chycor chycor is offline
 

Advanced Member
  
Join Date: Feb 2003
Location: Cornwall, UK
Posts: 53
 

Default Re: Please help...Smarty Problem

Quote:
Originally Posted by psomnath
Warning: Smarty error: unable to read template resource: "modules/wishlist/wishlist.tpl" in /home/annesha/public_html/Smarty-2.5.0/Smarty.class.php on line 1042

Hi Somnath,

May I suggest if you have uploaded all files correctly that it may be a file name problem. The directory 'modules/wishlist/wishlist.tpl' should be 'modules/Wishlist/wishlist.tpl' i.e. Capital W on directory name. Some FTP programs force lower case remote names. This has happened to me in the past.

Phil.
Reply With Quote
  #4  
Old 09-23-2003, 08:00 AM
 
psomnath psomnath is offline
 

Member
  
Join Date: Jun 2003
Posts: 12
 

Default Problem is resolved...Thanks...

Thanks "funkydunk". Thanks for reading the error message for me. You are right. Smarty could not find corresponding file/directory, so it was giving error.

Thanks "chycor". While customizing x-cart, I by mistake listed it as wishlist/wishlist.tpl. My local windows environment didn't complain. But my hosting server is in linux. So I had this problem. Thanks a loooot for helping me out.

Cheer
Somnath
Reply With Quote
  #5  
Old 09-23-2003, 08:10 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

no probs
__________________
ex x-cart guru
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

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


All times are GMT -8. The time now is 02:43 PM.

   

 
X-Cart forums © 2001-2020