Coppermine: Batch upload says you have no files.
Posted: Mon Nov 28, 2005 11:33 pm
This only affects Windows hosts. The series of steps comes from discussion of the 1.4 beta. (It still hasn't been fixed in 1.4.2.)
In include/functions.inc.php, FIND (around line 2681):
REPLACE WITH:
In searchnew.php, FIND (around line 551):
REPLACE WITH:
In minibrowser.php, FIND (around line 177):
REPLACE WITH:
In include/functions.inc.php, FIND (around line 2681):
Code: Select all
$filename = ltrim(strrchr($_SERVER['PHP_SELF'], '/'), '/');
Code: Select all
$filename = ltrim(strrchr('/' . $_SERVER['PHP_SELF'], '/'), '/');
Code: Select all
$iframe_startfolder .= str_replace('searchnew.php', '', __FILE__).rtrim($CONFIG['fullpath'], '/').'/';
Code: Select all
$iframe_startfolder .= rtrim($CONFIG['fullpath'], '/').'/';
Code: Select all
print '<a href="'.$linktarget.'?startdir='.rtrim(str_replace($_REQUEST['limitfolder'], '',$folder), '/').'"
Code: Select all
print '<a href="'.$linktarget.'?startdir='.trim(str_replace($_REQUEST['limitfolder'], '',$folder), '/').'"