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)
-   -   Write errors on compiled templates (https://forum.x-cart.com/showthread.php?t=446)

davb 10-28-2002 10:59 AM

Write errors on compiled templates
 
I just made some text changes in two template files (done it many times before) and now the Smarty Engine won't (or can't) write to the templates_c directory.

I get the message

Warning: Smarty error: problem writing '../templates_c/-11/-1148365713/0.php.' in /home/vitamaxi/public_html/xcart/Smarty-2.0/Smarty.class.php on line 470.

I ran cleanup.php but it does no good.

Anyone have any ideas _ before I jump throught the hoops to re-install?

Thanks

davb

seaCOAST 10-28-2002 11:04 AM

Re: Write errors on compiled templates
 
Quote:

Originally Posted by davb
I just made some text changes in two template files (done it many times before) and now the Smarty Engine won't (or can't) write to the templates_c directory.

I get the message

Warning: Smarty error: problem writing '../templates_c/-11/-1148365713/0.php.' in /home/vitamaxi/public_html/xcart/Smarty-2.0/Smarty.class.php on line 470.

I ran cleanup.php but it does no good.

Anyone have any ideas _ before I jump throught the hoops to re-install?



I had this problem with an older version of X-cart...I believe the fix for me was to delete the templates_c/-11/-1148365713 directory.

ArmyNavy 10-28-2002 11:26 AM

I use Smarty Templates for some other stuff, and what happens for me is that the system has to remake the template if anything has changed.

So, what I do is rename the existing file and the script makes the new one without a prob.

HTH :)

ATKOgirl 10-28-2002 01:17 PM

Hi,

Try running the file cleanup.php in your browser from your main install directory.


:wink:
ATKOgirl


All times are GMT -8. The time now is 11:26 AM.

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