# |
Sep 11th 2009, 08:14 |
Scotto |
whenever i upload a file from a form, it reads "application/force-download" but its supposed to be a pdf |
# |
Sep 11th 2009, 08:13 |
MikeMnD |
!bin |
# |
Sep 11th 2009, 08:13 |
TehTreag |
) |
# |
Sep 11th 2009, 08:12 |
markstory |
rchavik: sure |
# |
Sep 11th 2009, 08:12 |
markstory |
TehTreag: exactly, I do enough work for free as it is. :) |
# |
Sep 11th 2009, 08:12 |
Ceeram |
Add-: return parent::beforesave() instead of true |
# |
Sep 11th 2009, 08:11 |
rchavik |
markstory: no.. i have an enhancement idea, but would like to get your opinion on it before i start working on it.. |
# |
Sep 11th 2009, 08:11 |
TehTreag |
markstory: Doing more work isn't the problem, is it? As long as it's work for pay. Right? :) |
# |
Sep 11th 2009, 08:10 |
markstory |
Miika--: well that has nothing to do with date errors. |
# |
Sep 11th 2009, 08:09 |
Miika-- |
markstory: and i have this line on my php.ini error_reporting = E_ALL and ~E_DEPRECATED |
# |
Sep 11th 2009, 08:08 |
markstory |
does it involve me doing more work? |
# |
Sep 11th 2009, 08:08 |
rchavik |
markstory: hi mark, i have an idea that i want to discuss with you.. can i pm you? |
# |
Sep 11th 2009, 08:08 |
markstory |
csiegert: constants are faster |
# |
Sep 11th 2009, 08:07 |
davidebenini |
this doesn't work |
# |
Sep 11th 2009, 08:07 |
Miika-- |
markstory: yes, im running 5.3.0 |
# |
Sep 11th 2009, 08:07 |
davidebenini |
$page_conditions = array('Company.name like'=> urlencode("%".$this->data['Company']['name'].'%'); |
# |
Sep 11th 2009, 08:07 |
csiegert |
What is to prefer for values that never change: constants or Configure? |
# |
Sep 11th 2009, 08:07 |
davidebenini |
been experinmenting wit urlencoding conditions |
# |
Sep 11th 2009, 08:07 |
davidebenini |
back |
# |
Sep 11th 2009, 08:07 |
Gothfunc |
lo |
# |
Sep 11th 2009, 08:07 |
markstory |
there is a setting in core.php in the 1.2.5 package/checkout for this as well. |
# |
Sep 11th 2009, 08:07 |
markstory |
you are running 5.3 and don't have your ini file setup properly. |
# |
Sep 11th 2009, 08:06 |
Add- |
Miika--: cake is picking up on a bad setting in your php install (i think), you should try looking there first |
# |
Sep 11th 2009, 08:03 |
Miika-- |
-web |
# |
Sep 11th 2009, 08:03 |
Miika-- |
I haven't written any code yet, that's in CakePHP... I just unzippded the CakePHP to my web folder |
# |
Sep 11th 2009, 08:01 |
TehTreag |
Miika--: I'd chase down where that timezone is specified and resolve the issue as recommended in the warning. php.ini, httpd environment, somewhere. |
# |
Sep 11th 2009, 07:59 |
TehTreag |
hmvrulz: That's the default behavior, provided I understand correctly. Have you tried it? |
# |
Sep 11th 2009, 07:59 |
Miika-- |
can anyone help me with this? |
# |
Sep 11th 2009, 07:59 |
Add- |
and if you call debug($Model->data) in the behavior it shows the modification was done correctly.. |
# |
Sep 11th 2009, 07:58 |
Add- |
it saves fine but with {name} in there instead of the real name |
# |
Sep 11th 2009, 07:58 |
Add- |
nor me :( |
# |
Sep 11th 2009, 07:58 |
Miika-- |
i just unzipped my first cake and i get this http://pastie.org/613510 |
# |
Sep 11th 2009, 07:58 |
rchavik |
Add-: sorry.. can't see anything wrong with it.. |
# |
Sep 11th 2009, 07:57 |
Miika-- |
hello |
# |
Sep 11th 2009, 07:53 |
Add- |
rchavik: that's sort of a hack, i'm using model::saveall to automagic the association and it will only save if the form is in the structure [News][x][...] |
# |
Sep 11th 2009, 07:52 |
hmvrulz |
ya i hav gone through tutorials .. in that example they hav redirected the afterlogin page to post add i wanted to do it to the action from whr it was redirected |
# |
Sep 11th 2009, 07:50 |
rchavik |
Add-: you're only modifying the second record ? |
# |
Sep 11th 2009, 07:49 |
TehTreag |
BlackIce: No problem. |
# |
Sep 11th 2009, 07:49 |
BlackIce |
thanks TehTreag |
# |
Sep 11th 2009, 07:48 |
BlackIce |
oh yeah, good idea |
# |
Sep 11th 2009, 07:48 |
BlackIce |
well, it's because models have a save callback |