Page 1 of 1

[solved]FileManager in advanced mode

Posted: Fri Aug 17, 2012 4:36 pm
by Jean le Chauve
cmsms 1.11+ (linux, windows)

Creates a directory uploads / images / test
By checking advanced mode and display thumbnails, uploade an image -> no problem (Checking advanced mode gives a notice.)
Creates a thumbnail -> it will not work (Warning: rawurlencode () Expects parameter 1 to be string, array given)
Moving image -> it will not work (the destination folder specified is not valid).
Uncheck Advanced Mode
Returns the directory uploads / images / test because it has lost the way.
Create your thumbnail -> it works
Check advanced mode, the thumbnail is gone.

I see two problems: filemanager_utils :: get_cwd () in advancedmode (which returns 2 times the basename of root_path because filemanager_utils::join_path($config['root_path'],filemanager_utils::get_cwd(),$filename); in action files ).
and $ selall which returns an array instead of a string

There are problems with all actions who implicated a path (move, thumbnail, upload, uncompress...)

Edit : fixed in svn 8264 Thank you Callguy