Yii Framework Forum: Cuploadedfile::getinstance - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Cuploadedfile::getinstance getInstance return null Rate Topic: -----

#1 User is offline   candasm 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 14-January 12

Posted 09 May 2013 - 12:47 PM

Hi,

I wanted use activeRecord filevalidation for upload file. I realise CUploadedFile::getInstance returns null. But same time i am checking my global variable $_FILES file uploaded then i tried CUploadedFile::getInstanceByName works perfect. I think its a bug of yii version 1.1.13



- mac osx 10.8.1
- apache2
- chrome
- yii-1.1.13.e9e4a0
0

#2 User is offline   Maurizio Domba Cerin 

  • Yii - Yesss It Is !!!
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,317
  • Joined: 12-October 09
  • Location:Croatia

Posted 10 May 2013 - 02:27 AM

GitHub issue - https://github.com/y...yii/issues/2465
Find more about me.... btw. Do you know your WAN IP?
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users