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)
-   -   interesting error (https://forum.x-cart.com/showthread.php?t=3952)

jcgg 08-11-2003 09:12 AM

interesting error
 
Hello,

When I edit main/register.tpl, i keep getting an error on customer/register.php:

Warning: Smarty error: problem writing '../templates_c/%%180/%%1802305980/register.tpl.php.' in /blah/blah/blah/xcart/Smarty-2.3.0/Smarty.class.php

does anyone have any idea what causes that? when I opened the file file in the templates_c folder, i noticed a synax error, fixed it, and the error went away, but the update to register.tpl does not take place. The templates_c folder is set up to permissions 777.

So if I try to edit the template again, I get the same error as above. Any ideas what might be causing that? Thanks!

B00MER 08-13-2003 03:20 PM

Have you tried removing templates_c/ and let x-cart/smarty recreate the directory, or issued a clear templates in the summary of the admin?

hht. ;)

jcgg 08-15-2003 05:11 AM

Thank You Boomer,

I did try deleting the templates_c folder, and got a bunch of errors, including this error:

Warning: MkDir failed (Permission denied)

We had changed the permisions for the x-cart folder, is this what could be causing it?

The reason we changed the permissions was because we needed to edit a php file within the include folder, but the user name that owned the files was declared when we set up x-cart.

jcgg 08-15-2003 06:51 AM

Good news, the error went away!

After deleting the templates_c folder, I recreated the folder, set chmod to 777, and then refreshed the website. This must have rewrote that cached template that was creating errors. Thanks for your help!

HockeyGuy 08-16-2003 07:15 AM

The same error happened to me when editing templates.

Deleting the templates_c directory as directed above worked for me too.

Good call.


All times are GMT -8. The time now is 08:51 AM.

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