From: Paul L. <pa...@sq...> - 2009-02-10 09:43:42
|
On Mon, Feb 9, 2009 at 5:59 AM, Andreas <an...@do...> wrote: >>> beside this nice feature I have also some problems with squirrelmail 1.4 >>> and file_manager 2.0. >>> >>> First of all I set in squirrelmail the local language to English, but >>> the >>> file_manager will be always displayed in German language (I´m from >>> Germany >>> maybe he will check it over my web browser settings?). >> >> No, I think it's just a bug. I also think it's fixed in my >> development code, but it's been so long since I looked at it, I can't >> be sure. > > It was not a bug on your side... . > I tested it with your dev/alpha version and had the same problems. So it > had to be something to do with my configuration. > > Fix: > I Updated to the newest compatibility version and added in the > file_manager.php following code: > > chdir('..'); > define('SM_PATH', '../'); > > #--> Compatibility 2.x fix > require_once(SM_PATH . 'functions/global.php'); > require_once(SM_PATH . 'functions/strings.php'); > #<-- End > > include_once(SM_PATH . 'plugins/file_manager/functions.php'); This is not how it should be "fixed". See the Compatibility plugin README file if you want to do it correctly. > After these changes everything works fine (file_manager development > version, or stable version). I think you can add this information for the > file_manager plugin also to the "CompatibilityDependencies" page. > > Now I'm running your development version, because of the nice folder icons > ;). Are there any known issues (security, heavy bugs) with the alpha > version that I should return to the stable one? Not that I know of. >> If you want a copy of the development code, please ask offlist. >> >>> The second bigger problem is, that the header menu bar will get >>> corrupted >>> if I'm selecting the file_manager. All other plugin links like Calendar, >>> Notes, Keyring get lost. Only the standard squirrelmail menu links will >>> be >>> displayed (compose, options, help). Also the language is again German. >> >> That's very odd indeed. You might try my development copy and see if >> it still happens. >> >>> I tried to edit the .php source files and removed all locale >>> informations. >>> This fixed that the file_manager is now in English. But the header menu >>> while I am in the file_manager will stay in German with the missing >>> squirrelmail plugin links. >> >> I've never heard of that for any plugin, so I'm not sure what it'd be. >> >>> Maybe I've done something wrong. >>> >>> Can anybody give me a hint how to fix these issues? >> |