[solved] Filemanager not working in CMSMS 1.10.1

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
zap12345
Forum Members
Forum Members
Posts: 20
Joined: Thu Nov 19, 2009 8:04 am

[solved] Filemanager not working in CMSMS 1.10.1

Post 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
Last edited by zap12345 on Fri Feb 24, 2012 10:46 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Filemanager not working in CMSMS 1.10.1

Post by Dr.CSS »

Update to 1.10.3....
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: Filemanager not working in CMSMS 1.10.1

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Filemanager not working in CMSMS 1.10.1

Post 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...
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: Filemanager not working in CMSMS 1.10.1

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Filemanager not working in CMSMS 1.10.1

Post by Dr.CSS »

Check the system info page for any yellow ! or red X...
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: Filemanager not working in CMSMS 1.10.1

Post 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
staartmees
Power Poster
Power Poster
Posts: 1049
Joined: Wed Mar 19, 2008 4:54 pm

Re: Filemanager not working in CMSMS 1.10.1

Post 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
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm
Location: Munich, Germany

Re: Filemanager not working in CMSMS 1.10.1

Post 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.
zap12345
Forum Members
Forum Members
Posts: 20
Joined: Thu Nov 19, 2009 8:04 am

Re: Filemanager not working in CMSMS 1.10.1

Post 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
nils73
Power Poster
Power Poster
Posts: 520
Joined: Wed Sep 08, 2004 3:32 pm

Re: [solved] Filemanager not working in CMSMS 1.10.1

Post 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
Post Reply

Return to “CMSMS Core”