517 Posts in 280 Topics by 221 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1159 Views |
-
SS requiring permissions 777 to upload

31 August 2010 at 3:45pm
Hey all,
getting some odd behavior when uploading in SS.error move_uploaded_file()
works fine when setting permissions to 777
wondering if any one else has experienced this and if they have suggestions on fixes. It's not my server set up so hard to give details, but I know other SS installs on the same server upload fine. So I don't think it's related to swfupload, htaccess looks standard, I can't see any other configuration details that may be causing this....
-
Re: SS requiring permissions 777 to upload

1 September 2010 at 11:28am
Nope looks like it was some noob using dataobject_manager and image_gallery. Upgrading everything, looking like its going to fix the upload issues
-
Re: SS requiring permissions 777 to upload

3 September 2010 at 10:53am Last edited: 3 September 2010 1:26pm
NOPE rebuilt the whole site, upgraded all the modules, works fine locally. Doesn't seem to want to work on mellonsbay.school.nz. Every time I upload a new file it gets to the database but the file reference returns as assets/new-image.... I'm lost
-
Re: SS requiring permissions 777 to upload

3 September 2010 at 11:05am
OK turning on degugging, returns
Trying to get property of non-object
return isset($img) ? $img->CroppedImage(50,50)->URL : $file->Icon();So some issue with dataobject manager
(haven't need to do that for a while out of practice, should have done it to start with) -
Re: SS requiring permissions 777 to upload

3 September 2010 at 1:36pm
..... WTF, I'm still no closer to solving this.
Tamper data is telling me 302 error when I try and upload on this URL
http://www.mellonsbay.school.nz/admin/EditForm/field/Gallery/item/12/DetailForm/field/Image/EditFileForm -
Re: SS requiring permissions 777 to upload

8 September 2010 at 3:46pm
OK I THINK (not sure) that who ever created this site to begin with might have been logged in as root.... I think the issue is in the file ownership of core files. Don't have shell access to amend this. So I'm going to try destroying the account and recreate it, then see how it goes.
Man this issue has stumped me.
-
Re: SS requiring permissions 777 to upload

19 November 2010 at 1:43pm
>>works fine when setting permissions to 777
I think it will be wise to change the ownership of the assets folder, and its contents to apache user of your system.
-
Re: SS requiring permissions 777 to upload

19 November 2010 at 1:44pm
also try reading your servers error logs
if you are on linux
try
tail -f /path/to/your/error/log
| 1159 Views | ||
|
Page:
1
|
Go to Top |


