ErrorException [ Warning ]: fopen(): Filename cannot be empty

SYSPATH/classes/class.httpdownload.php [ 197 ]

192 			$size = filesize($this->data);
193 			
194 			if ($seek > ($size - 1)) $seek = 0;
195 			if ($this->filename == null) $this->filename = basename($this->data);
196 			
197 			$res = fopen($this->data,'rb');
198 			if ($seek) fseek($res , $seek);
199 			if ($this->seek_end < $seek) $this->seek_end = $size - 1;
200 			
201 			$this->header($size,$seek,$this->seek_end); //always use the last seek
202 			$size = $this->seek_end - $seek + 1;
  1. {PHP internal call} » Core::error_handler(arguments)

  2. SYSPATH/classes/class.httpdownload.php [ 197 ] » fopen(arguments)

  3. SYSPATH/classes/file.php [ 295 ] » httpdownload->download()

  4. APPPATH/classes/controller/attachment.php [ 139 ] » File::down_file(arguments)

  5. APPPATH/classes/controller/attachment.php [ 113 ] » Controller_Attachment->download(arguments)

  6. {PHP internal call} » Controller_Attachment->action_down()

  7. SYSPATH/classes/request.php [ 827 ] » ReflectionMethod->invokeArgs(arguments)

  8. APPPATH/bootstrap.php [ 126 ] » Request->execute()

  9. ROOT_PATH/index.php [ 116 ] » require(arguments)

Environment

error