Yii Framework Forum: "Production Mode" always ON - Yii Framework Forum

Jump to content

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

"Production Mode" always ON Rate Topic: -----

#1 User is offline   Ƒяąȼţąℓ ϻɨɲď 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 80
  • Joined: 04-May 12

Posted 03 March 2015 - 09:10 PM

It's probably a stupid question, but my application is suddenly stuck on "Production Mode" and I'm too far in the commits to rollback.

I copied "defined('YII_DEBUG') or define('YII_DEBUG', TRUE)" right over the Yii::createWebApplication and still the application is set to Prod <_<
defined('YII_DEBUG') or define('YII_DEBUG', TRUE); //Added right on top of run() still no effect.
defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
if( !$hasError )
       Yii::createWebApplication( $config )->run();


Anyone knows where this could of been switched to prod?
Or where can I, at least, force it back to Debug mode?

0

#2 User is online   Bizley 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 281
  • Joined: 29-July 14
  • Location:Wrocław

Posted Yesterday, 02:43 AM

What makes you think your app is in prod mode? Have you tried to add error_reporting(E_ALL); ?
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