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

Changing Template Design

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-02-2007, 05:49 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Question Changing Template Design

My friend is running 4.1.6 - we just moved his store to the index, and things are working well. He's finally realized that using the reverse template with categories on the right doesn't make sense to his customers and wants to move it back to a regular template.

I changed the file permissions like you do for a new install, go to install.php and select to reinstall skins only. Once I select the skin type and press enter, I get this error:

Copying templates...
Copying skin1_original/payments/cc_payflow_pro.tpl to skin1/payments/cc_payflow_pro.tpl ... [FAILED]


Fatal error: Fatal error occured while creating directories. Please check permissions and try again.
Please correct the error(s) before proceeding to the next step

****

With the store moved to the index folder, is there any other permissions Issues I'm to be aware of, I've gone through those files listed above, and they have the correct permissions - or are they supposed to be set different for reinstalling templates.

Any help would be appreciated.
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #2  
Old 05-02-2007, 05:57 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing Template Design

If you are in the root now, you may need to make your root directory writable.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 05-02-2007, 06:00 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Changing Template Design

Thanks Balinor, I'm not too knowledgable about permissions, so I only change what I know, so can you let me know what setting I should change the root to, and afterwards, what I should change the root back to?
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #4  
Old 05-02-2007, 06:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing Template Design

Depends on your server, but I'd try 766 or 777. Make a note of what it is set to now and set it back to that.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 05-02-2007, 06:20 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Changing Template Design

So I've tried 766, and 777 and 755 on the root directory, and still get the same message - any other ideas
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #6  
Old 05-02-2007, 06:42 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing Template Design

Are each of the sub-folders also writable?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 05-02-2007, 06:54 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Changing Template Design

Yup, the subfolders go to whatever I set the root too - so on those 3 different settings, the subfolders changed too, and I still get the same error.
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #8  
Old 05-02-2007, 07:00 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Changing Template Design

Okay, now I'm completely lost, I just double checked the permissions on the payment/*.pl files, and they were 000 - so I set them to 666 and then I got this message from my ftp program:

550 safetylite.com/payment: No such file or directory

Well, there shouldn't be a directory, because the website is kdlsafetylite - not safetylite - so now I'm completely lost as to what is going on, and why those files had to moved to permission 000

Is there anything else that could have changed or been messed around with moving it to the root directory that I may need to adjust for the templates?
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #9  
Old 05-02-2007, 07:19 AM
 
Josaram Josaram is offline
 

Member
  
Join Date: Jul 2006
Posts: 14
 

Default Re: Changing Template Design

So going back to the skin file error - I find that it keeps defaulting back to 777 - even though every other file is 755 - when I try to make the skin folder set to 755 - it says

Request denied.
Please verify that the file or folder exists and that you have the necessary permissions on the server to perform the requested operation.

So what can be controlling it, I can change permissions on every other folder but this one?
__________________
Jolyn
X-cart gold 4.1.2
Reply With Quote
  #10  
Old 05-02-2007, 07:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Changing Template Design

Did you update the config.php file to remove the sub-directory? Also, what FTP client are you using? And who is the 'owner' of the files, is it apache or root?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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:00 PM.

   

 
X-Cart forums © 2001-2020