[TYPO3-core] EM2 problems.

Dmitry Dulepov typo3 at accio.lv
Wed May 10 08:14:58 CEST 2006


Hi!

Bernhard Kraft wrote:
> Because I tracked it down and it ISN'T realted to memory issues. I set post_max_size to 128MB, max_upload_size to 128MB,
> In the install tool: [BE][maxFileSize]=100000
> 
> And it still doesn't work.
> 
> I could track it down to the following issue:
> 
> * You upload an extension via the "File-Upload" direct import. (File gets posted)
> * There is any kind of conflict and you choose to ignore it (Uploaded file does not
> get reposted or no reference to uploaded file is stored in session vars or similar)
> * The above error "No file uploaded!" occurs because:
> 
> typo3/mod/tools/em/class.em_index.php line 1630:
>       if ($_FILES['upload_ext_file']['tmp_name']) {
> 
> evaluates to false.

Minor note, neither old code, not patch uses is_uploaded_file(). It
should be used for security reasons. This function is available in PHP 3
>= 3.0.17, PHP 4 >= 4.0.3, PHP 5.

I am not sure, which of two patches I prefer. I think user should always
resubmit the file and not refresh frame contents.

Dmitry.
-- 
"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