Hello
note before: i've commented out the debugger function, because it hides me to much errors in my devel (vkpMx-Port) installation.
Now in minibrowser.php i get some small errors:
Notice: Undefined index: select_directory in D:\Localhost\dev-Coppermine\devel\minibrowser.php on line 82
The language variable
$lang_minibrowser_php['select_directory'] is not defined everywhere.
I change the language array in /lang/english.php to this:
if (defined('MINIBROWSER_PHP')) $lang_minibrowser_php = array(
'close' => 'close', //cpg 1.4
'submit' => 'OK', //cpg 1.4
'up' => 'up one level', //cpg 1.4
'current_path' => 'current path', //cpg 1.4
'select_directory' => 'please select a directory', //cpg 1.4
);
Notice: Undefined index: folder in D:\Localhost\dev-Coppermine\devel\minibrowser.php on line 151
On Startpage from minibrowser.php this variable is not defined. I've change this line to the following:
if ((!empty($_REQUEST['folder']) || !empty($_REQUEST['startfolder'])) && ($folder != '' && $folder!= '/')) {
Hmm, not sure if it's ok, but it seams to work...
Notice: Undefined index: PATH_TRANSLATED in D:\Localhost\dev-Coppermine\devel\include\functions.inc.php on line 2680
Notice: Undefined variable: HTTP_SERVER_VARS in D:\Localhost\dev-Coppermine\devel\include\functions.inc.php on line 2681
Notice: Undefined variable: HTTP_SERVER_VARS in D:\Localhost\dev-Coppermine\devel\include\functions.inc.php on line 2682
- $_SERVER['PATH_TRANSLATED'] is not defined on every PHP-Installations.
- the old servervariable HTTP_SERVER_VARS is not global in this function
my solution:
change line 2680 to this:
if (isset($_SERVER["PATH_TRANSLATED"])) $path_from_serverroot[] = $_SERVER["PATH_TRANSLATED"];and delete line 2681-2682