Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Can't seem to add images to my emails.
Previous Page
Author « Topic »
Page: of 2

insight
ECT Moderator

USA
4476 Posts

Posted - 10/08/2019 :  12:27:37  
quote:
It should be rwxrwxrwx

No, it shouldn't, please don't do this .



Disclaimer: I'm allergic to cPanel, we don't use it at all, but CHMOD 777 isn't necessary in our environment and really shouldn't be necessary anywhere else that is properly managed with security in mind.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Vince
Administrator

42470 Posts

Posted - 10/08/2019 :  12:50:26  
I'm not sure why Peter says different as there isn't really any explanation there, but generally, you need permissions for the anonymous web users to be able to write to the disk and that involves giving the directory 777 permissions. But in any case, it doesn't seem to have solved this problem so set them back if it doesn't help.
But looking again at the error message it says it is trying to move the file to...
/home/jnolan/public_html/prodimages/canoe.png
But it looks like your store is in boxoffice...
/home/jnolan/public_html/boxoffice/vsadmin/
Could you try creating a prodimages directory in the site root if it's not already there and try again. Try the 777 permissions if it doesn't work with the standard 755 directory permissions.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 10/08/2019 :  13:16:34  
Yes, Vince, I did create a prodimages directory in the site root, but that didn't help.

However, making sure the name of file I was uploading didn't match a file that was already in that directory did work.

Vince
Administrator

42470 Posts

Posted - 10/08/2019 :  13:46:51  
Hi John
I'm glad to hear we have a resolution. Out of interest, did you need the 777 permissions? Set them to 755 if not as that is more secure.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

John Nolan
Advanced Member

Canada
406 Posts

Posted - 10/08/2019 :  13:59:21  
The permissions didn't seem to help, so I'll set them back.
Page: of 2 « Topic »  
Previous Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000