Yii Framework Forum: Form Is Closing Unexpectedly - Yii Framework Forum

Jump to content

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

Form Is Closing Unexpectedly Rate Topic: -----

#1 User is offline   rafayZia 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 21
  • Joined: 20-September 13
  • Location:Lahore,Pakistan

Posted 20 September 2013 - 01:47 AM

THIS may be a trivial question or basic question but i am unable to find the solution as i am a newbie to yii.
Yesterday when i turned off my computer, my app was working well, no issue was there. But today when i started my app then i got not an error but my app was not working.
I have a controller named `Credentials` in which Create action is specified. In my app when i click on create then page navigates to that page but does not render anything.
When i used Xdebug to find the error i did not find any error but i found that in `inde.php` file when control is transferred to this line

Yii::createWebApplication($config)->run();


Then my IDE goes to below code in `CApplication.php`


 public function end($status=0,$exit=true)
    	{
    		if($this->hasEventHandler('onEndRequest'))
    			$this->onEndRequest(new CEvent($this));
    		if($exit)
    			exit($status);
    	}

I dont know about this behaviour that why it is going there rather it should go to start request. Kindly help me in this regard.
0

#2 User is offline   softark 

  • Keep It Simple
  • Yii
  • Group: Moderators
  • Posts: 2,101
  • Joined: 16-February 11
  • Location:Japan

Posted 27 September 2013 - 09:24 PM

/* Moved from "Bug Discussions" to "General Discussion for Yii 1.1.x" */
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