Ken Posted March 25, 2014 Report Posted March 25, 2014 On 3/25/2014 at 2:19 PM, CubicWebs said: They are per customer only. No-one else except the admin and the customer can see files on their account. I'm thinking he might mean he'd like to have documents that he'd like to not have available to the customer but still have associated with the customer.
Alexander Orlov Posted May 7, 2014 Report Posted May 7, 2014 Would it be possible to have a email sent out once a document has been added to a customers documents list though this plugin?
Dominick Posted June 6, 2014 Report Posted June 6, 2014 I am getting this error: The file could not be written. I have set up the uploads folder in Settings - system - general and the script displays they are writable, what am I doing wrong? velaware 1
velaware Posted June 6, 2014 Report Posted June 6, 2014 On 6/6/2014 at 1:35 PM, Dominick said: I am getting this error: The file could not be written. I have set up the uploads folder in Settings - system - general and the script displays they are writable, what am I doing wrong? make sure the path is absolute not relative.
Michael Posted June 6, 2014 Report Posted June 6, 2014 On 6/6/2014 at 1:35 PM, Dominick said: I am getting this error: The file could not be written. I have set up the uploads folder in Settings - system - general and the script displays they are writable, what am I doing wrong? Ensure the folder has been created. uploads/1/client_documents/ it must have 777 on that folder too
velaware Posted June 6, 2014 Report Posted June 6, 2014 On 6/6/2014 at 4:18 PM, Licensecart said: Ensure the folder has been created. uploads/1/client_documents/ it must have 777 on that folder too No, it better not have 777 permissions. That means EVERYONE can access it. It should have 775 or 755 depending on the server requirements, which you can view by doing ls -liha and seeing what other folder's permissions are. If you need to 777 anything, then it wasn't coded or configured right.
Michael Posted June 6, 2014 Report Posted June 6, 2014 On 6/6/2014 at 4:20 PM, secforus_ehansen said: No, it better not have 777 permissions. That means EVERYONE can access it. It should have 775 or 755 depending on the server requirements, which you can view by doing ls -liha and seeing what other folder's permissions are. If you need to 777 anything, then it wasn't coded or configured right. It shouldn't be in the public view it should be outside public_html and a location in the settings. Eg: Uploads Directory /chroot/home/lcadmin/licensecart.com/uploads/ It's not in the /chroot/home/lcadmin/licensecart.com/html/ folder on cPanel it would be: /home/lcadmin/uploads/ not /home/lcadmin/public_html/uploads/ If it's not 777 you can't upload to it, nor can the server. PauloV 1
velaware Posted June 6, 2014 Report Posted June 6, 2014 On 6/6/2014 at 4:33 PM, Licensecart said: It shouldn't be in the public view it should be outside public_html and a location in the settings. Eg: Uploads Directory /chroot/home/lcadmin/licensecart.com/uploads/ It's not in the /chroot/home/lcadmin/licensecart.com/html/ folder on cPanel it would be: /home/lcadmin/uploads/ not /home/lcadmin/public_html/uploads/ If it's not 777 you can't upload to it, nor can the server. From a security standpoint there's never a good reason to 777 anything, especially on a machine that is accessible from the Internet. If you have Blesta installed at /var/www/blesta/ then put the folder in /var/uploads and set the ownership to webserver user and group, bam...no more need to 777 it. PauloV 1
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now