[TYPO3-core] RFC: Bug 4035: Error message when uploading one or two files in file-browser (BE)
Dmitry Dulepov
typo3 at accio.lv
Thu Aug 31 13:43:48 CEST 2006
Hi!
Ernesto Baschny [cron IT] wrote:
> This is a SVN patch request.
>
> This was fixed during T3DD, I just forgot to bring it up in the
> core-list for discussion. Maybe still in time for 4.0.2?
>
> Problem:
> You get an error message "2: No file was uploaded!" when uploading one
> or two files in file-browser (BE).
Patch generally works (file upload possible) but I got a PHP warning
after upload:
=========================
Warning:
parse_url(/typo3/file_list.php?id=C:/Projects/t3test/fileadmin/user_upload)
[function.parse-url]: Unable to parse url in
C:\Projects\t3test\typo3\template.php on line 437
=========================
It happens *only* immediately after upload. Corresponding code:
=========================
function makeShortcutIcon($gvList,$setList,$modName,$motherModName="") {
$backPath=$this->backPath;
$storeUrl=$this->makeShortcutUrl($gvList,$setList);
$pathInfo = parse_url(t3lib_div::getIndpEnv('REQUEST_URI'));
=========================
Probably, related?
--
Dmitry Dulepov
http://typo3bloke.net/
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-team-core
mailing list