This project is discontinued, please use any other file manager options from wordpress plugins list
135 thoughts on “wp-filemanager”
Ryan
I keep getting this message. “Invalid home folder.” Am I doing something wrong? I just want to change the default directoury to “/wp-content/uploads/”.
Hello and thank you for your plugin.
I have opened an editor profile for my friend not for a security matter but because he has the less options as possible so that he is not lost when he opens the back office once in a while.
Nevertheless I would need him to manage himself his uploads.
No way to grant him the access as an editor please ?
Thank you. Best Regards.
That is something i am wishing to transform this into but lack of time or what could i say having a large array of work dispersed all over web leaves me with so much laziness that i am not able to work this one out.
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
I want to be able to delete files using FileManager, but it doesnt exist as an option in the file list screen. I checked the configuration, and check the box to enable it, but nothing. Any help?
I am also getting the error:
Fatal error: Call to undefined function: get_option() in […]/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
An easy fix for the download issue..while not a permanent one it will get it functioning but it will render configurations in the admin panel useless. Open conf/config.inc.php and comment out all instances of get_options. There a several if/else statements that contain it so you will need to decide whatever option values you want and leave those variables defined as either true or false and comment the rest of the if/else out. Then as if magic had occured..the downloads will work
I’ve the same trouble on download:
Fatal error: Call to undefined function get_option()
The trouble is because download proxy page “/wp-filemanager/incl/libfile.php” include config.ing.php page. In config file you use get_option but noone include that wordpress feature.
I fix it bypassing config into libfile. If you fix it please say it.
Hi All,
First of All i would request a serious appology for the errors all are facing.. right now you can use the workaround suggested by andrew i am in a process of fixing the error once and for all however due to other priorities in my life i am stuck with being not so productive.
Will update next once i do a new version release with all bug fixes
Hi,
First of all – this is fantastic plugin, thanks very much! I would need little bit of help though. When adding a file, you can select on which website the file will appear (by selecting POST ID) – is there any way to restrict that page/post treeview to list only certain pages (in my case only two pages)? Any advice will be much appreciated.
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
Hello Anant. Thanks for plugin.
Please write version in description in next version
/wp-fileman.php
Example:
/*
Plugin Name: WP-Fileman
Description: FileMan for WordPress allows you to easily change, delete, organize and upload files.
Author: Anant Shrivastava
Author URI: http://anantshri.info
Version: 1.2.6
*/
If you not write wordpress warns about updates, even when i have last version.
And maybe, you should save plugin configuration in database in other way this information be delete after plugin update.
It’s a great plugin, except that the view image feature malfunctioned whenever I attempted to view any graphics file. It would show a broken image icon instead.
how to solve urgent
I am facing the issue of not being able to download because of getOption(). Is there any way to fix this without having to lose configurations in the admin panel?
Installation
1.Upload wp-fileman folder to the /wp-content/plugins/ directory.
2.Change the home location for filemanager in conf folder conf/config.inc.php under $home_directory.
3.Activate the plugin through the ‘Plugins’ menu in WordPress.
4.Check under the admin section last menu in sidebar will be FileManager.
I’m not sure how to do it under : ” Change the home location….” Can you tell me exactly what I have to do ?
I can see the file config.inc.php in my computer under C:/wp-fileman/conf
I have upload wp-fileman folder to the /wp-content/plugins/ directory.
I have activate the plugin and can see FileManager on sidebar on the last menu.Then in wordpress I go to Filemanager -> Configuration -> Filemanager Default Home Location -> here I taste the follow :
Hello, Might be a dumb question… What is the largest file that I can upload? I am trying to give away large sized graphics on my site and it won’t upload. I have tried compressing, reducing file size, etc. but it still doesnt like it!
The WP-Filemanager program has a conflict with the Advanced Access Manager. When AAM is installed, WPFM will not display any files and defaults home to the AAM folder and is unchangeable. I would love to use these two plugins together. Any ideas?
Another problem as well. When I disabled the Advanced Access Manager (as explained above), now I get this error in the left pane:
Warning: stristr() [function.stristr]: Empty delimiter in xxxxx(replaced path)xxxxxx/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 218
Hi,
I started to use your plugin and its really great.
Compared it to the filebrowser: http://wordpress.org/extend/plugins/filebrowser/
Yours is much prettier and handier to use.
If you could enhance it with the file-permission handling it would nearly be perfect. The zip/unzip is not so important for me.
Is there any chance, that you implement the file permissions into your plugin?
Thanks,
Udo
On all my WordPress installations (3.4.1) the download button on WP-Filemanager (1.3.0) gives a garbled output (with the download link at the bottom of it all). Is it just my installation or are other people suffering this as well?
Is there a way to fix this?
this looks like first time to me. Let me try to simulate the scenario on my home machine. BTW i am working on a maintenance release so will be out in few days you can wait for say 1 week or so. otherwise if you are experimental enough you can look at the svn and download the latest trunk and try it out.
Installation is successful without error but i still not find this into my webpage?? what i want in my site user’s can upload files as well as other users can download files.
@dushant, The plugin is intended for andministrators to administer the whole website at php level.
its not meant to be used for upload and download purposes.
For the file: wp-filemanager/incl/download.inc.php
I commented out all the lines (9,38,39,41) of header() code and that has stopped the header errors.
I also commented out the readfile() code (line 43) and that fixed the garbled output.
Hope that helps.
Fab plug-in. I want to use it fro my users and set the folder to an area where they can’t do ant harm. Is there a way – a shortcode maybe – where I could embed this in a standard page? Of course what would be good I suppose is to configure it for each user type but this would be a lot of work so in the meantime any chance of a shortcode?
I love this plugin! i have a questions because I want the same functionality for my users, which I thought I could control by specifying the start directory. SDo i wondered if there is a way of using a shortcode in a page to offer this functionality to my non-admin users. I realsisde that you have said previously it’s meant for admin but the interface is well done and very usable – more than existing user file upload plug-ins.
The problem obviously comes from the fact that really one may have a differnt set of configuration requirements for each user type. however as a start could you consider providing a shortcode?
I may have already sent this question but as it doesn’t show on eth list on this page I have assumed that it didn’t arrive for some reason. Apologies if you moderate and have therefore got two versions of this request.
just downloaded this plugin so I can create new page templates in my theme without using ftp. It says not tested in WP 3.4.1 but still works great for creating and deleting files. The view and edit options are missing but I can use the theme editor for that
Hey Anant, great plugin. I have run into some issues, though, and while I’m going to fix them on a local copy of the plugin, I was wondering if you’d experienced the problem yourself or knew of an easier way to fix it. Here goes:
I’ve got WP-FileManager installed and working (in general) fine. I can create folders, upload files, etc. The problem comes when I try to rename the file: I get the following error: “Renaming of file failed. This might be caused by insufficient permissions or an invalid filename.” I’ve tried this on three systems, including Windows and Ubuntu. The Ubuntu system has the web root and all children being owned by the www-data user / group, with 770 permissions. The Windows user… I’m able to upload files, so I should have full permissions as well.
Hello Anantshri,
Thanks for a great plug-in!
Just wanted to share some problems, and solutions.
I got this message in the top of the window:
: ” Warning: is_dir(): open_basedir restriction in effect. File(../..) is not within the allowed path(s): (/home/www/sites/www.wp-renaremark.se/root/:/usr/lib/php5/:/tmp/) in /home/www/sites/www.wp-renaremark.se/root/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php on line 40″
/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php.
This fixed change in filebrowser.inc.php fixed it:
There was also a problem in the viewer, this fixed it
:
— view.inc.php.orig 2012-08-27 09:13:22.888822204 +0000
+++ view.inc.php 2012-08-27 09:14:05.221322213 +0000
@@ -34,6 +34,7 @@
if ($open = opendir($home_directory.$wp_2_fileman_path))
{
while ($file = readdir($open))
+ if ($file !=”..”)
if (is_file($home_directory.$wp_2_fileman_path.$file) && is_viewable_file($file))
$files[] = $file;
closedir($open);
Is access to this plugin limited to the “admin” role? I’ve setup other roles in “Advanced Access Manager” and “FileManager” doesn’t show when logged in as those other roles.
Warning: readfile() [function.readfile]: Filename cannot be empty in /home/content/XX/XXXXXXX/html/XXXXX/wp-content/plugins/wp-filemanager/incl/download.inc.php on line 43
I cant do anything. Do I need to uninstall and install the whole WordPress?
I’ve installed file manager and i have this problem… My files in the related directory I want to manage.. don’t appear properly because my files have greek names greek characters.. unfortunately i have to keep these names.. so what can i do?where can I declare greek encoding? please help!
I want to say first that I don’t have an FTP access to a WordPress site I am handling right now so I was really hopeful I can use this plugin to download files. Tried it but failed. All the files I downloaded using the plugin are 0 bytes. I thought it has something to do with permissions but then I tried using it locally. Still didn’t work for I don’t know reason. The files are 0 bytes or read-only.
Please tell me the solution to this sir. Thank you!
Installed and activated File Manager. Tried to delete a plug-in and got this message:
Warning: unlink(../wp-content/plugins/gravityforms/images/gravity-settings-icon-32.png) [function.unlink]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 21
Warning: rmdir(../wp-content/plugins/gravityforms/images/) [function.rmdir]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 27
Deleting of folder failed.
This might be caused by insufficient permissions.
I have a few sites on 3.5.1 and when I install the plugin it doesn’t allow me to view or edit the files. The columns are there on the file manager display but there are no icons next to the files for those functions. I have tried to go to the config screen and the view and edit functions are “allowed” so I don’t know why it isn’t working?
Hi Everyone, Thanks for the patience, a new version is released which should solve all the errors encountered. I will try to see if i can fit some new features in next releases onwards.
Hi, in order to see the edit icon and other icon’s you need to enable them first time in file manager configuration. also you need to specify the file extensions that you want to edit. all of this is visible inside the filemanager config section.
I don’t know what the plug in is looking for when it asks for the home directory in the configuration. I have the name from my host, but no variation on that that I can think of works. It looks like maybe you answered this question for someone else between comments 31 and 32, but you did not post an answer here where others can see it.
Its generally a relative path in terms of the plugin location. it will be best for you if you set it to ./ and see what files are visible. if you want more visibility you can increase by setting home to ../ for setting it above this directory value would be ../../ and so on.
Hope this help.
Note : will see if i can put some example text to make life easier from next version onwards.
Edit Note : ./ will place you in wp-admin folder and ../ will place you in same folder as your wordpress directory based on this info you can decide a relative path you want to use.
Hi Anant.
Please update /incl/filebrowser.inc.php with the correct extension/filename pickup.
If you have a file that has more than one dot in the file name (like filebrowser.inc.php) it does not show it correctly in the file manager. It just shows the first part of the name because it lists only the first element of the exploded array as a file name and the second element as extension.
you can take a look at pathinfo() for correct filepath values.
Thanks for this great plugin.
../ will bring you one directory up and so the path should be.
../wp-content/themes/twentytwelve/ if you want to keep your theme directory as home place. however ../ could also be used which will allow home directory to be same as wordpress directory.
However if you only want something to edit your theme its better to use built in wordpress theme editor rather then a different plugin.
Client’s website uses your plug-in, latest version just updated. WordPress 3.5.1
I went to Configuration, checked all of the boxes, but when I then use File Manager to access file tree, the “Vw” and “Ed” columns are blank – no icons, and I can’t view or edit files.
Besides checking the boxes you need to also set extensions that you want to be edited or viewed. the option to set file extension list is just below the checkbox configuration.
We’ve noticed an issue that seems to occur only in Firefox. If a file that is uploaded with spaces in it (Example: My Download File.pdf), then when someone using Firefox (Win/OS X, versions 19 and up) then the file does not download properly. Instead, it downloads as “My” with the rest of the file name truncated.
WP-Filemanager allows me to modify my .htaccess file residing within wordpress hosted on an Amazon EC2 Instance.
What a relief that I can modify files using the same permissions as the user running the app.
I modified .htaccess with https://github.com/h5bp/server-configs-apache/blob/master/.htaccess.
Thank you for this plugin. Makes it easier to work with my configurations.
I’m trying to update my multisite wordpress from 3.6.1, to 3.7.1 and it shows to notice errors:
Notice: Undefined index: action in /srv/www/XXXXX/YYYYY/wp-content/plugins/wp-filemanager/wp-filemanager.php on line 65 Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /srv/www/XXXXX/YYYYY/wp-includes/functions.php on line 3017
Is this a problem with 3.7.1? Has it any solution?
This is in my list of to do items will work on this release.
BTW the error will go away if you disable php errors and the plugin should work just fine for now.
But yes this needs to go and will be taken care in next release.
I enjoy your plugin which solved my problem 😀
However, when I upload a file which name already exists in the destination folder, the old file (with the same name) is overwritten by the new. I would like to keep all files (by automatically changing the name : for example toto.html become toto1.html) without overwrite them.
I ask you in my bad english only if is possible to add the simple “link” on the name of file for open the file, the computer that you use select the program for open it.
Sorry for disturbe i have ask you this another time.
While I am not a ‘noobie’ I do have significant memory problems. For that reason, I document A LOT. I created my own copy of the FileMamager readme file to remind myself of solutions for future reference. It starts with the following ‘Notes to Self”. I keep these ‘Notes to Self’ at the top of my edited readme file to 1) preserve the integrity of your (or anyone else’) original work and 2) because often when I forget, the same questions usually arise, therefore, my notes are easy to find. I consider this information critical to noobs and other forgetful people like myself. Some of it might be worth considering for inclusion in your FileManager plugin readme file.
Please feel free to copy or alter as needed if you feel this is of value to include.
=> NOTES TO SELF It is best to use ‘../’ or whatever is the best directory navigation designation to reference the home directory of your WordPress site.
=> NOTES TO SELF It is best to use ‘../’ or whatever is the best directory navigation designation to reference the home directory of your WordPress site.
Downloading and uploading File Manager files under a new name does not make them editable. To make them editable, you must
1) Download the file to be edited.
2) Copy the File Manager file contents to the clipboard.
3) In File Manager, create a new file with a new name.
4) Paste the contents of the clipboard into the new file.
5) Save.
6) You may then edit the new file to your heart’s content.
Thanks Charles for the comment. It would be great if you do create a blog post about your experience with wp-filemanager and i will make sure to link it here.
Also thanks for letting me know about the quarks if it is possible i would try to ease the efforts required. But i think the major problem regarding file editing might have something to do with your file permissions.
Anantshri, After thinking about you Blog suggestion, I submitted the following suggestion to WordPress.org under ‘Requests and Feedback’. Maybe this will help all author’s support efforts? Please tell me what you think.
*****
I think it might be better on the page, http://profiles.wordpress.org/UserName, when a User selects ‘Favorites’, reverse the columns ‘My Activity’ and ‘My Favorite Plugins’.
Under the left hand column, ‘My Favorite Plugins’, list the ‘My Favorite Plugins’ in an alphabetical vertical list with ‘Show All Activity’ as the first item in the list. If a User clicks on the ‘Show All Activity’ link in the left column, ALL of the Users’ activity is listed in the right hand ‘My Activity’ column, as is currently shown. If a User clicks on a Plugin Name in the left column, only the User’s ‘My Activity’ for that Plugin is shown in the right ‘My Activity’ column.
Add a third column, ‘Resolved’ on the far right of the ‘My Activity’.
In the Support Forums, if an Author denotes a thread in his support forum as ‘Resolved’, that “Resolved’ designation becomes a link to the User’s http://profiles.wordpress.org/UserName page.
In this way, a User’s Profile Page then becomes a readily accessible Support Blog for the resolved issues.
I have constructed a 75 kb jpeg to illustrate this proposed new format if you are interested in seeing it.
Best Regards.
anantshri
I agree Charles, this can help. I will chip in on the discussion thread you created.
Hi Kisse,
I would personally rate this plugin for advance to expert level user, using this plugin without knowledge of HTML or much about computers you have more chances of messing things up then making it right.
Kisse, Editing your WordPress files can easily and permanently DESTROY you site if you do not know what you are doing. Also, if you change any of the files and then update to a later version of WordPress or the theme you are using, you will lose all of your changes. consequently, a plugin like FileManager better serves those who are developing new themes they are writing from scratch or using a current theme as a base to work from and have no intention of updating the original theme with new releases. In that case, their edited files become a new theme all together and in turn get modified with its’ own updates. I would recommend that you start with something like the plugin, Child Themify and keep a copy of your changes in a Text (.txt) file. At most you will be placing modifications in one of two files, most changes will probably be in the child themes’ style.css file, which is used to define the appearance such as borders, color, fonts, etc, Other features that you change or make available through coding (which you say you do not know much about) would go into the second file called functions.php. Then, if you break your site and don’t know how to repair your modifications, you can always delete the contents of your child themes’ style.css and/or fnctions.php files and start over. By the way, these are both simply text files that end in .css or ‘php and instead of keeping a copy of your changes in a .txt file, you could work from copies of these two files. This way nothing is lost or irrevocably broken, at least until you get a much better working knowledge of how to write and alter code snippets. I hope this helps.
I’ve installed wp-filemanager plugin, everything seems working normally,
but i can’t find wp-content folder,
i’m suppose to find a png file inside,
please help me.. blackseries307@gmail.com
thanks
can you please check the home folder location in your filemanager settings. you may want to tweak it a bit add a few ../ or remove a few ../ or if you know the direct folder path then set that as path.
I used your plugin and when I selected more than one file and uploaded, everything showed okay but then my wordpress broke. Whenever I look at the site, it shows a page that looks like I’m logged into wordpress and the bottom shows the site. Need your help figuring out what broke.
as discussed over email your issues seems to be identified for now. However i am working on a fix which can make sure such things never happen. Hopefully next release will be out in a few weeks.
hi, thx a lot for this awesome plugin, but I would like to ask if it would be possible to make the home directory a full website address, not just a path to to the wanted directory, I need an option to list files on another server.
I mean my wp is hosted on server A and files on server B, how can I list files of server B in my wp blog installed on server A?
I know that this may cause problems with upload permissions…etc but I’m disabling the upload option anyway, so I think adding such a feature without upload would be useful for some people
I keep getting this message. “Invalid home folder.” Am I doing something wrong? I just want to change the default directoury to “/wp-content/uploads/”.
looks like you forgot to change the $home_directory variable in PHP file.
Please update it.
for your config the variable would be “../wp-content/uploads/”
Hello,
is a way to activate this plugin even for non-admin users, like editors or subscribers?
Thank you
Hi Gervaso,
Currently that is not enabled as this can lead to security concerns.
this plugin will work only for administrator.
for Editors and Subscribers you can have theme editor.
BTW what’s your plan if i do open it for anyone other then admin.
Hello and thank you for your plugin.
I have opened an editor profile for my friend not for a security matter but because he has the less options as possible so that he is not lost when he opens the back office once in a while.
Nevertheless I would need him to manage himself his uploads.
No way to grant him the access as an editor please ?
Thank you. Best Regards.
No not something that i have planed in my mind.
for general uploades that could be easily managed by the media section. The use case is strictly for administrators only.
It would be good to transform this plug-in into a complete solution, like a file repository, with group rules to access file and so on…
That is something i am wishing to transform this into but lack of time or what could i say having a large array of work dispersed all over web leaves me with so much laziness that i am not able to work this one out.
Hello,
when I try to download a file I get this:
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
How can I fix it?
Do check the mail i sent you
I get the same error msg …config.inc.php on line 10.
mail sent please check
I want to be able to delete files using FileManager, but it doesnt exist as an option in the file list screen. I checked the configuration, and check the box to enable it, but nothing. Any help?
feature under check as of now.
will update with next release.
I don’t have the option to delete file even though it is checked in the options. The plug-in works fine otherwise. Please help!!
I know this has probably been addressed before but when I try to download i get the same error message as Gervaso and Anthony.
When will the update be coming? Thanks!
I am also getting the error:
Fatal error: Call to undefined function: get_option() in […]/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
Hi
I get this error when I download a file
Fatal error: Call to undefined function get_option() in /home/…/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
An easy fix for the download issue..while not a permanent one it will get it functioning but it will render configurations in the admin panel useless. Open conf/config.inc.php and comment out all instances of get_options. There a several if/else statements that contain it so you will need to decide whatever option values you want and leave those variables defined as either true or false and comment the rest of the if/else out. Then as if magic had occured..the downloads will work
I’ve the same trouble on download:
Fatal error: Call to undefined function get_option()
The trouble is because download proxy page “/wp-filemanager/incl/libfile.php” include config.ing.php page. In config file you use get_option but noone include that wordpress feature.
I fix it bypassing config into libfile. If you fix it please say it.
Thanks
Hi All,
First of All i would request a serious appology for the errors all are facing.. right now you can use the workaround suggested by andrew i am in a process of fixing the error once and for all however due to other priorities in my life i am stuck with being not so productive.
Will update next once i do a new version release with all bug fixes
Hi,
First of all – this is fantastic plugin, thanks very much! I would need little bit of help though. When adding a file, you can select on which website the file will appear (by selecting POST ID) – is there any way to restrict that page/post treeview to list only certain pages (in my case only two pages)? Any advice will be much appreciated.
Hello,
when I try to download a file I get this:
Fatal error: Call to undefined function get_option() in /home/mhd-01/MY_SITE_URL/htdocs/wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
How can I fix it?
Hi,
I need to allow contributors to access just this plugin as it will be used for a file repository shared by all logged users.
Any advice on how to achieve this?
(and as an improvement maybe could this be a configuration on future releases?)
Hello Anant. Thanks for plugin.
Please write version in description in next version
/wp-fileman.php
Example:
/*
Plugin Name: WP-Fileman
Description: FileMan for WordPress allows you to easily change, delete, organize and upload files.
Author: Anant Shrivastava
Author URI: http://anantshri.info
Version: 1.2.6
*/
If you not write wordpress warns about updates, even when i have last version.
And maybe, you should save plugin configuration in database in other way this information be delete after plugin update.
It’s a great plugin, except that the view image feature malfunctioned whenever I attempted to view any graphics file. It would show a broken image icon instead.
how to solve urgent
file must be modified “wp-filemanager/incl/view.inc.php”
so you can see preview images
I am facing the issue of not being able to download because of getOption(). Is there any way to fix this without having to lose configurations in the admin panel?
i am working towards releasing a new version so you might have to wait for some time.
I am still having issues with the Downloads. Can someone help me out pls?
Hey Anantshri, Any update on the bug?? sorry to bug you but its kidda urgent. :s
I have upload wp-fileman folder to the /wp-content/plugins/ directory but I’m not sure what I have to do when I read this:
“Change the home location for filemanager in conf folder conf/config.inc.php under $home_directory”
I can see the file “config.inc.php” in “conf” folder on my C:WPfilemanconf
Does it mean I have to move the file “config.inc.php” to another directory in my computer ? and where ?
Installation
1.Upload wp-fileman folder to the /wp-content/plugins/ directory.
2.Change the home location for filemanager in conf folder conf/config.inc.php under $home_directory.
3.Activate the plugin through the ‘Plugins’ menu in WordPress.
4.Check under the admin section last menu in sidebar will be FileManager.
I’m not sure how to do it under : ” Change the home location….” Can you tell me exactly what I have to do ?
I can see the file config.inc.php in my computer under C:/wp-fileman/conf
I have upload wp-fileman folder to the /wp-content/plugins/ directory.
I have activate the plugin and can see FileManager on sidebar on the last menu.Then in wordpress I go to Filemanager -> Configuration -> Filemanager Default Home Location -> here I taste the follow :
//C:/wp-fileman/conf/config.inc.php
But it’s not work.
Now I can do that. 🙂
Easy fix for Fatal error: Call to undefined function get_option() in /wp-content/plugins/wp-filemanager/conf/config.inc.php on line 10
I added
require_once(‘../../../../wp-config.php’);
to the top of
wp-filemanager/incl/libfile.php
I think that is what Merlinox was trying to say.
Hi…
thanks for the great plugin… is it possible to change the home location to the root of the blog?
For the config variable I use “../” but when I try to upload some files… it showing “FAILED”.
Thanks
Hi All,
Request everyone to download the new update as i have pushed a bug fix for all.
-Anant
Hello, Might be a dumb question… What is the largest file that I can upload? I am trying to give away large sized graphics on my site and it won’t upload. I have tried compressing, reducing file size, etc. but it still doesnt like it!
Thanks.
The upload file size depends on php configuration.
The WP-Filemanager program has a conflict with the Advanced Access Manager. When AAM is installed, WPFM will not display any files and defaults home to the AAM folder and is unchangeable. I would love to use these two plugins together. Any ideas?
looks like some options conflict let me double check on that.
Another problem as well. When I disabled the Advanced Access Manager (as explained above), now I get this error in the left pane:
Warning: stristr() [function.stristr]: Empty delimiter in xxxxx(replaced path)xxxxxx/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 218
Can you unpack or unzip a file from file manager? After the zip has been uploaded?
not yet unzip and zip features are still in my todo list.
Спасибо за обновление. Теперь не выходит ошибка string error.
thanks for still using it. Do inform if you find any more issue.
I made some errors last time so finally updated correctly.
Hi Nathan, can you please check i have worked and removed the conflict between AAM and wp-filemanager.
Anantshri… it works perfectly! Thanks!!!
got problems after update. can not rename. looks like site must by globals ON 🙁
Hi,
I started to use your plugin and its really great.
Compared it to the filebrowser: http://wordpress.org/extend/plugins/filebrowser/
Yours is much prettier and handier to use.
If you could enhance it with the file-permission handling it would nearly be perfect. The zip/unzip is not so important for me.
Is there any chance, that you implement the file permissions into your plugin?
Thanks,
Udo
permission modification is in consider but just doing it slowly coz i don’t want to misss on security.
Hi anantshri,
I believe this is a good decision. Do you have an idea of the timeline?
Is it worth waiting or do you think in months?
Udo
frankly at this point i would say months.
I am checking other implementations of the same feature as well as some security constrains that i have in mind.
but can’t give you a rigid timeline.
Dear Anant,
On all my WordPress installations (3.4.1) the download button on WP-Filemanager (1.3.0) gives a garbled output (with the download link at the bottom of it all). Is it just my installation or are other people suffering this as well?
Is there a way to fix this?
See screenshot: http://img831.imageshack.us/img831/7832/filemanager.png
Thanks for any tips.
Jason
this looks like first time to me. Let me try to simulate the scenario on my home machine. BTW i am working on a maintenance release so will be out in few days you can wait for say 1 week or so. otherwise if you are experimental enough you can look at the svn and download the latest trunk and try it out.
Unable to see the htdocs directory which store my folders for sites, help would be appreciated.
dropped a note on your email please respond so we can get this sorted.
Installation is successful without error but i still not find this into my webpage?? what i want in my site user’s can upload files as well as other users can download files.
@dushant, The plugin is intended for andministrators to administer the whole website at php level.
its not meant to be used for upload and download purposes.
After the latest upgrade, I can’t see edit option at all. can you please fix this asap?
Thanks,
Arpita
@arpitap replied to you on email. fix for this issue applied on svn trunk.
Dear Anant,
For the file: wp-filemanager/incl/download.inc.php
I commented out all the lines (9,38,39,41) of header() code and that has stopped the header errors.
I also commented out the readfile() code (line 43) and that fixed the garbled output.
Hope that helps.
Jason
@jason thanks for reporting fix is implemented in svn trunk will be available with next update.
Hello anantshri,
Fab plug-in. I want to use it fro my users and set the folder to an area where they can’t do ant harm. Is there a way – a shortcode maybe – where I could embed this in a standard page? Of course what would be good I suppose is to configure it for each user type but this would be a lot of work so in the meantime any chance of a shortcode?
Thank you………….. liz
Responded back on your mail.
Dear ananshri,
I love this plugin! i have a questions because I want the same functionality for my users, which I thought I could control by specifying the start directory. SDo i wondered if there is a way of using a shortcode in a page to offer this functionality to my non-admin users. I realsisde that you have said previously it’s meant for admin but the interface is well done and very usable – more than existing user file upload plug-ins.
The problem obviously comes from the fact that really one may have a differnt set of configuration requirements for each user type. however as a start could you consider providing a shortcode?
I may have already sent this question but as it doesn’t show on eth list on this page I have assumed that it didn’t arrive for some reason. Apologies if you moderate and have therefore got two versions of this request.
Thank you…………………. liz
great plug-in … thanks!
I would like to be able to “hide” the configuration option in the menu before I give this tool to my client. Is there a way to do that?
in that casse just edit the plugin to remove the call to add the sidebar option.
just downloaded this plugin so I can create new page templates in my theme without using ftp. It says not tested in WP 3.4.1 but still works great for creating and deleting files. The view and edit options are missing but I can use the theme editor for that
Hey Anant, great plugin. I have run into some issues, though, and while I’m going to fix them on a local copy of the plugin, I was wondering if you’d experienced the problem yourself or knew of an easier way to fix it. Here goes:
I’ve got WP-FileManager installed and working (in general) fine. I can create folders, upload files, etc. The problem comes when I try to rename the file: I get the following error: “Renaming of file failed. This might be caused by insufficient permissions or an invalid filename.” I’ve tried this on three systems, including Windows and Ubuntu. The Ubuntu system has the web root and all children being owned by the www-data user / group, with 770 permissions. The Windows user… I’m able to upload files, so I should have full permissions as well.
Any ideas?
Hello Anantshri,
Thanks for a great plug-in!
Just wanted to share some problems, and solutions.
I got this message in the top of the window:
: ” Warning: is_dir(): open_basedir restriction in effect. File(../..) is not within the allowed path(s): (/home/www/sites/www.wp-renaremark.se/root/:/usr/lib/php5/:/tmp/) in /home/www/sites/www.wp-renaremark.se/root/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php on line 40″
/wp-content/plugins/wp-filemanager/incl/filebrowser.inc.php.
This fixed change in filebrowser.inc.php fixed it:
if ($directory != “.” && $directory != “..”) if (is_dir($home_directory.$wp_2_fileman_path.$directory) && $directory != “.” && $directory != “..” && !is_hidden_direct
ory($home_directory.$wp_2_fileman_path.$directory))
There was also a problem in the viewer, this fixed it
:
— view.inc.php.orig 2012-08-27 09:13:22.888822204 +0000
+++ view.inc.php 2012-08-27 09:14:05.221322213 +0000
@@ -34,6 +34,7 @@
if ($open = opendir($home_directory.$wp_2_fileman_path))
{
while ($file = readdir($open))
+ if ($file !=”..”)
if (is_file($home_directory.$wp_2_fileman_path.$file) && is_viewable_file($file))
$files[] = $file;
closedir($open);
Best regards!
View and edit still missing. Trying SVN version…
Is access to this plugin limited to the “admin” role? I’ve setup other roles in “Advanced Access Manager” and “FileManager” doesn’t show when logged in as those other roles.
Yes its restricted to admin role only. this plugin is too big a responsibility for non admin.
Hi Anantshri,
Pls help how to remove the following:
Warning: readfile() [function.readfile]: Filename cannot be empty in /home/content/XX/XXXXXXX/html/XXXXX/wp-content/plugins/wp-filemanager/incl/download.inc.php on line 43
I cant do anything. Do I need to uninstall and install the whole WordPress?
Thanks in advance.
I’ve installed file manager and i have this problem… My files in the related directory I want to manage.. don’t appear properly because my files have greek names greek characters.. unfortunately i have to keep these names.. so what can i do?where can I declare greek encoding? please help!
will need to check this out my self. i don’t have a testbed to replicate the same so this might take some time.
I want to say first that I don’t have an FTP access to a WordPress site I am handling right now so I was really hopeful I can use this plugin to download files. Tried it but failed. All the files I downloaded using the plugin are 0 bytes. I thought it has something to do with permissions but then I tried using it locally. Still didn’t work for I don’t know reason. The files are 0 bytes or read-only.
Please tell me the solution to this sir. Thank you!
Installed and activated File Manager. Tried to delete a plug-in and got this message:
Warning: unlink(../wp-content/plugins/gravityforms/images/gravity-settings-icon-32.png) [function.unlink]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 21
Warning: rmdir(../wp-content/plugins/gravityforms/images/) [function.rmdir]: Permission denied in /home/crosspr/public_html/wp-content/plugins/wp-filemanager/incl/functions.inc.php on line 27
Deleting of folder failed.
This might be caused by insufficient permissions.
Help please!
This looks like permission’s issue on the folder. Please take steps as suggested on followup email communication.
I have a few sites on 3.5.1 and when I install the plugin it doesn’t allow me to view or edit the files. The columns are there on the file manager display but there are no icons next to the files for those functions. I have tried to go to the config screen and the view and edit functions are “allowed” so I don’t know why it isn’t working?
Hi Everyone, Thanks for the patience, a new version is released which should solve all the errors encountered. I will try to see if i can fit some new features in next releases onwards.
Very nice and wel prepared plugin. Respect!
In the screen I do not see the ud icon & vw icon. I want to edit a txt-file. Any tips?
Regards,
Ype
Hi, in order to see the edit icon and other icon’s you need to enable them first time in file manager configuration. also you need to specify the file extensions that you want to edit. all of this is visible inside the filemanager config section.
I don’t know what the plug in is looking for when it asks for the home directory in the configuration. I have the name from my host, but no variation on that that I can think of works. It looks like maybe you answered this question for someone else between comments 31 and 32, but you did not post an answer here where others can see it.
Its generally a relative path in terms of the plugin location. it will be best for you if you set it to ./ and see what files are visible. if you want more visibility you can increase by setting home to ../ for setting it above this directory value would be ../../ and so on.
Hope this help.
Note : will see if i can put some example text to make life easier from next version onwards.
Edit Note : ./ will place you in wp-admin folder and ../ will place you in same folder as your wordpress directory based on this info you can decide a relative path you want to use.
What permissions should I best use on the home folder?
just make sure that home folder is readable and writable by webserver user
What permissions should I use on the home folder?
Nice extension, with one problem it does not display non-ASCII characters correctly
using French, we often have filenames with accents… they are downloaded/uploaded ok, but do not display in UTF-8 format as they should
so that “é” displays as “é”, etc
For example : MissionIntégrale_Doc-stratégique.pdf
Hi Silvain, I will try to see if i can get this into next release.
Hi Anant.
Please update /incl/filebrowser.inc.php with the correct extension/filename pickup.
If you have a file that has more than one dot in the file name (like filebrowser.inc.php) it does not show it correctly in the file manager. It just shows the first part of the name because it lists only the first element of the exploded array as a file name and the second element as extension.
you can take a look at pathinfo() for correct filepath values.
Thanks for this great plugin.
Thanks Lorenzo for pointing it out. Adding this to list of things for next version.
hi there
how i can add this plugin to my Specific PAGE ??
There is any way to add in page ??
I want to add this plugin my DOWNLOAD page but not succeed till now !!
This plugin is not for external interfaces its only meant for administrators of the blog..
This is a great plug-in. Is there a way to copy the file path for a selected file?
Nothing as of now. But i will see if i can make that as a feature in next release.
How do I get to /wp-content/themes/twentytwelve/
I’m in /wp-admin/ by default.
../ will bring you one directory up and so the path should be.
../wp-content/themes/twentytwelve/ if you want to keep your theme directory as home place. however ../ could also be used which will allow home directory to be same as wordpress directory.
However if you only want something to edit your theme its better to use built in wordpress theme editor rather then a different plugin.
Client’s website uses your plug-in, latest version just updated. WordPress 3.5.1
I went to Configuration, checked all of the boxes, but when I then use File Manager to access file tree, the “Vw” and “Ed” columns are blank – no icons, and I can’t view or edit files.
Besides checking the boxes you need to also set extensions that you want to be edited or viewed. the option to set file extension list is just below the checkbox configuration.
Hello,
We’ve noticed an issue that seems to occur only in Firefox. If a file that is uploaded with spaces in it (Example: My Download File.pdf), then when someone using Firefox (Win/OS X, versions 19 and up) then the file does not download properly. Instead, it downloads as “My” with the rest of the file name truncated.
It seems to work fine on all other browsers including IE 9/10, Safari and Chrome. While I was searching to see if anyone else was experiencing the same issue, I did come across this from Mozilla’s website: http://kb.mozillazine.org/Filenames_with_spaces_are_truncated_upon_download
Not sure if it will help.
Thanks!
Thanks for the headup. This is now added as a thing to fix in next release.
WP-Filemanager allows me to modify my .htaccess file residing within wordpress hosted on an Amazon EC2 Instance.
What a relief that I can modify files using the same permissions as the user running the app.
I modified .htaccess with https://github.com/h5bp/server-configs-apache/blob/master/.htaccess.
Thank you for this plugin. Makes it easier to work with my configurations.
Thanks for the wonderful words. And also thanks for sharing a cool set of config files.
Hello,
A little question :
I would like to increase the number of files you can upload. File change it
thank you
Hi Jerem,
I will see if i can do something about it in next release.
However have you tried the new html upload which i hope should be able to upload multiple files using ctrl as multi select.
Hi anantshri,
I’m trying to update my multisite wordpress from 3.6.1, to 3.7.1 and it shows to notice errors:
Notice: Undefined index: action in /srv/www/XXXXX/YYYYY/wp-content/plugins/wp-filemanager/wp-filemanager.php on line 65
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /srv/www/XXXXX/YYYYY/wp-includes/functions.php on line 3017
Is this a problem with 3.7.1? Has it any solution?
Thank you.
Hi Hector,
This is in my list of to do items will work on this release.
BTW the error will go away if you disable php errors and the plugin should work just fine for now.
But yes this needs to go and will be taken care in next release.
Hello,
I enjoy your plugin which solved my problem 😀
However, when I upload a file which name already exists in the destination folder, the old file (with the same name) is overwritten by the new. I would like to keep all files (by automatically changing the name : for example toto.html become toto1.html) without overwrite them.
Thank you very much 🙂
I will see what i can do in next release.
Eventually, I want to translate your plugin in French.
Can you tell me what file (or var) might I overload ?
Hi Bilal,
french transalation is already present you need to manually change config in current release for it.
Next release will have an option to do it via GUI.
-Anant
Unfortunately, the German language file is not activated. Change in config.inc.php file is required. The German language file has some errors.
Download the edited language file and short description in German can be found here:
http://www.web266.de/tutorials/wordpress/webmaster-tools/datei-manager/wp-filemanager.html
Thanks Hans I will see if i can make that process seemless.
I will also make sure to include the updated file for next release with proper credit.
thanks for the effort.
Is there a way to add a date column to the file browser so we can see the date the file was uploaded?
As of now there is no such option but looks like something i can implement in next release
Hi very thanks again for this splendid plug..
I ask you in my bad english only if is possible to add the simple “link” on the name of file for open the file, the computer that you use select the program for open it.
Sorry for disturbe i have ask you this another time.
Hey Tony,
That would be possible only via download option.
the edit link is also present which allows you to edit it using the inbuilt basic text editor.
Anant,
While I am not a ‘noobie’ I do have significant memory problems. For that reason, I document A LOT. I created my own copy of the FileMamager readme file to remind myself of solutions for future reference. It starts with the following ‘Notes to Self”. I keep these ‘Notes to Self’ at the top of my edited readme file to 1) preserve the integrity of your (or anyone else’) original work and 2) because often when I forget, the same questions usually arise, therefore, my notes are easy to find. I consider this information critical to noobs and other forgetful people like myself. Some of it might be worth considering for inclusion in your FileManager plugin readme file.
Please feel free to copy or alter as needed if you feel this is of value to include.
Best regards, Charles
*****************************************************************************
=> NOTES TO SELF It is best to use ‘../’ or whatever is the best directory navigation designation to reference the home directory of your WordPress site.
*****
=> Original readme content below. <=
************************************************************************
It seems some info got cut off, sorry.
*****************************************************************************
=> NOTES TO SELF It is best to use ‘../’ or whatever is the best directory navigation designation to reference the home directory of your WordPress site.
*****
=> Original readme content below. <=
***********************************
hmmmm…, also…
Downloading and uploading File Manager files under a new name does not make them editable. To make them editable, you must
1) Download the file to be edited.
2) Copy the File Manager file contents to the clipboard.
3) In File Manager, create a new file with a new name.
4) Paste the contents of the clipboard into the new file.
5) Save.
6) You may then edit the new file to your heart’s content.
Thanks Charles for the comment. It would be great if you do create a blog post about your experience with wp-filemanager and i will make sure to link it here.
Also thanks for letting me know about the quarks if it is possible i would try to ease the efforts required. But i think the major problem regarding file editing might have something to do with your file permissions.
-Anant
Anantshri, After thinking about you Blog suggestion, I submitted the following suggestion to WordPress.org under ‘Requests and Feedback’. Maybe this will help all author’s support efforts? Please tell me what you think.
*****
I think it might be better on the page, http://profiles.wordpress.org/UserName, when a User selects ‘Favorites’, reverse the columns ‘My Activity’ and ‘My Favorite Plugins’.
Under the left hand column, ‘My Favorite Plugins’, list the ‘My Favorite Plugins’ in an alphabetical vertical list with ‘Show All Activity’ as the first item in the list. If a User clicks on the ‘Show All Activity’ link in the left column, ALL of the Users’ activity is listed in the right hand ‘My Activity’ column, as is currently shown. If a User clicks on a Plugin Name in the left column, only the User’s ‘My Activity’ for that Plugin is shown in the right ‘My Activity’ column.
Add a third column, ‘Resolved’ on the far right of the ‘My Activity’.
In the Support Forums, if an Author denotes a thread in his support forum as ‘Resolved’, that “Resolved’ designation becomes a link to the User’s http://profiles.wordpress.org/UserName page.
In this way, a User’s Profile Page then becomes a readily accessible Support Blog for the resolved issues.
I have constructed a 75 kb jpeg to illustrate this proposed new format if you are interested in seeing it.
Best Regards.
I agree Charles, this can help. I will chip in on the discussion thread you created.
Do not know anything about HTML / computers. Is there any detailed instruction s to use this plugin ? I do not even know – how to configure it .
Hi Kisse,
I would personally rate this plugin for advance to expert level user, using this plugin without knowledge of HTML or much about computers you have more chances of messing things up then making it right.
-Anant
Kisse, Editing your WordPress files can easily and permanently DESTROY you site if you do not know what you are doing. Also, if you change any of the files and then update to a later version of WordPress or the theme you are using, you will lose all of your changes. consequently, a plugin like FileManager better serves those who are developing new themes they are writing from scratch or using a current theme as a base to work from and have no intention of updating the original theme with new releases. In that case, their edited files become a new theme all together and in turn get modified with its’ own updates. I would recommend that you start with something like the plugin, Child Themify and keep a copy of your changes in a Text (.txt) file. At most you will be placing modifications in one of two files, most changes will probably be in the child themes’ style.css file, which is used to define the appearance such as borders, color, fonts, etc, Other features that you change or make available through coding (which you say you do not know much about) would go into the second file called functions.php. Then, if you break your site and don’t know how to repair your modifications, you can always delete the contents of your child themes’ style.css and/or fnctions.php files and start over. By the way, these are both simply text files that end in .css or ‘php and instead of keeping a copy of your changes in a .txt file, you could work from copies of these two files. This way nothing is lost or irrevocably broken, at least until you get a much better working knowledge of how to write and alter code snippets. I hope this helps.
I’ve installed wp-filemanager plugin, everything seems working normally,
but i can’t find wp-content folder,
i’m suppose to find a png file inside,
please help me..
blackseries307@gmail.com
thanks
Hi Han,
can you please check the home folder location in your filemanager settings. you may want to tweak it a bit add a few ../ or remove a few ../ or if you know the direct folder path then set that as path.
Hi
Thanks for this great plug-in. Can you please tell me how to change it to spanish?
Thanks in advance 🙂
Hi Israel,
You need to edit the conf/config.inc.php file.
change language parameter to spanish.
Anant
Hi,
I used your plugin and when I selected more than one file and uploaded, everything showed okay but then my wordpress broke. Whenever I look at the site, it shows a page that looks like I’m logged into wordpress and the bottom shows the site. Need your help figuring out what broke.
Thanks!
Hi Michael,
as discussed over email your issues seems to be identified for now. However i am working on a fix which can make sure such things never happen. Hopefully next release will be out in a few weeks.
hi, thx a lot for this awesome plugin, but I would like to ask if it would be possible to make the home directory a full website address, not just a path to to the wanted directory, I need an option to list files on another server.
I mean my wp is hosted on server A and files on server B, how can I list files of server B in my wp blog installed on server A?
I know that this may cause problems with upload permissions…etc but I’m disabling the upload option anyway, so I think adding such a feature without upload would be useful for some people
This is not technically feasible.