Yii Framework Forum: Add Of Exceptions For Uploading File Errors - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Add Of Exceptions For Uploading File Errors or others... Rate Topic: ***** 1 Votes

#1 User is offline   Zugluk 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 205
  • Joined: 08-August 12

Posted 16 September 2013 - 09:18 AM

Hi all,

It should be nice to throw exception error for uploading file errors (or other errors in save() or validate() function). Indeed, I changed my development environment recently and it was so awful to work on the fact that uploading file didn't work anymore. To be able to know why it didn't work I had to read the $_FILES variable and to get the error code which is not very intuitive. I try to implement my own exception error function but it doesn't work. Because of that error (which was a miss of temporary folder) my form simply refreshed at every submit without sending any error or CHttpException like it would.
0

#2 User is offline   EdalinC3 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 4
  • Joined: 02-January 15
  • Location:PK

Posted 03 January 2015 - 05:49 PM

I've some problems with my Yii system. All modules are working fine in the system, but there is an error with the activity module
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

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