# |
Jan 29th 2014, 00:50 |
akira2014 |
i've checked all the htaccess but can find we is the mistake |
# |
Jan 29th 2014, 00:49 |
akira2014 |
hello i'm getting a 500 internal server error in an old app make with cakephp |
# |
Jan 28th 2014, 23:26 |
sun2014 |
good night |
# |
Jan 28th 2014, 23:26 |
sun2014 |
ok thanks for ur answer...i will try it and then if problems occure, i will inform u ;) |
# |
Jan 28th 2014, 23:19 |
voycey |
Not really a valid question - just plan out what you want to do and then start building it |
# |
Jan 28th 2014, 23:16 |
sun2014 |
i want to implement an histroy system with cakephp. dose anybody have an Idea, where i find details about it or synonm words for "history system" to increaset the success rate by google? |
# |
Jan 28th 2014, 23:15 |
sun2014 |
hi |
# |
Jan 28th 2014, 23:14 |
voycey |
Oh also Debug is 2 so it shouldnt even be processing filters right? |
# |
Jan 28th 2014, 23:12 |
voycey |
https://gist.github.com/voycey/fff2ec6b89202612e97d anyone got any idea why this is happening with AssetCompress? It is driving me mad - yuicompressor is definitely there and java is installed - it works fine on all of my other boxes - just not on my vagrant box |
# |
Jan 28th 2014, 23:09 |
dereuromark |
why not using input()? |
# |
Jan 28th 2014, 23:02 |
star_prone |
is there a way to define labels for a checkbox if I create it with FormHelper::checkbox? |
# |
Jan 28th 2014, 22:49 |
tigrang |
I'm skoool learneding |
# |
Jan 28th 2014, 22:48 |
dereuromark |
go do sth useful :P |
# |
Jan 28th 2014, 22:48 |
dereuromark |
what are you doing anyway |
# |
Jan 28th 2014, 22:48 |
tigrang |
oh ok |
# |
Jan 28th 2014, 22:48 |
dereuromark |
my other me |
# |
Jan 28th 2014, 22:48 |
tigrang |
dereuromark: who asked you |
# |
Jan 28th 2014, 22:45 |
dereuromark |
decimal 10,2 is fine IMO |
# |
Jan 28th 2014, 22:30 |
biesbjerg |
10000 = 100.00 $currency |
# |
Jan 28th 2014, 22:30 |
biesbjerg |
having said that I actually use INT for monetary values |
# |
Jan 28th 2014, 22:28 |
Nick__ |
just googled it and found it as you said that |
# |
Jan 28th 2014, 22:28 |
Nick__ |
thanks :) I had 10,1 |
# |
Jan 28th 2014, 22:28 |
biesbjerg |
(2 decimal places) |
# |
Jan 28th 2014, 22:28 |
biesbjerg |
to be to save 29.04 you should use decimal(10,2) |
# |
Jan 28th 2014, 22:25 |
Nick__ |
I am using decimal(10,0) but when i insert 29.04 it just saves as 29 |
# |
Jan 28th 2014, 22:24 |
Nick__ |
hi all, what would the best mysql type be for currency? |
# |
Jan 28th 2014, 20:53 |
beporter |
The pattern seems to be to prefix the issue title with "3.0 - ". |
# |
Jan 28th 2014, 20:08 |
rvsjoen |
tried googling a bit but most of it is just people reinventing the wheel on stackexchange |
# |
Jan 28th 2014, 20:08 |
rvsjoen |
so, anyone know about any pre-baked or even half-baked functionality for implementing a RESTful api, using token-based authentication ? |
# |
Jan 28th 2014, 20:01 |
beporter |
If such a thing exists, this is the group of people to know about it. |
# |
Jan 28th 2014, 20:01 |
beporter |
It wouldn't be pretty, but it seems like I could just require_once() it in my core config. I'm looking for a more elegant suggestion than that though. |
# |
Jan 28th 2014, 19:59 |
dereuromark |
without namespaces this will not be possible |
# |
Jan 28th 2014, 19:59 |
dereuromark |
https://github.com/dereuromark/tools/blob/master/Test/Case/Model/KeyValueTest.php#L9 |
# |
Jan 28th 2014, 19:59 |
beporter |
Like I said, I want to avoid having to include my class at the top of ALL of my test cases. |
# |
Jan 28th 2014, 19:59 |
dereuromark |
extend the class and include it at the top of the file |
# |
Jan 28th 2014, 19:57 |
beporter |
In 1.3, if I wanted to always use my own subclass of CakeTestCase, say from a plugin, is there an easy and clean way to get it include()d "globally" (testing contexts) without having to use App::import(...) at the top of every test file? For example, putting the necessary App::import() into config/core.php seems kinda hacky. |
# |
Jan 28th 2014, 19:41 |
liamkeily |
Solved the above, think it was due to cacheing |
# |
Jan 28th 2014, 19:28 |
liamkeily |
http://bin.cakephp.org/view/373845727 |
# |
Jan 28th 2014, 19:25 |
liamkeily |
I'm trying to use the contain parameter on a find query to include another model which has a hasMany relationship. But it says it can't because the models are not associated.. confused |
# |
Jan 28th 2014, 18:49 |
liamkeily |
ah, i wasn't sure what HasAndBelongsToMany is for. I have just used belongsTo in my joining model. I will try that thanks :) |
# |
Jan 28th 2014, 18:44 |
BackEndCoder |
... |