Page 1 of 1

[solved] Filemanager not working in CMSMS 1.10.1

Posted: Sat Jan 14, 2012 11:07 am
by zap12345
Hi everyone,

I'm having trouble with Filemanager appearing to not work on one of my websites - it works fine on several other CMSMS sites I have with the same host, so very odd!

By 'not working' I mean that I can go to Filemanager using Content > File Manager, which then shows the current path to be as expected: /uploads. But then when I click any directory (e.g. Images) the webpage flickers but the contents of Images are not shown. Additionally, if I try to create a new directory (e.g. test), I get the error message: "You are not allowed to modify files outside the uploads-dir! (That requires the Advanced File Management permission)." Which is very strange as I as far as I know, I am in the uploads directory - ??

The problem occurs using both FireFox and IE. The version of CMSMS that I'm using is 1.10.1 and the Filemanager module is 1.2.0.

Also, in case useful to know, I can use Filezilla to transfer files into the Uploads/Images directory. But it would be very handy to be able to use the Filemanager functionality within CMSMS again :)

Many thanks in advance for any advice that anyone can give :)))

Cheers,
Zaneta

Re: Filemanager not working in CMSMS 1.10.1

Posted: Thu Jan 26, 2012 6:51 pm
by Dr.CSS
Update to 1.10.3....

Re: Filemanager not working in CMSMS 1.10.1

Posted: Thu Feb 23, 2012 3:13 pm
by reinhardmohr
Hi,

I am using 1.10.3 and I have just run into the same problem as described above.
As far as I see it FileManager is not working on sites that I had upgraded from 1.9.x. While sites I installed freshly on the same host do work perfectly. I tried a lot of things but finally the only thing that worked was this one:

• I manually uninstalled FileManager 1.2.0 from the modules list (but I could not remove it – there was just no remove-link/button).
• Only then could I install FileManager 0.3.0b1 via ModuleManager.
• Now things do look a little bit mixed between English and German, there are some strings missing in list view, and the icons are smaller – but overall FileManager does work again!

Maybe someone could find the problem? Someone who is a bit smarter than I am in finding bugs and correcting them. Thanks a lot for helping

Reinhard

Re: Filemanager not working in CMSMS 1.10.1

Posted: Thu Feb 23, 2012 4:17 pm
by Dr.CSS
It may be a path problem, had it happen to me just the other day, look in config.php to make sure they are correct...

Re: Filemanager not working in CMSMS 1.10.1

Posted: Thu Feb 23, 2012 5:00 pm
by reinhardmohr
Hi,

thanks for helping.
I had checked the paths, too. For two sites I had changed the paths that were detected by the installer to the "absolute paths" that my provider had described in his FAQs.
But this didn't help, either. The FileManager does not work properly, no matter which paths are used.

Thanks

Reinhard

Re: Filemanager not working in CMSMS 1.10.1

Posted: Thu Feb 23, 2012 8:57 pm
by Dr.CSS
Check the system info page for any yellow ! or red X...

Re: Filemanager not working in CMSMS 1.10.1

Posted: Fri Feb 24, 2012 8:17 am
by reinhardmohr
Hi,

I had checked this. Nothing yellow or red, everything is green.
As I was on this page now here is the copied system info:
----------------------------------------------

Cms Version: 1.10.3

Installed Modules:

CMSMailer: 2.0.2
FileManager: 1.2.0
MenuManager: 1.7.7
ModuleManager: 1.5.3
News: 2.12.3
Printing: 1.1.2
Search: 1.7
ThemeManager: 1.1.4
TinyMCE: 2.9.6
Gallery: 1.4.4
Showtime: 2.0.5
CodeMirror: 2.2.2
TemplateExternalizer: 2.0.5
CMSPrinting: 1.0
MicroTiny: 1.1.1

Config Information:

php_memory_limit:
process_whole_template: false
output_compression: false
max_upload_size: 10000000
default_upload_permission: 664
url_rewriting: mod_rewrite
page_extension: .html
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.2.17
md5_function: An (Ja)
gd_version: 2
tempnam_function: An (Ja)
magic_quotes_runtime: Aus (Nein)
E_STRICT: 0
memory_limit: 104M
max_execution_time: Keine Beschränkung
output_buffering: An
safe_mode: Aus (Nein)
file_uploads: An (Ja)
post_max_size: 10M
upload_max_filesize: 10M
session_save_path: /var/tmp (1777)
session_use_cookies: An (Ja)
xml_function: An (Ja)

Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.91

----------------------------------------------

Maybe this helps. Thanks again

Reinhard

Re: Filemanager not working in CMSMS 1.10.1

Posted: Fri Feb 24, 2012 10:36 am
by staartmees
I had the same problem after an upgrade from 1.9.4.3. Check your config.php en reduce it to the lines that are required as specified in CMSMS_config_reference.pdf . You can find this document in the doc-map of your cms

Re: Filemanager not working in CMSMS 1.10.1

Posted: Fri Feb 24, 2012 1:17 pm
by reinhardmohr
Perfect!
I did what staartmees recommended:
I downloaded a config.php from one of my freshly created sites and reduced the config.php-file from the upgraded site to just the lines that were present in the fresh file.
Now there are no paths, upload paths etc. present in the config.php – but the filemanager does work again!

Thanks a lot for helping!

Reinhard

Please: As I did not start this thread – could someone else put SOLVED to the subject of the first post? Thanks.

Re: Filemanager not working in CMSMS 1.10.1

Posted: Fri Feb 24, 2012 10:41 pm
by zap12345
Fantastic - this solution also worked for me! Many thanks!! :)

In case of interest, this is the config.php file that I used to replace my original (very long and containing many paths) config file:

<?php
# CMS Made Simple Configuration File
# Documentation: /doc/CMSMS_config_reference.pdf
#
$config['dbms'] = 'mysql';
$config['db_hostname'] = 'localhost';
$config['db_username'] = 'database_username';
$config['db_password'] = 'database_password';
$config['db_name'] = 'database_name';
$config['db_prefix'] = 'cms_';
$config['db_port'] = 0;
$config['root_url'] = 'http://www.website_name.com';
$config['timezone'] = 'Pacific/Auckland';
$config['default_encoding'] = 'utf-8';
?>

Thanks very much again for the help,

Cheers,
Zaneta

Re: [solved] Filemanager not working in CMSMS 1.10.1

Posted: Sat Feb 25, 2012 8:28 pm
by nils73
Thanks staartmees and zap12345 for sharing the config tip. Worked like a charm. Finally willing to give 1.10 a try.

Cheers
Nils