Author |
Message |
rickleigh
Worker
![Worker Worker](modules/Forums/images/ranks/3stars.gif)
![](modules/Forums/images/avatars/gallery/blank.gif)
Joined: Jan 06, 2009
Posts: 183
|
Posted:
Mon Oct 19, 2009 8:29 am |
|
Found another issue with my editor after my host upgraded their php ver.
I was trying to upload a new image and when I hit the upload button it just quickly refreshes the screen clearing out the file I have chosen to upload.
When looking for the file I just tried to upload it isn't there.
So...sense I was having trouble with the editor after they updated the php ver. I can only think that there is still a config option that they need to change to allow this.
Can anyone provide what needs to be active in PHP for the editor to upload files so I can pass it on to my host? |
_________________ Thanks,
Rick Leigh |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
RavenNuke(tm) Development Team
![](modules/Forums/images/avatars/3234de284ee21bd39eecd.jpg)
Joined: Mar 11, 2007
Posts: 2024
Location: North Carolina
|
Posted:
Mon Oct 19, 2009 9:02 am |
|
Have you turned on error reporting and checked you permissions in the uploads directory? I know probably have, but it never hurts to be sure. |
_________________ Only registered users can see links on this board! Get registered or login! |
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 9:19 am |
|
nuken wrote: | Have you turned on error reporting and checked you permissions in the uploads directory? I know probably have, but it never hurts to be sure. |
Yep, Perms are set at 755 and nothing showing in logs |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 10:20 am |
|
If you change the permissions to 777 it still will not upload? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 10:37 am |
|
nuken wrote: | If you change the permissions to 777 it still will not upload? |
If its set to 777 it will upload, but I thought perms 775 was the setting it should be at? |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
nuken
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 10:41 am |
|
I'm sure someone on here can answer this better than I can, but I have had some hosts that will only upload under 777 and some that will work with 755. I have no idea why. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
jakec
Site Admin
![](modules/Forums/images/avatars/502a2d1345d88a86ddb4a.png)
Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Oct 19, 2009 10:55 am |
|
You need make the permissions as restrictive as possible, so the lower the numbers the better, but it really is host dependent as you have found. Unfortunately sometimes it is a bit trial error. ![Sad](modules/Forums/images/smiles/icon_sad.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 11:14 am |
|
Well they have always work with it set to 755 until they upgraded the php ver. So I will send a support ticket and see if they can set it back for that. ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 11:51 am |
|
Here is what my host had to say:
Host Message wrote: |
Rick,
This is not a factor on the server. I have double checked this and 755 for folders and 644 for files is still what they should be. Nothing has changed in terms of that.
|
So..I don't know again what else would have changed other then their update. ![Evil or Very Mad](modules/Forums/images/smiles/icon_evil.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Guardian2003
Site Admin
![](modules/Forums/images/avatars/125904890252d880f79f312.png)
Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Mon Oct 19, 2009 12:18 pm |
|
If your host was using Suexec - that likes folders to be 755 and usually throws a fit if the are higher but I wouldn't worry over it too much to be honest. I have a load of folders CHMODed to 777 because I'm too lazy to see if a lower value will still allow script access, never had a problem. |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
rickleigh
![](modules/Forums/images/avatars/gallery/blank.gif)
|
Posted:
Mon Oct 19, 2009 12:50 pm |
|
Guardian2003 wrote: | If your host was using Suexec - that likes folders to be 755 and usually throws a fit if the are higher but I wouldn't worry over it too much to be honest. I have a load of folders CHMODed to 777 because I'm too lazy to see if a lower value will still allow script access, never had a problem. |
Ok, Thanks Guardian |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
Raven
Site Admin/Owner
![](modules/Forums/images/avatars/45030c033f18773153cd2.gif)
Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Tue Oct 20, 2009 12:42 am |
|
You might also read up on suExec here: http://www.ravenphpscripts.com/forum180.html . 755 and 644 should always work if using suExec.
Your host decides whether or not to set it up for a 500 Internal Error or not if the perm's are set any higher. Guardian, if your host changes his configuration, you will know right away ![Wink](modules/Forums/images/smiles/icon_wink.gif) |
|
|
|
![](themes/RavenIce/forums/images/spacer.gif) |
|