X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Smarty Error help please (https://forum.x-cart.com/showthread.php?t=3943)

Light Speed 08-10-2003 11:50 PM

Smarty Error help please
 
Here's my errror:

Warning: Smarty error: problem writing temporary file '/***PathToXCart***/templates_c/%%189/%%1894910960/3f3747f58d9c1' in /***PathToXCart***/Smarty-2.5.0/Smarty.class.php on line 1042

Warning: touch(): Utime failed: Operation not permitted in /***PathToXCart***/Smarty-2.5.0/Smarty.class.php on line 1575

Any ideas? Is this just a permissions issue?

Light Speed 08-11-2003 09:04 AM

templates_c
 
How are the cache files written?

Does X-Cart have Apache create a new file?
I am having a permissions issue as these files are being written with 771 permissions which is a problem with my setup. Where can I change the default permissions for chache files that are generated by X-Cart? Is this something that is a variable in one of the Smarty php files?

Light Speed 08-11-2003 10:06 AM

Found it in Smarty.class.php!!

/**
* default file permissions
*
* @var integer
*/
var $_file_perms = 0644;

/**
* default dir permissions
*
* @var integer
*/
var $_dir_perms = 0771;


I changed 771 to 755 and my error is gone :)

Invid 09-05-2003 02:11 PM

i'm still having that problem http://store.wholesalewheel.net/customer/
it only appears on the details page...any other suggestions?

Invid 09-05-2003 02:17 PM

:arrow: http://forum.x-cart.com/viewtopic.php?p=24675#24675


All times are GMT -8. The time now is 06:34 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.