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

file ownership/permissions issues

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 12-16-2002, 03:07 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

From the horses mouth, well the xcart faq anyway ...

Q : While ruuning X-Cart I get the following error messages:
Warning: MkDir failed (Permission denied) in /u/http/user/xcart/Smarty-2.0/Smarty.class.php on line 1366
Warning: Smarty error: problem creating directory "../templates_c/-20/-2087024569" in /u/http/user/xcart/Smarty-2.0/Smarty.class.php on line 470
Warning: Smarty error: problem writing '../temp8lates_c/-20/-2087024569/0.php.' in /u/http/user/xcart/Smarty-2.0/Smarty.class.php on line 470
Warning: Failed opening '../templates_c/-20/-2087024569/0.php' for inclusion (include_path='.:/usr/local/lib/php4/lib/php') in /u/http/user/xcart/Smarty-2.0/Smarty.class.php on line 1003

A : The "templates_c" directory contains cache of compiled templates.
These errors occur because web server has no enough permissions to overwrite temporary cache files in directory templates_c. You probably have copied them while moving X-Cart and these files now do not belong to web server user (httpd or nobody). To fix this issue just remove all your files from that directory. Everything will be recreated by Smarty. Also, this directory must have writeable permissions, which can be achieved by "chmod 777 templates_c" command.
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #12  
Old 12-17-2002, 08:42 AM
 
ryan ryan is offline
 

Advanced Member
  
Join Date: Sep 2002
Location: Philly
Posts: 38
 

Default

I deleted all those files and it works. Thanks

Should these files be deleted every so often? Seems like they are just taking up space.
Reply With Quote
  #13  
Old 12-17-2002, 08:47 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

only gets messy if your updating / editing lots of files.

Once your done working on the site flush the templates_c and then all should be fine and not need empting again.
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #14  
Old 12-17-2002, 09:00 AM
 
ryan ryan is offline
 

Advanced Member
  
Join Date: Sep 2002
Location: Philly
Posts: 38
 

Default

Once I'm DONE?! Ha!
Reply With Quote
  #15  
Old 06-14-2003, 10:53 AM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 477
 

Default

i just installed 3.4.2 and noticed that my skin1 directory is 777 with owner = nobody. I tried to chmod this to 755 but i cannot because of the nobody owner. I cant chown the files either.

what do I need to do to change the permissions? i dont want 777 permissions on these !!!
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 03:25 PM.

   

 
X-Cart forums © 2001-2020