[Solved] file manager issue since 1.10.3

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
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

[Solved] file manager issue since 1.10.3

Post by tonyg »

hi, i am running on windows/apache. when i upgraded to 1.10.3, i noticed that file manager stopped working. before i was able to use file manager to manage files on the site. after upgrading, it would not let me change directory to any folders.
i just upgraded to 1.11.2 and it seems to behaving slightly differently. now, when i try to change into a folder, i get a blank screen and this in the log
Attempt to set working directory to an invalid location: images
i know this might be a perms issue. i am pretty familiar with windows permissions and this is what i have done. i created a user, gave the user full permissions to the home directory and everything below. I also made this user the owner of the same. i then made this the login user for the apache service. i am pretty sure that it has all the rights that it needs. also, before 1.10, this work fine.

any help would be greatly appreciated.
thanks
Last edited by tonyg on Fri Sep 21, 2012 5:02 pm, edited 1 time in total.
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm

Same FileManager problem on 1.11.2

Post by reinhardmohr »

Hi, I upgraded my site from 1.10.3 to 1.11 and 1.11.2. I now I have the same FileManager problem as reported above.
I checked permissions, I deactivated most of the modules, I created a new user with all the privileges, I swapped the language in the backend, I used another browser (Firefox instead of Safari). The symptoms remain the same: I can go to Filemanager where I see all the folders. But when I try to access them there is only a blank page.
When I change the admin theme to default or NGrey I do at least see the background and the frame of the theme but nothing is listed there, either.
Whenever I try to create a new folder I get the same error "Attempt to set working directory to an invalid location".
I can access the images folder via the ImageManager without any problem.
I have a website with 1.10.3 on the same server – no problems there.
Here are my settings:

Code: Select all

Cms Version: [b]1.11.2[/b]
Installed Modules:
CMSMailer: [b]5.2.1[/b]
FileManager: [b]1.4.1[/b]
MenuManager: [b]1.8.4[/b]
ModuleManager: [b]1.5.5[/b]
News: [b]2.12.9[/b]
Search: [b]1.7.7[/b]
ThemeManager: [b]1.1.7[/b]
CGExtensions: [b]1.30[/b]
Gallery: [b]1.4.1[/b]
CGExtensions: [b]1.30[/b]
CGCalendar: [b]1.10.0.1[/b]
FrontEndUsers: [b]1.18.1[/b]
CustomContent: [b]1.8.3[/b]
TreeManager: [b]0.6.0[/b]
Forum: [b]0.9.4[/b]
CMSPrinting: [b]1.0.3[/b]
CGJobMgr: [b]1.2.7[/b]

Config Information:
php_memory_limit: [b][/b]
process_whole_template: [b][/b]
output_compression: [b]false[/b]
max_upload_size: [b]16000000[/b]
url_rewriting: [b]none[/b]
page_extension: [b][/b]
query_var: [b]page[/b]
image_manipulation_prog: [b]GD[/b]
auto_alias_content: [b]true[/b]
locale: [b][/b]
default_encoding: [b]utf-8[/b]
admin_encoding: [b]utf-8[/b]
set_names: [b]true[/b]

Php Information:
phpversion: [b]5.3.8[/b]
md5_function: [b]An[/b] (Ja)
gd_version: [b]2[/b]
tempnam_function: [b]An[/b] (Ja)
magic_quotes_runtime: [b]Aus[/b] (Nein)
E_STRICT: [b]0[/b]
E_DEPRECATED: [b]0[/b]
memory_limit: [b]104M[/b]
max_execution_time: [b]Keine Beschränkung[/b]
output_buffering: [b]An[/b]
safe_mode: [b]Aus[/b] (Nein)
file_uploads: [b]An[/b] (Ja)
post_max_size: [b]10M[/b]
upload_max_filesize: [b]16M[/b]
session_save_path: [b]/var/tmp[/b] (1777)
session_use_cookies: [b]An[/b] (Ja)
xml_function: [b]An[/b] (Ja)
xmlreader_class: [b]An[/b] (Ja)

Server Information:
Server Api: [b]cgi-fcgi[/b]
Server Db Type: [b]MySQL (mysql)[/b]
Server Db Version: [b]5.0.91[/b]
Server Db Grants: [b]Es konnte keine "GRANT ALL" Berechtigung gefunden werden. Dies kann bedeuten, dass Sie bei der Installation oder Entfernen von Modulen Probleme haben könnten. Oder sogar beim Hinzufügen und Löschen von Elementen, einschließlich Seiten[/b]
I could not find a bug report and nothing but the post above. I‘d be really thankful if some could help!

Thanks

Reinhard
reinhardmohr
Forum Members
Forum Members
Posts: 112
Joined: Sun Aug 06, 2006 2:36 pm

Solved my FileManager problem

Post by reinhardmohr »

Hi,
this was really tough until I found out what was wrong:
• One of the first things I had done was to change my config.php-file. I changed the systems paths that were automatically set up during the original installation to the absolute system paths that were specified by my provider.This did not fix my problems.
• Only when I reinstalled module MicroTiny and tried to insert a picture I got an error that said something about FileManager and some paths (I try to attach the file to this post).
• So I downloaded the latest Config-reference-pdf and read about paths. I finally removed all the path settings from my config.php file, deleted the old file and uploaded the new file.
• This fixed everything!!!

I don't know why this happened – maybe because my config-php-file is so old and has never been deleted (only modified for years)? So I think that many more people will encounter this problem. Could there anything be done like a notice during the intallation/upgrade process to notify people of this possible problem?
Otherwise 1.11 and the new themes are great – thanks to all!

Reinhard
Attachments
FileManager-error.gif
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

Re: file manager issue since 1.10.3

Post by tonyg »

reinhardmohr

do you mean, you deleted your config.php and start with a new one from the distribution? then modified that one with your settings?
tonyg
Forum Members
Forum Members
Posts: 80
Joined: Sun Dec 14, 2008 4:54 am

Re: file manager issue since 1.10.3

Post by tonyg »

WOW! that worked. i recreated my config.php from scratch and it is working now....Thanks for that tip!!!!!
Post Reply

Return to “CMSMS Core”