Log message #3150142

# At Username Text
# Jan 30th 2014, 18:27 jhughes I have an existing cakephp application running in development mode on one server and it is also running in production mode on a few others. I want to install and use debug kit, but I don't want it to be in the production versions. I was thinking I should put it in my gitignore so it doesn't transfer, but then errors occur because AppController is trying to load it. What is the proper way to accomplish this?
# Jan 30th 2014, 18:11 DiegoHeras hi! Somone could say me where can i find the information to create a easy form with a list box?
# Jan 30th 2014, 18:09 DiegoHeras Alguein que hable español y me heche una mano?
# Jan 30th 2014, 18:09 DiegoHeras hola?
# Jan 30th 2014, 17:58 egalles79 i ve been testing translateModel. I ve tested 2 models, in the first one i put public $translateModel = 'StarI18n'; and then in the TranslateBehaviour, when i print the RuntimeModel shows me the model of StarI18n , when i do it in another model (similar, only changes the name 'Extra') the RuntimeModel show 'AppModel' > any idea about a solution ?
# Jan 30th 2014, 17:55 egalles79 hi guys
# Jan 30th 2014, 17:46 mini-me thanks for all your help, (everyone who helped!)
# Jan 30th 2014, 17:46 mini-me https://stackoverflow.com/questions/21455700/cakephp-error-call-to-a-member-function-parseaccept-on-a-non-object/21455701#21455701
# Jan 30th 2014, 17:46 mini-me dumb error I had today: (I should've read the manual PROPERLY!!):
# Jan 30th 2014, 17:41 WebDev4Lyfe any way to get a list of all the urls form your routes?
# Jan 30th 2014, 17:03 Neon1024 !source
# Jan 30th 2014, 17:03 Neon1024 As I wonder this every time I see this stupid message
# Jan 30th 2014, 17:03 Neon1024 http://stackoverflow.com/questions/21462673/what-does-this-error-actually-mean
# Jan 30th 2014, 17:03 Neon1024 Rep up for grabs!
# Jan 30th 2014, 16:57 mini-me loving php code sniffer, can't believe i've never used this before!, It really helps you writing consistent code across your app (especially when picking up from other crappy debs!!)
# Jan 30th 2014, 16:56 mini-me this upgrades coming along well!!! knocking through the errors like the ladies...!
# Jan 30th 2014, 16:33 mini-me I really need to read up on cake 2.x (been using 1.3 for over 2 years now), and a poorly coded 1.3 as well, thanks for all the support, it really is appreciated
# Jan 30th 2014, 16:32 mini-me @Neon1024 - thanks!, I just found it!: http://api.cakephp.org/2.2/function-env.html
# Jan 30th 2014, 16:32 Neon1024 mini-me: env()
# Jan 30th 2014, 16:31 mini-me how do I access $_SERVER using a cakephp function (rather than using the super global)
# Jan 30th 2014, 16:30 mini-me I'm getting an error "Do not Access Superglobal $_SERVER Array Directly."
# Jan 30th 2014, 16:30 mini-me quick question, i'm using code sniffer to make sure my code is to standards,
# Jan 30th 2014, 16:25 mini-me just fyi incase anyone else has this issue in the future!
# Jan 30th 2014, 16:25 mini-me $smarty->error_reporting = null;
# Jan 30th 2014, 16:25 mini-me I had to set the following (smarty had set it to NULL)
# Jan 30th 2014, 16:24 mini-me hey guys, I found my issues, again its with SMARTY!!!
# Jan 30th 2014, 16:04 halim np
# Jan 30th 2014, 16:01 Neon1024 I don't understand, sorry
# Jan 30th 2014, 16:00 halim Neon1024, using Model::find()
# Jan 30th 2014, 15:59 halim what i meant was that, rather than passing fields that should be included whether you could pass fields that will be ignored and all the other fields will be included in the query
# Jan 30th 2014, 15:59 halim in an action
# Jan 30th 2014, 15:56 Neon1024 halim: Pass from where?
# Jan 30th 2014, 15:50 mini-me i've tracked down my bug in the cake php core code, I find its failing in /lib/Cake/View/View.php -> _render()
# Jan 30th 2014, 15:48 halim is there a way to pass fields that should not be included in the query?
# Jan 30th 2014, 15:44 Neon1024 $this->User->Lead->find()
# Jan 30th 2014, 15:44 Vikky )
# Jan 30th 2014, 15:44 Neon1024 Or if your models are related you could find the leads added by that User
# Jan 30th 2014, 15:44 Vikky oh
# Jan 30th 2014, 15:44 Neon1024 You'll want to lookup the lead I should think
# Jan 30th 2014, 15:44 Neon1024 Then I would be doing your job for you :p
# Jan 30th 2014, 15:44 Neon1024 Of course not