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

Permission denied when editing templates.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-10-2003, 11:42 AM
 
dadofmany dadofmany is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 8
 

Default Permission denied when editing templates.

Hello all.

I recently re-installed a backup to my x-cart. After installing and then trying to save an editted template I get a "Permission Denied error"

After doing a search in the forum I came up with this topic...

http://forum.x-cart.com/viewtopic.php?t=2789

After reading this I checked my permissions on the template_c directory and it is set to 777. The question I have is the "owner". When I check it thru my sites control panel it shows "owner" as "www" where as the others are set to "chnh12". Do I want owner to be "chnh12" with all the others or something else? I was able to edit templates with the back up file previously and I can still do everthing else thru the admin site.

Thanks
Dave
Reply With Quote
  #2  
Old 06-10-2003, 11:47 AM
  shan's Avatar 
shan shan is offline
 

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

Default

it may be that the files in the skin1 directory now have a permission value of 644, change this to 666 and you should be good to go.
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 06-10-2003, 12:09 PM
 
dadofmany dadofmany is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 8
 

Default

Hi Shan

The permissions in the skin1 dir were set to 777.
I set them to 666 and the skin would not even come up.(white screen)

Any other suggestions?

Dave
Reply With Quote
  #4  
Old 06-10-2003, 12:12 PM
  shan's Avatar 
shan shan is offline
 

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

Default

did you set the folder to 666 or the template files .tpl ?

skin1 folder to 777, template files to 666
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 06-10-2003, 12:21 PM
 
dadofmany dadofmany is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 8
 

Default

skin1 is at 777
Do you mean template_c is to be at 666?

Thanks
Dave
Reply With Quote
  #6  
Old 06-10-2003, 12:27 PM
  shan's Avatar 
shan shan is offline
 

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

Default

no,

skin1 folder set to 777
template files inside skin1 dir set to 666 (ie help.tpl)
templates_c folder set to 777

you shouldnt need to worry about the templates_c directory.

The files that you edit are in the skin1 directory and then xcart compiles them and stores them in templates_c directory
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #7  
Old 06-10-2003, 12:40 PM
 
dadofmany dadofmany is offline
 

Newbie
  
Join Date: Mar 2003
Posts: 8
 

Default



Thanks Shan that did it.

I was "assuming" that those changed with the dir folder options.

Dave
Reply With Quote
  #8  
Old 06-27-2003, 03:39 AM
 
Thingfish Thingfish is offline
 

Member
  
Join Date: Feb 2003
Posts: 10
 

Default

Quote:
skin1 folder set to 777
template files inside skin1 dir set to 666 (ie help.tpl)

How about the folders inside skin1 (admin, buttons, customer etc) and the tpl file inside those. Do file permissions need to be set there too?
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:24 AM.

   

 
X-Cart forums © 2001-2020