Plugin Uploader FTP Question - Printable Version
+- MattRogowski's MyBB Plugins (http://mattrogowski.co.uk/mybb)
+-- Forum: Plugins and Support (/forum-3.html)
+--- Forum: Plugin Uploader (/forum-14.html)
+--- Thread: Plugin Uploader FTP Question (/thread-330.html)
Plugin Uploader FTP Question - gs1 - 24-04-2012 02:12 AM
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.
RE: Plugin Uploader FTP Question - gs1 - 26-04-2012 05:25 PM
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:
RE: Plugin Uploader FTP Question - MattRogowski - 26-04-2012 11:23 PM
Apologies for the delay, I'll take a look into this this evening
RE: Plugin Uploader FTP Question - gs1 - 27-04-2012 01:01 AM
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.
RE: Plugin Uploader FTP Question - gs1 - 29-04-2012 12:25 AM
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.
RE: Plugin Uploader FTP Question - gs1 - 02-05-2012 11:05 PM
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.