need to make sure that
the CLI version of PHP you have installed also has support for
Postgres. Check to see if you have two different php.ini files, one
for web and one for CLI. Some PHP installs do that.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants
mentioned before I would try removing 'Acl' from the list of
components and make sure it worked just fine with only the 'Auth'
component.
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net
am I going wrong here?
Where did you get that impression, as I do not remember seeing any
documentation to that effect. Perhaps that's something that other
frameworks do, but not Cake.
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants
(with respect to having a huge collection of static pages).
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message
be getting error
messages for incorrect passwords even now? Grateful for anyone's
input!
I'd suggest that you remove ACL from the equation for now and make
sure that you can get Auth working first. Remember the motto: make
it work, then make it work better.
--
Chris Hartjes
Internet Loudmouth
Motto
using $beforeFilter, as that is something
that I have not seen before.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received
hope this
clears the issue.
That's some Ajax work, sort of out of the scope of Cake. Since the
built-in helper uses Scriptaculous / Prototype I suggest you read up
on them.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http
First thing to check when sessions go haywire is your security level
in config/copre.php. Make sure it's set to low, as on high it
regenerates the session on every refresh (or so I remember being
told).
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding
On Jan 12, 2008 3:07 PM, lordG [EMAIL PROTECTED] wrote:
My suggestion would be at least to assign a variable to the model like
$assignDefaults = true/false, which can control if the save grabs the
defaults or not.
Edge case. Move on.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008
-Query(select count(Customer.id) from
customers as Customer);
print_r($result);
I'm pretty sure you can do this same query using a find(), but the
syntax escapes me this early in the morning.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes
is.
Try increasing the amount of memory that PHP is using in your php.ini.
Look for 'memory_limit' in there. Sounds like you need to increase
it.
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http
to install PEAR packages
(which is what those two things are).
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
. by
app controller i think you mean app_controller.php.
Pardon my ignorance but why can't you just create a controller and a
view for the main page of your app? In order to populate a page with
all sorts of random images, well, you're gonna need a controller no
matter what.
--
Chris Hartjes
Internet
with that. :)
You are thinking about this wrong though. You can do this with a one
controller, and code inside that controller determines what tabs get
pulled up, then you pass that info to the view and treat all those
tabs as elements.
I think.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008
have several links at my blog
(address below) that cover using the Auth component.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
you tried using custom routes?
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed
On Jan 6, 2008 10:10 PM, ProFire [EMAIL PROTECTED] wrote:
In my view, this is how I use my form:
echo $form-input(Account.username, array());
Why are you passing an empty array as the second parameter? It's not needed.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from
to paginate
through them. Not being a big pagination guy, I'd appreciate being
pointed in the right direction.
Is it possible that I need a Series model to make this happen?
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http
Retrosheet to create the card
game our league uses. As a further aside, my current employers are a
stats data company, and one of our projects is to provide info from
Retrosheet to some of our clients.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling
(makeups due to
rainouts etc) so I don't think I need to paginate through individual
games.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
you mention.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
in the
beforeFilter() for AppController?
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because
/* optionnaly you can set the cond ie : $cond =
array('league_id' = $id) */
$this-set('games', $this-paginate('Game', $cond))
}
There is not warranty that will work, and it might contain some
typo :-)
Thanks so much for the help. I'll try it out and lay blame where appropriate.
--
Chris
features and quite stable for production use
3) cakephp-open, which is your proposed open svn branch full of all
sorts of unvetted code
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
Or does it have to be strictly in this format: /app/controller/action/
username?
Thanks in advance
You can use custom routes to do this. Check out the section on
'routes' at http://tempdocs.cakephp.org
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling
-set-class-eats-arrays-for-breakfast/
Hope that points you in the right direction.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
for certain views, now the css
also prints outside of the head tag, which then causes the styles to
be applied last.
Why do you want the javascript to be executed last?
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http
not be sharing
the same definition as you, but that looks like clean access to model
objects to me.
Perhaps if you were to give a coding example it would help us to
understand the problem you are facing.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes
://developer.yahoo.com/performance/rules.html#js_bottom
Cool. Thanks for the link.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
fields. I do not understand what the {n} means. I cannot find
any tip in the API doc. Anybody could teach me a bit ?
Try checking out this link, it might explain it better:
http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/
--
Chris Hartjes
Internet Loudmouth
Motto
that
$this-data['Customer']['id'] is set to some value because if it is
missing, then it looks like (to me anyway) that it is defaulting to 0.
Tell me if that makes sense.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http
really matters,
not turnaround time for bugs.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
just
to get an idea of how they approach solving problems.
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
agree, but unless people post tickets to trac specifically outlining
the problems they were having, it remains unlikely that the problem
will be addressed. That's just the reality of how bugs are handled
for this project.
--
Chris Hartjes
My motto for 2007: Moving from herding elephants
On Dec 31, 2007 11:48 AM, Chris Hartjes [EMAIL PROTECTED] wrote:
Well, if you did want to do that sort of thing you could put it in a
beforeFilter() method in app_controller, but can you really trust the
contents of $_SERVER['HTTPS'] to be correct? If I understand
correctly, that info can
with lots of other $_SERVER
values.
Also, can't you limit access to stuff via the web server itself? I
may be ignorant about setting up https in Apache, but it seems to
make sense that you could say 'https uses code sitting over here while
http uses stuff over there'.
--
Chris Hartjes
My motto
to the
actual application. If so, what is it?
As far as I know, your app *should* start using memcache for all the
caching. Nothing else for you to do.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
Memcache::ExtendedStats to
create your own memcache-monitoring script.
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
the saving stuff just a little bit wrong I think. Try this:
$password = $sanitize-escape($this-data['User']['password'];
$this-User-id = $this-Session-read('userid');
$this-User-save($this-data);
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http
are trying to: installing CakePHP in a
subdirectory using an Apache alias.
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
::extract methods, which you
could use to take that result set and reorganize things. Check out
this link for some more info:
http://www.thinkingphp.org/2007/02/24/cake-12s-set-class-eats-arrays-for-breakfast/
That might be the best way to do what you're after.
--
Chris Hartjes
My motto
.
No shame in writing custom model functions that use hand-built SQL.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed
it, so your
algorithm might be
1) Run $this-Model-validates($data)
2) If valid, then run custom method that does the update
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
On Dec 28, 2007 1:23 PM, gourab singha [EMAIL PROTECTED] wrote:
Is ther any reference for cakephp job for freasher as like me.
http://tempdoc.cakephp.org
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
$this-foo();
}
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group
in a
controller if you do not wish to create a view. That's all.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
it. To do
anything else is banging your head against the framework in a most
uncomfortable way.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because
never worry about being a dick
Glad it was a simple solution to a problem I was too dumb to understand.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received
. That way you can insure a new record is supposed to be created.
I also agree with davidgregan's suggestion about making sure you have
the id field for your tables either an auto-increment field or
generate your own unique ID's
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build
. Probably the easiest way to do it.
http://tempdocs.cakephp.org/#TOC35993
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message
the equivalent in IIS) so that it
looks for webroot/index.php.
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed
spot for that, in my opinion, would be in a beforeFilter() method
in app_controller.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
suggest you look at the example in the manual on building a blog
using CakePHP. While the code isn't 100% perfect, it is a great
introduction to some key features of CakePHP.
Hope that helps.
Also, don't forget to use Google.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard
the impression that the following is true:
PHP 6 = PHP 5.3+ with full native unicode support
So it's anyone's guess as to when the end of support for PHP 5.3 will be.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
/cache/ in case that is causing problems.
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
That will give you all the posts / tutorials where I talked about using Auth.
Hope that helps.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message
On Dec 20, 2007 4:50 PM, hmpierson [EMAIL PROTECTED] wrote:
You should have quit while you were behind with your wise mouth.
Very helpful. Thanks!
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
will be PHP 5.3 (and beyond) with native unicode
support, my guess is that it will be just fine.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because
leads me to suspect that code is causing the
problem not CakePHP.
But that's just my opinion.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because
with evidence to the contrary.
Just because you don't like the answer doesn't mean that it isn't
helpful or isn't valid.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
down the security level in their
configuration file if similar session problems occur. See, wasn't
that easy?
Now, if you want r5982 then you need to start using the version from
SVN instead of downloading from the web site. I believe you can find
the link on trac.cakephp.org.
--
Chris Hartjes
On Dec 18, 2007 2:07 PM, Ldg27 [EMAIL PROTECTED] wrote:
$this-User-save($this-data);
Try sticking $this-User-create() in front of $this-User-save($this-data)
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net
working or $this-data is empty.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group
On Dec 18, 2007 3:36 PM, Stefan [EMAIL PROTECTED] wrote:
Having good ol SQL Server character coding problem. Supposedly PHP6
fixes the problem, Cake compatible with V6 or not?
PHP 6 isn't even close to a stable release, so I would have to say no.
--
Chris Hartjes
My motto for 2007: Just
, I'd put it in the beforeFilter() of app_controller like some
others have suggested.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
/2007/11/20/follow-up-to-a-hopefully-usefull-tutorial-for-using-cakephps-auth-component/
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
to generate reports without problems in
Chinese.) and ezComponents (like the work-flow engine). :)
Why would those components be included in CakePHP when you can easily
incorporate them from ZF and ezComponents (although I have not seen an
example of doing this) into CakePHP already?
--
Chris
not display the info as an element
in your page and then use an Ajax submit to process the information?
No need to mess around with RequestAction or anything like that as far
as I can see.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net
in a beforeFilter() method in your app_controller
2) take a look at the Configure class if using 1.2
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
' controller, again with a custom route
to make calls to domain.com/legal go to pages/legal
Others will correct me I'm sure.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You
On Dec 15, 2007 12:05 PM, mclee [EMAIL PROTECTED] wrote:
Well, we have 'function_exists', don't we?
Surely we can do a degrade if mb_substr is not installed.
Are you volunteering to do it?
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http
pairs. Read up in the old manual and the new manual
(http://tempdocs.cakephp.org) on how to create routes.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received
...
is there a way to use the validation for this or has it to be
manually
Sounds to me like it is definitely custom validation, which means
you'll have to do it manually. Luckily it's very easy to do it.
http://tempdocs.cakephp.org/#TOC121877
Hope that helps.
--
Chris Hartjes
My motto
traffic. However, I would suggest the following:
1) install a PHP opcode cache like APC
2) make sure you have appropriate database indexes in place
3) spend some time profiling your code using tools like Xdebug and
Cachegrind to find out where the slow spots really are.
--
Chris Hartjes
My
it is by going to trac.cakephp.org and
filing a ticket along with your patch. If the core dev team likes it,
it will make it's way into the code.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
making a coherent answer?
It's far easier to shake my head in amazement that this person
actually expects an answer and delete the message.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
on the API. Not a
manual itself. Check out the in-progress documentation for 1.2 at
http://tempdocs.cakephp.org. Also check out
http://bakery.cakephp.org.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
disaster.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
, etc.
You don't run the console utilities that way. If you followed the
screencasts and put the cake console script in your path, then you'd
access bake by doing this:
cake bake
That's it.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net
On Dec 12, 2007 2:21 PM, 703designs [EMAIL PROTECTED] wrote:
One specific question I have: If I go forward with Cake, should I use
the stable 1.18, or go with the PreBeta?
PreBeta for sure. Ignore the chicken littles talking about broken
functionality.
--
Chris Hartjes
My motto for 2007
in APP/tmp/cache that is messing
things up.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP
.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send email to cake
, but if it is, I'd like to know how to
disable it.
I have never seen the renderer 'strip the javascript away', so this
sounds like there is different problem. Why on earth would would a
renderer get rid of anything you put in your templates?
--
Chris Hartjes
My motto for 2007: Just build
be appearing in your web server error logs.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group
and giving surly customer service. I don't remember
anyone being promised anything.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
the application fast by using all sorts of helpers. Luckily
you're not locked in to using Cake's DB model if you really don't want
to, you just lose all those nicely formatted result sets.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
the very nature of MVC
I think you could not create a view without a controller...
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
On Dec 6, 2007 4:10 PM, Howard Glynn [EMAIL PROTECTED] wrote:
Chris Hartjes has mentioned Capistrano on his blog which I admit I had
not heard of until recently;
I took a look and it does sound appealing especially for the kind of
development deployment I am
talking about here (single
On Dec 5, 2007 11:25 AM, francky06l [EMAIL PROTECTED] wrote:
Maybe using Curl. There is Curl model on the bakery, I have used it to
make http / https requests.
No need for cURL, actually. Check out this link:
http://netevil.org/blog/2006/nov/http-post-from-php-without-curl
--
Chris
tutorials on using
the Auth component on my blog.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
On Dec 4, 2007 1:26 PM, Joyce [EMAIL PROTECTED] wrote:
Thanks Chris,
I will look through your tutorials. I am using CakePHP 1.1, can that
work?
The Auth component is not available in 1.2, but I believe you can use
the Security component to do similar things.
--
Chris Hartjes
My motto
to ignore it'?
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Cake
PHP group.
To post to this group, send
not 100% sure you
can do associations across multiple databases...
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed
index.php
/home/example/www/about
at first i actually encountered 500 errors when visiting about.example.com,
but figured it would actually be great if i can use that on a sub domain.
Um, isn't that really a web server configuration issue rather than a Cake issue?
--
Chris Hartjes
My motto
accomplish this in your forms? Is there a CakePHP
syntax to tell it to not update a field?
Try putting the code that unsets that element in the array in a
beforeSave() method in the model.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net
On Nov 30, 2007 9:10 PM, Chris Hartjes [EMAIL PROTECTED] wrote:
On Nov 30, 2007 7:33 PM, Mech7 [EMAIL PROTECTED] wrote:
It still does not work.. it can't read the cache configuration.. even
though all it is supposed to do is throw up an error and revert to
default file caching..
Hrm, you
On Nov 30, 2007 1:29 PM, Brian [EMAIL PROTECTED] wrote:
this doesn't work either:
?php echo $html-inputTag('Employee/start_date', array('size' = '4
0', 'disabled' = true)) ?
Have you thought about using a hidden field and simply displaying the data?
--
Chris Hartjes
My motto for 2007
be doing something as silly as setting
the 'disabled' = true value in the wrong array...
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you
is going to
be talking to whatever data source you're using, whether it's a
database or remote web service. PHP 5 isn't the problem: crappy code
by developers who don't know what they are doing is the problem.
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http
there that says to put
Configure::write('Cache.disable', true) in your core.php file?
--
Chris Hartjes
My motto for 2007: Just build it, damnit!
@TheKeyboard - http://www.littlehart.net/atthekeyboard
--~--~-~--~~~---~--~~
You received this message because you are subscribed
301 - 400 of 1116 matches
Mail list logo