you should always mention the current cakephp version
I am assuming however that you use 1.3 (due to App::import)
yes, you can. quite easily as a matter of fact.
inside your component, all you have to do:
$this->controller->helpers[] = 'MyPluginName.MyHelperName';
or
$controller->helpers[] = 'MyP
@daniel
using cake2 you should distance yourself from GET requests changing
the DB
it always was a bad idea to do so in the first place
use Form->postLink() instead
On 9 Dez., 00:28, Daniel wrote:
> I used an action:
>
> Html->link(__('Mark as read', true),
> array('action' => 'read', $email['Em
POST to be set if PUT is set (as PUT is usually a sub-
part of POST). or ALWAYS set POST.
On 8 Dez., 23:03, euromark wrote:
> I think its the FormHelper
>
> a simple:
> Form->create('User', array('id'=>'userData'));?>
>
> results in:
&g
'put' : 'post',
$created is true and $options['action'] is undefined => put...
On 8 Dez., 22:47, Miles J wrote:
> What are your HTTP headers?
>
> On Dec 8, 1:44 pm, euromark wrote:
>
>
>
>
>
>
>
> > thats really weird.
>
is('post')
>
> in Google Chrome (latest): true
> Firefox (latest): true
> IE 8: true
>
> i'm on xampp 1.7.3 with php 5.3.5
> and Cake version: 2.0.4
>
> so problem is somewhere in your project or maybe server configuration
> --
> Lep pozdrav, Tilen Majerleht
For 2.0 I just changed all
if (!empty($this->data))
to
if ($this->request->is('post'))
But now it haunts be.
In FF8 Cakephp $this->request does say "false" after a normal post
(whereas firebug itself says it is a post)
but is('put') returns true
Same with every other browser it seems.
so it never
why are you purposely setting 'escape'=>true?
if you want to use html inside an element you are shooting yourself in
the foot this way.
it should rather by false then.
On 7 Dez., 21:10, Blues Clues wrote:
> Hi:
>
> I have a, hopefully, silly problem. Can you help ?
>
> I have for Form->Button in
it would also be nice if one could jump from 1.3 => 2.0 for the same
thing
often times the google results are still on 1.3
but then I have to "research" in the ajax box what I have been looking
for before because there
is no direct link
On 7 Dez., 18:19, mark_story wrote:
> I've toyed with addin
what AD said I can only confirm
if those are user records (which contain a user_id) you will have to
verify that those records belong to the right users, as well.
therefore I always use $this->find('first') in
- every edit action
- every delete action
at the very beginning
this way you can easily p
in such cases simply take a look at the core folder
its not like it is a big secret
there you will find the Helper.php in /View (not in /View/Helper)
therefore you need to adjust your uses statement accordingly
i know, it can be confusing
App::uses('Helper', 'View');
but
App::uses('AppHelper', 'Vi
you can always use foreach() ;)
the set:: methods wont use anything else, either (internally)
so its also the quickest way of doing it.
On 6 Dez., 22:41, McScreech wrote:
> I am completely stumped. I have tried combinations of Set::extract,
> Set::classicExtract, Set::combine, and Set::flatten
what do mean by that?
without more specifics and some code you already tried out nobody will
be able to help you I'm afraid
On 6 Dez., 07:55, Sandip Ghosh wrote:
> How Can I do custom pagination in Cake PHP ?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
automagic only works with the $variableName being the same than field
name (nothing to do with foreignKeys)
$recipients means that the field should be "recipient" or
recipient_id" or "recipients"
so in your case try $toUsers or simply set it manually using
'options'=>$recipients
On 6 Dez., 16:4
> whichever I use, which is why I posed the question.
>
> I have always used the first example. The only apparent difference is when
> examining $this->params; with the first I see a key of 'admin' => 1 (not
> surprisingly) and with the second I see a key o
>From a glance I see only 2 code flaws:
"private" declarations shouldnt be used inside a framework without
very good reason to do so (use "protected" instead)
->Save should probably be ->save
and it would probably be a good idea to make a test case for it.
especially since revisions and everything
the first one is correct (using the prefix "admin") if you want to use
prefixes and get an url like
/admin/controller/action
the second one doesnt use prefixes and would result in
/controller/action (admin_ is a meaningless prefix here)
On 5 Dez., 18:35, Jeremy Burns wrote:
> Cake 1.3
>
> Is th
not that much different from 1.3 actually:
http://www.dereuromark.de/2011/10/31/freshly-baked-cake2-0-tips/
On 6 Dez., 01:55, GG wrote:
> I would like to send out a simple e-mail at 5:00pm to all users.
>
> I have a users table:
> id username password email.
>
> I have found other tutorials, but
For starters, I can provide German (both informal and formal).
On 3 Dez., 22:32, euromark wrote:
> Since the introduction of "cake" as domain for many common framework
> translations, the translations from the default.po are not used
> anymore. Leaving the strings untranslate
-populate the select list with the reporters' names
> > like it does if the database already contains a field called "name".
> > As it happens, Cake does not auto populate the multi select list this
> > way when a virtual field called "name" is used.
>
&g
$Model->alias is usually more accurate than $Model->name
and you should include models using
$notification = ClassRegistry::init('Notification');
On 5 Dez., 12:51, Jeremy Burns | Class Outfit
wrote:
> What are you trying to achieve?
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
you might be doing sth wrong
how are you processing the result?
because Reporter__name is correct so far.
cake will then automatically merge the content of this key back to the
Model result array with the key "name".
and then it should be available with
$result['Reporter']['name']
since "name" an
Since the introduction of "cake" as domain for many common framework
translations, the translations from the default.po are not used
anymore. Leaving the strings untranslated, of course.
I imagine once translated a cake.po file does not change that often
anymore.
Are there any plans for a central
well, thats another problem, of course.
without last=>true if will show the wrong validation message
but your empty string will always be hashed as well (using cake1.3)
thats why you shouldnt use "password" as field name.
I recommend reading:
http://www.dereuromark.de/2011/08/25/working-with-pass
you should be using "last"=>true for every subrule
http://book.cakephp.org/2.0/en/models/data-validation.html?highlight=last
On 3 Dez., 18:16, heohni wrote:
> Hi folks!
>
> Whats wrong here?
> var $validate = array(
> 'ben_name' => array(
> 'required' => array('rule' => 'notE
for overcoming the above phpunit 3.6 output swallowing this might work
as an enhancement for the CakeTestCase class:
/**
* outputs debug information during a web tester (browser) test case
* since PHPUnit>=3.6 swallowes all output by default
* this is a convenien
you probably want to use Router::url()
On 3 Dez., 14:22, Todong wrote:
> Hi, everyone!
>
> I know HtmlHelper::link() can generate a link whose url is generated
> by an array containing controller, action and parameters
> e.g.
> HtmlHelper::link('book', array('controller'=>'books',
> 'action'=>'v
thats because it wont be the real model but an app model instance :)
i figured that out the hard way, too
On 2 Dez., 15:47, Roland wrote:
> Ah, of course^^
>
> Thx, now it works :)
>
> best regards,
> Roland
>
> On 30 Nov., 04:46, euromark wrote:
>
>
>
>
&g
personally I would find it more interesting to know what has to be
"fixed" (missing closing p tag etc)
because one should ask himself why the output has to be fixed in the
first place.
after all its the own code which should have been valid from the start
(if its your layout/template stuff and not
i think it is possible but would create quite some overhead...
and yes, it would probably break MVC
On 2 Dez., 10:16, Dan wrote:
> I would like to write a Helper which would check if a given link is
> authorized for the current user.
>
> I'm using CakePHP 2.0. I'm using the AuthComponent with con
or not using any spaces in filenames (bad thing to do anyway^^)
On 1 Dez., 07:40, Graham Weldon wrote:
> The alternative is moving your assets to the web root, instead of symlinking
> them, I guess.
>
> Cheers,
> Graham Weldonhttp://grahamweldon.com
> e. gra...@grahamweldon.com
> p. (+61) 0407
://github.com/dereuromark/cakephp/blob/2.0hacked/lib/Cake/Model/Model.php#L705
On 1 Dez., 12:15, Mattia Manzati wrote:
> I have the same problem on Cake 2.0.4. Any way to solve?
>
> On 31 Ott, 17:27, euromark wrote:
>
>
>
>
>
>
>
> > OK... it happens on normal views
if you are using the new EmailLib in 2.0 you should be using the
setter methods:
$this->Email->to()
etc
On 1 Dez., 06:36, Graham Weldon wrote:
> What CakePHP version are you on?
>
> Cheers,
> Graham Weldonhttp://grahamweldon.com
> e. gra...@grahamweldon.com
> p. (+61) 0407 017 293
> Skype: graha
I guess you made a mistake in your form
why is it not echo $this->Form->input('period_id');
(note the _id)?
tip:
let cake bake your code. this way less mistakes can be made and such
as above easily be avoided
On 1 Dez., 00:09, GG wrote:
> The form is successfully adding a new entry to the table
I only thing I am wondering about that plugin is, whether it supports
assert compression by using the default
$this->Html->css/script syntax
Or if one would have to completely rewrite all views/layouts here. (to
$this->AssetCompress->...)
>From the look into the code and docs it seems this is neces
please take a lot at the book starting right about here:
http://book.cakephp.org/2.0/en/console-and-shells/code-generation-with-bake.html?highlight=bake
On 30 Nov., 17:15, joserafael wrote:
> No, the blog tutorial cover only post. I dont know who to do it
>
> On 30 nov, 07:12, phpMagpie wrote:
a) you dont have to submit it to cake
if you really want to go down that road, build your own class and put
it in
/app/Lib/Network/Email/
CakePHP will then use your custom class instead
b) if you wont to know if it works, try it - but I woudn't recommend
it
On 30 Nov., 06:32, localhost wrote:
>
the conditional associations almost useless and I bet it catches a
> lot of people out. It took me an hour or so to realise what was happening.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 29 Nov 2011, at 21:25, euromark wrote:
>
>
>
&g
I dont understand your code - where do you actually save your data?
as of right now you only validate it...
On 30 Nov., 12:17, Mamdoohi wrote:
> ok.
> I have two model ( user, employee ).
> and use this code
>
> if($this->Employee->saveAll($this->data,array('validate'=>'only')){
> $this->Ses
I was already wondering about the AssetHelper some time ago
http://stackoverflow.com/questions/8233532/asset-helper-and-protected-view-scripts-in-cakephp-2-0/8249645#8249645
seems like McCurry's helper would need a massive rewrite in order to
work again
so mark story's would probably be the best o
i think you just have to use
ClassRegistry::init('ModelName);
here
On 29 Nov., 22:38, Roland wrote:
> None, that's the problem. I got non error or tips what is not
> working... but when I do $article->find('all') I get an empty
> result...
>
> thanks
> Roland
>
> On 29 Nov., 04:44, José Lorenzo
and I think this is the ticket:
http://cakephp.lighthouseapp.com/projects/42648/tickets/1793-model-conditions-not-recursively-applied
On 29 Nov., 22:22, euromark wrote:
> If I remember right a core member once wrote that this is a known
> limitation of the current "conditions
If I remember right a core member once wrote that this is a known
limitation of the current "conditions array" for relations.
Personally, I think this should be addressed in 2.1 as a bugfix to be
fixed (if I add a global condition it should always be applied, no
matter what).
As of right now you p
you shoudnt use "scaffolding" but bake your code using the bake shell
then you probably discover that all your problems are gone
On 29 Nov., 16:55, joserafael wrote:
> If anything I could do in cakephp is to relate a table of news with
> commentary. Yes, that is simple but I can not find the sol
especially as beginner you should ALWAYS bake your code first using
the bake shell
"cake bake ..."
it will produce out of the box code you can already use to create/edit/
view/delete records
step two then is "adjusting" the baked code to your needs
the advantage: you can easily modify your relati
fault)
On 8 Nov., 16:41, euromark wrote:
> I just saw an awesome idea in github:https://github.com/Hyra/PHPUnit-Cake2
>
> If I was him I would make a it a os independent cake2 shell though..
> "cakePhpUnitinstall" (or even upgrade one day)
> would be a self installing
in /app/View/Errors/
I created a file
error403.ctp (I want to customize 403s)
I thought this would override the core file (as with everything else).
But then I read in the book that in debug mode the app files are used,
in productive mode they will simply be ignored.
I fail to see the point in th
It seems that the RssHelper of cake (2) does encode äöü to
#äöü inside the description.
The document is utf8 (as is the website which does not encode them -
as it should be).
Is that a normal behavior for Rss?
I compared it to the output of the Xml class itself which also does
not encode utf8 char
you can simplify the condition to
if ($scounter = $this->Session->read('scounter')) {}
but besides that
how is the test case set up?
because it is possible that it resets itself after each run
therefore the session would always be emptied afterwards...
On 27 Nov., 11:38, ava wrote:
> Hi
>
> I'
does this help?
http://www.dereuromark.de/2010/06/20/validating-multiple-models-at-once/
On 27 Nov., 09:02, Mamdoohi wrote:
> hi
> I want validate data before save.
> my data is for two table so I want check validate then save data into two
> table
>
> how can do it?
--
Our newest site for the
yes - last week after upgrading to 2.0 I had the same problem.
I wanted to render files as pdf automatically (/controller/action/
[ID].pdf)
and it always returned the ID
no matter what I did.
after some research I found out that this is a well known bug in
almost all browsers
they simply ignore the
what do you mean with it doesnt work?
how did you initialize/access the model then?
some code would be great
On 25 Nov., 15:26, Roland wrote:
> Hi!
>
> I have a fixture in plugins/Bancha/Test/Fixture/ArticleFixture.php and
> a test case in plugins/Bancha/Test/Case/System/ConsistencyTests.php,
>
unfortunate if you use plugins with similar/same classes ;)
but it makes sense. will do!
On 24 Nov., 16:24, José Lorenzo wrote:
> Sorry, duplicate classnames are not allowed by PHP. Cake is not failing
> hard with a fatal error in your case because it caches the classname
> location for future u
Is this an intentional change in 2.0?
That if I call
/plugin_name/controller/action/
and if happen to have a controller with the same name in /app/
Controller dir
that it uses the local controller in app dir instead of plugin dir?
I have a "ConversationsController" in the plugin "Messaging"
I also
we would need to know about the database used and we also would need
to see what exactly the declaration for the field is.
show us some code or sql create table/field snippet etc
On 23 Nov., 10:17, Gerrit wrote:
> Hey,
>
> I've a problem with my DB float fields in Cake 2.0. My find-operation
> r
'last' => true should be the default for 2.0 anyways
as I suggested a few months ago in a ticket. (although, as I
understand, 2.0 seems to be capable of returning an array of errors
instead of a string)
I'd love to understand it, as well, as I, too, have the feeling of
losing control over the vali
I think its the database schema - if you set default NULL or default
NOT NULL
although I always thought of this as not very helpful (since the forms
are usually not 1:1 what the schema defines)
so in 1.3 I hacked the form helper to avoid adding those rules
automatically.
if I want them to, I would
I did that for while - after upgrading the application
jesus christ. I can tell you.
I would have gotten hundreds of mails per second
With session token (and one email per session every HOUR)
it went down to "a lot" ;)
Anyway - the thing is, that a browser opens invalid urls all the time
especial
"But I think we cannot do that in cakephp."
you can use models anywhere in the complete cakephp framework - even
in the subsubsubsub element of a view if you want to.
simply be using ClassRegistry::init(ModelName)
But that doesnt mean that you should...^^
On 22 Nov., 13:56, Kane The Pirate wro
yeah, that kinda the point ;)
On 21 Nov., 19:28, phpMagpie wrote:
> I don't think the other two guys got the point that you gave this answer
> over at stackoverflow?!?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
what exactly is your question or where did you hit a wall?
sounds more like a statement to me.
On 21 Nov., 16:49, saddam hossoin wrote:
> I have a four table, Questionnaire->QuestionGroup->Question->Answer.
>
> Questionnaire has many QuestionGroup,
> Question Group has many Qusetion
> Question h
passing the dates to the
> controller.
>
> So far it seem to work pretty well. What do you guys think?
>
> I would be nice if we could automatize the process and to be able to avoid
> that the programmer has to explicitly call these functions each time.
>
> Best,
>
usually you use two keys to create "flexible relations"
key "model" and key "foreign_id" (some call it foreign_key)
you just have to save array('model'=>'Pet', 'foreign_id'=>'1') or
array('model'=>'User', 'foreign_id'=>'3') etc with the rest of the
save data.
then you can easily query based on the
yes, zipping/packing them is one of the only changes you got.
you could open tons of popups/new windows which then each trigger a
download
or you could probably do sth similar with ajax
but thats sure not very user friendly
On 19 Nov., 23:04, dtemes wrote:
> Is that possible at all? maybe you ca
its not about the browsers
each browser has its own unique session
the problem is the tabs of one and the same browser - they all share
the same session.
so if you have for example 3 open tabs of the same website, they will
most certainly
intefere with each other.
thats why I consider it a nogo to
i already answered him:
http://stackoverflow.com/questions/8191877/how-to-include-javascript-in-cakephp-1-3
On 19 Nov., 11:10, phpMagpie wrote:
> Try showing us a working page and we can debug?
>
> I'm not going to go to the trouble of creating a test environment on your
> behalf.
>
> HTH, Paul.
.
On 28 Okt., 00:27, 100rk wrote:
> On Oct 27, 3:40 am,euromark wrote:
>
> > I added the removal of those names in my UpgradeShell script with
> > these patterns:
>
> Nice!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the ne
x27;d
> save the 'local' version, wouldn't it?
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 4 Nov 2011, at 13:32, euromark wrote:
>
>
>
>
>
>
>
> > probably
> > i wouldt apply new keys then, just o
y I think FormHelper
> escapes attributes so unless you stupidly echo it out without
> escaping things should be fine. So like most security issues, they
> are easy to solve by using your brain and escaping user supplied data.
>
> -Mark
>
> On Nov 5, 8:41 am,euromark wr
actually, both can by underscore or both can by camelcased (and mixed
as well)
I still vote to make both camelcase for more consistency, though (at
least visibly in the list - it can still be accessed both ways, of
course).
On 18 Nov., 17:12, Sam Sherlock wrote:
> Specifically the plugin is camel
Currently the new 2.0 Form Helpers seems to attach the required attribute
to each input which supposedly should be required based on the DB schema.
But most of the time this does not mean it actually is required in this
particular view. Sometimes the value will be added in beforeValidate etc.
So
besides the point that this is not quite possible to do this way (even
serializing will probably break the url!)
this approach is not very beautiful, of course.
i recommend that you take a look at the search or filter plugin
(search plugin is from cake dc in github)
it is very sophisticated and wi
most cakephp developers put this in their app model to ensure that the
amount of unnecessary data returned by find queries stay as low as
possible:
http://book.cakephp.org/view/1063/recursive
if you put -1 in there or a specific model, by default it only gets
the model data itself (no join data).
jeremy's right, serialize the array.
then you need to use am() on the two arrays first, and then pass the
merged array
On 17 Nov., 07:40, Jeremy Burns | Class Outfit
wrote:
> I could be wrong, but I don't think you can pass an array through a redirect
> url like that; try serialising it first a
I also experienced quite an amount of unexpected logouts in 2.0 now.
To make sure it is not the garbage collector of the file system I
switched to "database".
There no garbage collector should interfere as long as expires is not
reached (which is several days).
But the systems logs the user out aft
This worked in 1.3:
a file called "icq_lib.php"
App::import('Vendor', 'Tools.icq/icq');
class IcqLib extends Icq {}
you could then App::import('Lib', 'IcqLib') and use the IcqLib class
right away
But in 2.0 most library classes are now in packages inside /Lib
In my example "/Lib/Package
I was wondering how you manage your Lib classes now in cake2.0
Seems like putting them in /Lib directly is kind of deprecated. They
should belong to a package so to speak.
/Lib/ZodiacLib.php
becomes then (using Misc Package)
/Lib/Misc/ZodiacLib.php
and instead of using
App::import('Lib', 'PluginN
if you are in E_STRICT mode in PHP (which you seem to be) you will be
notified if you don't use the exact param declaration in the
inheriting classes.
the Model::beforeSave() is:
public function beforeSave($options = array()) {}
so you need to use the exact same params (with the exact same def
e out some time.
On 12 Nov., 18:41, euromark wrote:
> well, I doubt that, too.
> Especially with a lot of model relations you are usually better off
> using recursive=-1 globally and defining contain everywhere.
>
> What troubles me more is the fact that containable is not opti
and it should also be mentioned that now all keys are (forced)
lowercase.
I dont know WHY but thats how it is now..
really messed up tons of my library classes - which of course were
looking for keys like "Data" instead of now "data"
took me hours to fix all occurrences of this change. especially i
The only behavior in that direction I can think of is called
"LockTable Behavior"
it restricts to either read/write for a complete table
but maybe you can modify it to restrict access to rows for certain
users for a certain amount of time etc
On 14 Nov., 17:14, phpMagpie wrote:
> Not sure if th
you should also be aware of uppercase and lowercase naming of your
objects
On 14 Nov., 15:46, phpMagpie wrote:
> From page:http://book.cakephp.org/view/1250/Authentication
>
> "Now, there are a few conventions to think about when using AuthComponent.
> By default, the AuthComponent expects you t
if (!empty($this->params['admin'])) {}
suffices
On 14 Nov., 11:20, anjith wrote:
> Its working.
>
> On Nov 14, 3:05 pm, Xoubaman wrote:
>
>
>
>
>
>
>
> > In AppController::beforeFilter
>
> > iif (isset($this->params['admin']) && ($this->params['admin'] == 1)) {
> > $this->layout = 'admin';
you should always use the full array syntax and also add last=>true to
every rule.
example:
'email' => array(
'email' => array(
'rule' => array('email', true),
'message' => 'valErrInvalidEmail',
well, I doubt that, too.
Especially with a lot of model relations you are usually better off
using recursive=-1 globally and defining contain everywhere.
What troubles me more is the fact that containable is not optimized.
Or in other words: It creates up to 50x more queries than necessary
depend
the urls can stll be underscore and lowercase
MyController.php etc but
/my_controller/action_name
etc
On 11 Nov., 05:16, Andras Kende wrote:
> Kevin,
>
> seo friendly urls in cakephp are very very easy…
>
> below is the basic idea to do domain.com/video/return-of-the-jedi instead of
> domain.
use the head :)
thats what I do.
the only real difference is the naming^^ nothing fancy after all
On 10 Nov., 20:07, Chris Cinelli
wrote:
> We have some bug fix that are on HEAD that we are interested about. I was
> wondering when the 2.0.3 will be available.
> Best,
> Chris
--
Our newest
two questions:
a)why are you using both find(all) and paginate?
b) why do you use lowercase model name in paginate()?
On 9 Nov., 14:21, Jean Luis Morillo
wrote:
> Hello
>
> Im getting this error message when trying to paginate.
>
> Warning (512): Controller::paginate() - can't find model equipos
yes, it sure does.
only that in your case its part of the form (view) and in my case part
of the query building (model).
but sth with App::load anyway
On 10 Nov., 01:04, rchavik wrote:
> Euromark,
>
> This sounds similar
> tohttp://cakephp.lighthouseapp.com/projects/42648/tickets/2
After upgrading a larger project to 2.0 i got hundreds of errors that
need manual "corrections".
But some bug me more than others.
If you have User and Hotel models and you got HABTM between them you
sometimes want to use the join table to in order to get better queries
(left join etc).
In 1.3 this
I just saw an awesome idea in github:
https://github.com/Hyra/PHPUnit-Cake2
If I was him I would make a it a os independent cake2 shell though..
"cake PhpUnit install" (or even upgrade one day)
would be a self installing shell then.
On 25 Okt., 18:45, andrewperk wrote:
> Thanks everyone.
>
> M
you should never use if/else without {}
the first one works because php accepts if/else without {} for one
line statements
but as I said, its really ugly and bad practice.
On 8 Nov., 13:08, shmeg wrote:
> Can anyone tell my why this works:
>
> if($facebook_user)
> echo $this->Facebook-
indeed, pretty cocky :)
nothing against making some profit using software made with cake.
but this is not a place to put advertising and THEN profit from it.
pretty soon everybody puts some ads in here. and it ain't gonna be no
help forum anymore..
On 8 Nov., 05:52, "Larry E. Masters" wrote:
>
you should always navigate to your app - or at least - its parent
folder (for a new app) before executing the cake console:
http://www.dereuromark.de/2011/10/31/freshly-baked-cake2-0-tips/
On 8 Nov., 08:49, Andras Kende wrote:
> Try cake bake from inside the app folder...
>
> cd /richardfiles/pr
the original upgrade shell is lacking a few vital parts
i added the file/folder stuff and called it "legacy":
https://github.com/XTAIN/cakephp/commit/57b13c1fb4a4e05080a3c5947a000ddee40d8931#L0R577
On 7 Nov., 23:08, 100rk wrote:
> https://github.com/CakeDC/utils/blob/2.0/Model/Behavior/CsvImport
my guess is that you didnt update the htaccess
I added it to my upgraded version of the UpgradeShell (haha)
anyway, here is the fragment
$patterns = array(
array(
'index.php?url=$1 => index.php?/$1',
I searched for answers to this topic at stackoverflow
http://stackoverflow.com/questions/7985366/additional-this-here-security-still-necessary/7985529
/**
* Don't you EVER remove this line else you will make the whole
* application a swiss cheese for XSS!
* We often call echo $this->here in
what is the request data containing prior to passing them on to the
model?
oh, and why dont u use the session component to access the session?
your code will most certainly trigger lots of warnings
On 5 Nov., 00:20, Will <000w.s.s@gmail.com> wrote:
> Hi all,
>
> I'm using CakePHP 2.0 on a sy
maybe you should post your shell code
or better how exactly you try to call your shell
On 4 Nov., 14:09, abhimanyu bv wrote:
> 1.3it is
>
>
>
>
>
>
>
> On Fri, Nov 4, 2011 at 6:27 PM, euromark wrote:
> > cake1.3 or 2.0?
>
> > On 4 Nov., 13:35, a
new keys like
> 'LocalTime'?
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 4 Nov 2011, at 13:04, euromark wrote:
>
>
>
>
>
>
>
> > maybe you can adopt some of this
> >https://raw.github.com/jellehenkens/lemon_uti
maybe you can adopt some of this
https://raw.github.com/jellehenkens/lemon_utils/master/View/Helper/TimeMachineHelper.php
I am wondering:
How do you guys handle the daylight saving time issue?
Currently we face this problem in 2.0:
- dates (created, modified, own ones) are saved without it (-1 hou
701 - 800 of 1752 matches
Mail list logo