PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 8:29 am Reply with quote Back to top

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?
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Mon Oct 19, 2009 9:02 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 9:19 am Reply with quote Back to top

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
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Mon Oct 19, 2009 10:20 am Reply with quote Back to top

If you change the permissions to 777 it still will not upload?
View user's profile Send private message Send e-mail Visit poster's website
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 10:37 am Reply with quote Back to top

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?
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1435
Location: North Carolina

PostPosted: Mon Oct 19, 2009 10:41 am Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
jakec
Site Admin


Joined: Feb 06, 2006
Posts: 3028
Location: United Kingdom

PostPosted: Mon Oct 19, 2009 10:55 am Reply with quote Back to top

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
View user's profile Send private message
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 11:14 am Reply with quote Back to top

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
View user's profile Send private message
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 11:51 am Reply with quote Back to top

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6299
Location: Vsetin, Czech Republic

PostPosted: Mon Oct 19, 2009 12:18 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
rickleigh
Worker
Worker


Joined: Jan 06, 2009
Posts: 183

PostPosted: Mon Oct 19, 2009 12:50 pm Reply with quote Back to top

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.


Laughing Ok, Thanks Guardian
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16976
Location: Kansas

PostPosted: Tue Oct 20, 2009 12:42 am Reply with quote Back to top

You might also read up on suExec here:
Only registered users can see links on this board!
Get registered or login to the forums!
. 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
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum