1
MS-2001
XoopsMediaUploader
  • 2005/9/26 19:07

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


I got a File on 'C:\' called 'oscal_full.jpg' --> 'C:\oscal_full.jpg'.

Using the XoopsMediaUploader class i can upload it without any problems in one of my files but not in an other. That's why I opend that thread.

I got a form with 10 fileboxes:


The next box is image_file_1 and so on.

But the upload process drives me crazy here. $uploader->fetchMedia($_POST['xoops_upload_file'][$i]) returns false every time so i had a look on the var_dump of $_FILES[$_POST['xoops_upload_file'][$i]]:

array(5) { ["name"]=> string(14) "oscar_full.jpg" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(2) ["size"]=> int(0) }

That's all I get. But it's only with this upload form. Any other works fine. So what's my problem?!!? I can't find any mistake after two hours of looking for any.

Hope to get any answers :-/

2
MS-2001
Re: XoopsMediaUploader
  • 2005/9/27 14:05

  • MS-2001

  • Quite a regular

  • Posts: 204

  • Since: 2004/7/27


After another two hours of looking for the "fatal error" I found it.

It was the MAX_FILE_SIZE. It had to be much higher to make it work. But don't ask me why !?!?! :-/

Login

Who's Online

426 user(s) are online (349 user(s) are browsing Support Forums)


Members: 0


Guests: 426


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits