Author Topic: Error: Function Copy "Filename cannot be empty in..."  (Read 8157 times)

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Error: Function Copy "Filename cannot be empty in..."
« on: May 07, 2009, 12:14:08 pm »
I can upload small files fine, but as soon as I try larger files, I get the following error.

#1 ERROR: Error: copy() [<a href='function.copy'>function.copy</a>]: Filename cannot be empty in 'C:\inetpub\wwwroot\opengoo\application\controllers\FilesController.class.php' on line 404 (error code: 2)


The last file I uploaded was 12MB. My php.ini limit is 25MB. Any ideas?

1.4-beta2

Thomas

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: Error: Function Copy "Filename cannot be empty in..."
« Reply #1 on: May 09, 2009, 01:45:08 pm »
Doh :P user error all the way...

For anyone else, change both the following entries in php.ini:

upload_max_filesize =
post_max_size =

Make the post_max larger than the upload_max.