Hello There, Guest! (LoginRegister)
This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Latest Releases: Plugin Uploader - Cookie Law - Karma Stars

Latest Updates: Karma Stars 1.0

Follow @mattrmybbmods on Twitter for info on releases and updates

Not Solved Plugin Uploader FTP Question


24-04-2012, 02:12 AM
Post: #1
Not Solved Plugin Uploader FTP Question
I am installing on my home server built from UBuntu Server 11.10.

Is there a way I can change my PHP permissions, rather than install and configure an ftp client.

I have installed vsftp but it is taking time to configure.

Thanks
Quote Top
26-04-2012, 05:25 PM
Post: #2
Not Solved RE: Plugin Uploader FTP Question
I have tracked down a certain clue regarding the function move_uploaded_file(), and found a howto for enabling uploads to /var/www/uploads.

I examined /inc/plugins/pluginuploader.php but couldn't find that particular function invoked. I would guess that what I have to do is change the permissions on a certain folder in a similar way.

My situation is that I need to do my work of rebuilding from scratch on a home server because the commit time for changes made is quicker than for rented server space; there is a large amount of rebuilding work!

Your file is large and I haven't so far found the commands and the directories worked with. Any clues would be very much appreciated.


Quote:Permissions? The "www-data" user that Apache runs as must be able to write the file to /var/www/upload. Try this:

Code:

cd /var/www
mkdir -p upload
sudo chown root.www-data upload
sudo chmod 0770 upload

This should let the Apache "user" write files into the upload directory.

Notice that I've limited rights to that directory to just root and members of group www-data. Other users cannot see the uploaded files. You might prefer 0775 permissions on upload to let other users see those files.
Quote Top
26-04-2012, 11:23 PM
Post: #3
Not Solved RE: Plugin Uploader FTP Question
Apologies for the delay, I'll take a look into this this evening Smile

Download My Plugins
My Personal Site - Twitter - Facebook
MyBB Support Team Lead.
Quote Top
27-04-2012, 01:01 AM (This post was last modified: 27-04-2012 01:53 AM by gs1.)
Post: #4
Not Solved RE: Plugin Uploader FTP Question
I am also working away at configuring proftpd, it has some more useful looking options compared with vsftpd.

For example there is a virtual server option and I do have evrything in /var/www and not in a home directory.
Quote Top
29-04-2012, 12:25 AM
Post: #5
Not Solved RE: Plugin Uploader FTP Question
I have two workaround strategies I am pursuing. One is is that I have rigged an old file system up with a new database; and that of course has plugins already in that file system that need only to be activated. My problem is that I lost IE functionality at some point, with the old install and wish to retrace my steps, as it were. Once I have got this present test installation how I want it, I can then merge it with the existing roll of members, posts, and forums whilst copying database tables over as necessary.

Another strategy that I might pursue, especially if I fail with the first line of attack is to replace the Ubuntu LAMP stack with a Centos 6.2 stack. It is possible that your plugin will work out of the box in that operating environment.

The installation where your plugin did work out of the box was a RHEL one and I believe I could expect a CENTOS lamp install to have the same or similar settings for apache2 or PHP.
Quote Top
02-05-2012, 11:05 PM
Post: #6
Not Solved RE: Plugin Uploader FTP Question
I was able to discover that a plugin providing the WYSIWYG editor functionality broke the installation for Internet Exploder.

ON the second point of deploying the CENTOS stack instead of the Ubuntu one, if I proceed with that, I will let you know if Plugin Uploader works out of the box. Of course if you have any knowledge in this regard, that could encourage me to go for a CENTOS stack.
Quote Top




Forum Jump:


User(s) browsing this thread: 1 Guest(s)