# |
Jan 30th 2014, 19:22 |
chris______ |
but |
# |
Jan 30th 2014, 19:22 |
chris______ |
i see |
# |
Jan 30th 2014, 19:14 |
todds |
verbose correction |
# |
Jan 30th 2014, 19:12 |
the-neon |
now... is it possible to use one action for a HasManyThrough add/save? Possible/Correct? |
# |
Jan 30th 2014, 19:08 |
TeckniX |
chris______: doesn't look like it's deleting anything - You're passing an ID for each, so it's just over-writing the previous data at the ID found |
# |
Jan 30th 2014, 19:08 |
the-neon |
that's what you need 99% |
# |
Jan 30th 2014, 19:08 |
the-neon |
chris____ open the book and on model associations read about 'unique' |
# |
Jan 30th 2014, 19:08 |
the-neon |
lol |
# |
Jan 30th 2014, 19:07 |
TeckniX |
(s/like/lie/) correction: Don't lie bot.. |
# |
Jan 30th 2014, 19:07 |
TeckniX |
Don't like bot.. |
# |
Jan 30th 2014, 19:07 |
chris______ |
i set nothing. All I did was <pre>public $hasAndBelongsToMany = 'Product';</pre> on Quotation and viceversa |
# |
Jan 30th 2014, 19:06 |
TeckniX |
!seen dereuromark |
# |
Jan 30th 2014, 19:05 |
the-neon |
in your HABTM declaration what have you set for 'unique' ? |
# |
Jan 30th 2014, 19:04 |
the-neon |
can you pastebin your model? |
# |
Jan 30th 2014, 19:02 |
chris______ |
the problem I'm having is that before inserting a new row in the relationship table, it deletes the previous one |
# |
Jan 30th 2014, 19:02 |
chris______ |
Hello, I'm having issues saving HABTM data. Here's the debug() of the array http://bin.cakephp.org/view/1341935031 |
# |
Jan 30th 2014, 18:40 |
NetersLandreau |
probably not.. it's just a habit of mine |
# |
Jan 30th 2014, 18:36 |
jhughes |
NetersLandreau: thanks but I just realized that it just won't display if debug level is 0 (production) so I don't think this is an issue. Is loading the debug kit resource intensive? Is it worth to load it conditionally? |
# |
Jan 30th 2014, 18:35 |
NetersLandreau |
jhughes: this may work for - http://bin.cakephp.org/view/12966909 |
# |
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, |