I guess it all depends if you want an answer or not.
Sent from my iPhone
On 13 Feb 2011, at 05:54, ibejohn818 wrote:
> I say just ask your questions.
>
> There are three possible events that can occur.
>
> 1) Somebody attempts to answer
> 2) Nobody attempts to answer
> 3) Somebody unloads a h
I say just ask your questions.
There are three possible events that can occur.
1) Somebody attempts to answer
2) Nobody attempts to answer
3) Somebody unloads a holier-than-thou rant that you are not following
the 10 commandments of the internet set in place when Al Gore parted
the seas and inven
I write my own jQuery basically because it allows consistency in my
apps (all js is in the one place), and also there is great
documentation on functions in one place. If I am debugging I dont know
if it is the helper or the syntax im using.
In saying this, I do use it for more trivial things like
Cakephp will not parse the operators for you.
You will have to use a regular expression to read them from the
REQUEST_URI.
An easier solution would be to concat a string representation of your
operators IE: $var_greaterThan ("_greaterThan" = ">") etc.
On Feb 12, 8:41 pm, Matthew McNaughton wrot
I would like a parameter for the full url post received by cake.
On 2/12/11, euromark wrote:
> i think i dont follow
> what do you mean with "full url request"?
>
> On 12 Feb., 20:10, Matthew McNaughton wrote:
>> Thanks for the quick responses. In respect to the above, so that I can
>> encode i
It's an insecurity complex for freshman programmers. Kind of like
going out on our first date and realizing your out with a mature naked
cake baker. It's enough to make anyone stutter and repeat
themselves . ;-/
> People will help, you so saying your new over and over is just irritating.
>
i think i dont follow
what do you mean with "full url request"?
On 12 Feb., 20:10, Matthew McNaughton wrote:
> Thanks for the quick responses. In respect to the above, so that I can
> encode it and decode in the way I prefer how would I get the full URL
> request from cake?
>
> On Sat, Feb 12, 20
The "numeric" validator is simply a shim to call PHP's is_numeric() function,
but some might be surprised at the range of values that PHP considers to be
numeric:
3.14
1.0e-1
-5
Some developers might have assumed that "numeric" meant non-negative integers
only -- particularly considering that
i agree with you - that it would be more intuitive
maybe you should repost the ticket then
a param "exclusive"=>true (default false, of course) could still make
the current behavior available :)
if needed at all
On 13 Feb., 02:04, Ryan Schmidt wrote:
> I was surprised to discover that the "range
I was surprised to discover that the "range" validator is exclusive, not
inclusive.
I've now built my own "rangeInclusive" validator in my app_model.php to use
everywhere.
Someone filed a bug about this three years ago, and there is a patch, and it is
not closed...
https://trac.cakephp.org/ti
Thank you for the quick reply, I appreciate it.
I've tried what you suggested, and it is working, up to a point. Here
is the code I'm using:
DataSource - app/plugins/array_datasource/models/datasources/
array_source.php
(I've only included the relevant modifications instead of the entire
file, unl
I am curious about the JS engine in 1.3. Reading thru the cookbook and
wondering if this is for me?
I currently just write my own JS snips for my jQuery functions click this do
that drag it drop it so on.
I only use jQuery no other libraries so I am wondering what is the benefit
for me to change o
yes i tried that but the problem still persists.
I think it may have something wrong in the code i wrote but i cant seem to
find it
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help othe
Which version of cake are you using ? If 1.2.* go to controller.php
and delete empty line at the end as well as any other space or hidden
characters you might have. Even if you are using some other version
check for this.
At 99.999 times, this error means you have some empty line or
hidden
Thanks for the quick responses. In respect to the above, so that I can
encode it and decode in the way I prefer how would I get the full URL
request from cake?
On Sat, Feb 12, 2011 at 10:57 AM, euromark wrote:
> > and < usually not allowed in
> and they especially are no operaters in this context
On Thu, Feb 10, 2011 at 5:10 PM, alexpes wrote:
> I would install cakephp on plesk with this folders structure:
>
> /httpdocs/ <- documentroot
> /httpdocs/app
> /httpdocs/cake
>
> I know it's not canonical structure but, for security reason, is it
> sufficient put this .htaccess...
>
> Order Allow
On Feb 11, 2011, at 20:34, Carlos Paparoni wrote:
> To make an update on the situation:
>
> I made the code work with the Array DataSource up to a point. The
> problem right now is that it uses a $records array which is assigned
> statically in the Model, like this:
> class State extends AppMode
On Feb 12, 2011, at 00:43, ShadowCross wrote:
> Note that the individual tables books, messages, posts DOES NOT have a
> content_id field, but the contents table would have the fields 'model'
> and 'model_id'. This results in a content record that can only be ONE
> of either book, message, or po
return $this->PlanDetail->find('all', array('order' =>
array('PlanDetail.name DESC'), 'limit' => 10));
On Sat, Feb 12, 2011 at 11:55 PM, cricket wrote:
> On Sat, Feb 12, 2011 at 10:54 AM, OldWest wrote:
> > I do not know why my DESC sort query is not working?? According to the
> > manual and
On Sat, Feb 12, 2011 at 10:54 AM, OldWest wrote:
> I do not know why my DESC sort query is not working?? According to the
> manual and other sources, it should be working fine:
>
> function pd_list() {
>
> return $this->PlanDetail->find('all', array('order' => 'PlanDetail.name
> DESC', 'limit'
Thanks man.
The only reason I want separate is exactly as you mentioned. Eventually I
will need to load balance the current single server across different servers
to distribute everything.
But that can be done later under development. Was trying to plan ahead.
Thanks for the info. Will save this
No-one will give out their Skype id as that opens the channels for being a help
desk. Fine if you want to pay, but is bound to offend when you are declined.
This forum is a really, really good place to get help. Stick with it - you will
get everything you need from here.
Jeremy Burns
Class Outf
Ok,thanks for your great advice.I will try to maintain all the jeremy's
step.If possible can u give me u'r skype id.I had opened a company with
kolkata,India clients.I want to work.But the problem is nobody help me out
locally because I am senior most.I often search in internet and get help.I
previ
PLease presently i am testing my cakephp application online but when i
tried to visit my admin page at testserver.tunsicash.co.cc/admin i am
getting this error Cannot modify header information - headers already
sent by (output started at /home/tunsicas/public_html/testserver/app/
models/behaviors/i
> and < usually not allowed in
and they especially are no operaters in this context
the only operators in an url are
in php in general / and & and = and ?
and in cake / and :
if you want to use "greater" or "less" you will need to encode it some
way
to decode it afterwards.
operation:lt or operati
I do not know why my DESC sort query is not working?? According to the
manual and other sources, it should be working fine:
function pd_list() {
return $this->PlanDetail->find('all', array('order' => 'PlanDetail.name
DESC', 'limit' => 10));
}
All data is being displayed as expected in m
when i go through the list of new messages in the group and i read
"HOW TO DO THIS" or "PLEASE HELP"
it just freaks me out
every other person on this group manages to summarize the problem in a
short sentence
this way you as a reader know right away what the problem is about
you are not getting mo
if i understand you good, then you want to get some values from GET method?
like domain.com/controller/action?param1=value1¶m2=value2
then you have this in $this->params['url']['param1'] and
$this->params['url']['param2']
then, if you have like domain.com/controller/action/value1/value2
then when
Greetings all,
Thanks for a great framework(though you probably all hear that all the
time).
I am building a RESTful api using cakephp. So I need to get the posted
values from URL. cakephp deals with this particularly well for posted
values such as:
host.com/crops/view/$var1=xxx&$var2=xxx
Bu
On 12 February 2011 13:22, parallel32 wrote:
> Chris,
>
> I had a similar problem with my swfuploader component which was losing
> the session on IE only. Turns out it was a simple change in the
> cakephp core configuration that fixed it.
>
> Change Configure::write('Session.checkAgent', true);
Chris,
I had a similar problem with my swfuploader component which was losing
the session on IE only. Turns out it was a simple change in the
cakephp core configuration that fixed it.
Change Configure::write('Session.checkAgent', true); in core.php to
false.
Hope this helps,
Mike
On Feb 8, 10
If you are creating your subqueries as described on
http://book.cakephp.org/view/1030/Complex-Find-Conditions (sub-section
titled "Sub-queries"), you could try replacing
'table' => $dbo->fullTableName($this->User),
with
'table' => $dbo->config['database'] . '.' . $dbo-
>fullTableName($this->
Yeah the only thing I found is an article here
http://www.foldifoldi.com/?p=436
I need the full database table name SELECT * FROM database_name.table like
the example but that example from the link does not work with my setup with
subqueries and manual joins I make myself.
In the SQL print out
33 matches
Mail list logo