Page 1 of 1
[SOLVED] File Manager / Sub Directories
Posted: Fri Aug 16, 2013 4:48 pm
by jeepin81
Hello,
We recently upgraded to 1.11.7 Genovesa and now when we click on the File Manager ( 1.4.3 ) and try to go into a sub directory it just spins and when complete it stays on the original landing page of the File Manager.
For permissions it shows "R" and the owner is "N/A". Our config file looks correct in regard to directory paths.
The only thing I see different from our upgrade and our old system is the URL path when I hover over a sub directory.
Old Path:
........&m1_path=%2Fuploads&....
New Path ( the slash is missing ):
........&m1_path=uploads&....
If I run in debug and it stops the forwarding and I add '%2f' to URL it still doesn't resolve to the sub directory.
I did run a php script and chmod on the the directory to 0777 but that didn't help.
Is this known issue? I am guessing the missing slash might be the culprit? One other thing to note.. the Image Manager works fine.
We're running on WAMP stack PHP 5.3.13. Tmp directory has 0777.
I appreciate the insight..
J
Re: File Manager / Sub Directories
Posted: Fri Aug 16, 2013 4:54 pm
by jeepin81
One other thing.. If I try and create a new directory I get the following error msg:
"You are not allowed to modify files outside the uploads-dir! (That requires the Advanced File Management permission)"
Re: File Manager / Sub Directories
Posted: Fri Aug 16, 2013 7:10 pm
by staartmees
The solution is right under your nose: go to the Settings of the File Manager and enable the Advanced Mode.
Re: File Manager / Sub Directories
Posted: Fri Aug 16, 2013 8:55 pm
by jeepin81
Thanks for the reply.
no bingo though... that displays all CMSMS directories/files but same result when clicking on a sub directories. Plus, we only want to show the directories under the uploads directory.
ex:
uploads/cs_procedures
We're unable to access the "cs_procedures" directory. I can go back to older version before the upgrade and access that same directory no problem.
Here is our sys. info if that helps at all:
--------------------------------------
Cms Version: 1.11.7
Installed Modules:
CMSMailer: 5.2.1
FileManager: 1.4.3
MenuManager: 1.8.5
ModuleManager: 1.5.5
News: 2.12.12
Printing: 1.1.2
Search: 1.7.8
ThemeManager: 1.1.8
TinyMCE: 2.9.12
CGExtensions: 1.35
CustomContent: 1.9
AjaxMadeSimple: 0.1.6
Polls: 0.2.0
GoogleCalendar: 0.1.1
CGExtensions: 1.35
FrontEndUsers: 1.21.16
CGCalendar: 1.10.4
Gallery: 1.6.1
Gallery: 1.6.1
SuggestBox: 1.0
GroupShare: 1.0
CMSPrinting: 1.0.4
FCKeditorX: 1.1.0
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 50000000
url_rewriting: none
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.3.13
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 120
output_buffering: 1
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 20M
upload_max_filesize: 50M
session_save_path: c:/workspace/tmp (0777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
------------------------------------
It seems like a permissions issue or something to do with that slash. In our config file the path is correct has includes the /. Not really sure what else to look at? Does the File Manager have it's own permission control somewhere?
I appreciate the help.
Re: File Manager / Sub Directories
Posted: Sat Aug 17, 2013 7:11 am
by velden
WAMP = Windows isn't it?
Sounds like a erroneous mismatch between the physical uploads directory and the one cmsms thinks it is.
Maybe a bug that does not translate the Windows paths very well. Or do you need to use another syntax in config.php? Or maybe try to comment the path related lines in config.php as cmsms usually dynamically determines those.
[resolved] Re: File Manager / Sub Directories
Posted: Mon Aug 19, 2013 3:10 pm
by jeepin81
Velden...thanks for the reply.
WAMP does equal windows. We do have plans to switch to LAMP once 2.0 is available.
In the config file I commented out the following and that appeared to resolve the issue.
Code: Select all
$config['use_adodb_lite'] = '1';
$config['root_url'] = 'http://10.x.x.x/cms';
$config['ssl_url'] = 'https://10.x.x.x/cms';
$config['root_path'] = 'c:\workspace\www\cms';
$config['admin_dir'] = 'admin';
$config['previews_path'] = 'c:\workspace\www\cms\tmp\cache';
$config['uploads_path'] = 'c:\workspace\www\cms\uploads';
$config['uploads_url'] = 'http://10.x.x.x/cms/uploads';
$config['default_upload_permission'] = '777';
$config['use_smarty_php_tags'] = '';
$config['auto_alias_content'] = true;
$config['url_rewriting'] = 'none';
$config['page_extension'] = '';
$config['query_var'] = 'page';
$config['image_manipulation_prog'] = 'GD';
$config['image_transform_lib_path'] = 'c:/Program Files/VisualMagick/bin/';
$config['image_uploads_path'] = 'C:\workspace\www\cms\uploads\images';
$config['image_uploads_url'] = 'http://10.x.x.x/cms/uploads/images';
$config['ssl_uploads_url'] = '/uploads';
$config['locale'] = '';
I don't know why this additional info was added to the config but the File Manager did not like it.
I appreciate the help and I will mark this thread resolved.