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

xcart5 ---trouble?

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 12-25-2016, 05:21 PM
 
hawk hawk is offline
 

Senior Member
  
Join Date: Jul 2009
Posts: 114
 

Default xcart5 ---trouble?

You have to change LOTS (most?) of permission setting?
__________________
xcart5
Reply With Quote
  #2  
Old 12-25-2016, 08:40 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: xcart5 ---trouble?

Some hosting providers require you to create files and directories under your personal account and restrict them for anyone else. Others require files to be writeable by some kind of an "apache" user.

There are general instructions, but you should consult with your hosting provider what are the secure file permissions for your server.

One more thing to consider is that when upgrading X-Cart 5 overwrites files on the server, so the user that runs PHP scripts must have enough permissions to do so.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
  #3  
Old 12-25-2016, 09:09 PM
 
hawk hawk is offline
 

Senior Member
  
Join Date: Jul 2009
Posts: 114
 

Default Re: xcart5 ---trouble?

I mean that you have to change/limit all the permission for files in xcart directory?
such as from 777 to 755?
__________________
xcart5
Reply With Quote
  #4  
Old 12-26-2016, 09:40 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: xcart5 ---trouble?

It depends on your hosting provider and the server configuration.

For a better security you should consult with your server administrator on what file permissions should be set to allow PHP scripts overwrite files of X-Cart 5 files during the upgrade routine, but prevent other users on the same shared server from viewing or changing these files.

Some servers use your user account - on these 755 for directories and 644 for files should work. Others run PHP scripts as an "apache" users - on these you may need to set the permissions to 775/664 or 777/666.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


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 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 05:14 AM.

   

 
X-Cart forums © 2001-2020