By any chance, does your AppController reference a Helper that doesn't
exist? (https://trac.cakephp.org/ticket/5010) That would explain it.
On Tue, Jul 1, 2008 at 4:37 PM, Matt Huggins <[EMAIL PROTECTED]> wrote:
>
> I started getting "Fatal error: Allowed memory size of..." errors
> while devel
Hi Eric,
I believe I had the same issue a few days ago. There's already a bug
report filed for it (https://trac.cakephp.org/ticket/5010). I'm not
familiar with Vista's server setup, but if you install a php debugger,
I'd bet you'll find the application stuck in an infinite loop.
On Mon, Jun 30
I'm not sure that either of these suggestions will help your problem, but ...
1) you should try using the latest CakePHP (revision 7296 last I
checked). There have been a number of improvements and bug fixes
since 6311.
2) you've got an extra comma at the end of your find query
("'recursive' =>
Nate Abele wrote up a great article about custom URL's. The effect
you're looking for is at the very bottom, but I'd suggest reading the
whole thing anyway =]
http://c7y.phparch.com/c/entry/1/art,cake-seo
On Fri, Jun 27, 2008 at 1:06 PM, Jaime <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> For cert
Model::$recursive (http://book.cakephp.org/view/66/models#recursive-439)
Also, if you're using Cake 1.2, findAll has been deprecated, replaced
with find ('all', ... );
(in your controller)
$this->z->find ('all', array('recursive' => 2));
On Wed, Jun 25, 2008 at 10:53 AM, Dave <[EMAIL PROTEC
I've been going at cake for a bit over one month, and I've developed a
love/hate relationship with it. I apologize if this is a rant ...
cake documentation is a touchy subject for me, and I believe my
experiences may help you.
Understanding CakePHP has been an uphill battle the whole way, but it
Read up on Routing. I've done similar work with some creative routes.
http://book.cakephp.org/view/39/configuration#routes-configuration-46
On Mon, Jun 23, 2008 at 1:27 AM, AbhinavZone <[EMAIL PROTECTED]> wrote:
>
> is there any other way so that I don't need to change source??
>
> On Jun 23, 10
Just to be sure ... When you view page source, do you see your code
snippets? If you do, then 703designs is 100% right, and
Sanitize::html could be useful to you.
http://api.cakephp.org/class_sanitize.html
On Mon, Jun 23, 2008 at 12:01 PM, 703designs <[EMAIL PROTECTED]> wrote:
>
> The clumsy way
You can set which Database a Model uses in the Model itself, using the
$useDbConfig variable.
http://book.cakephp.org/view/66/models#usedbconfig-435 .
On Thu, Jun 19, 2008 at 8:33 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>
> Is it possible set a HABTM relation between table on different
>
Hey Robert,
You've got it a bit backwards. If Item contains all the foreign keys,
then Item _belongsTo_ ItemType and ItemStatus. Type and Status would
both "haveOne" Item From the book's section on Associations :
belongsTo: "foreignKey: the name of the foreign key found in the
_current_ model
Almost forgot ... here's the link to the ticket:
https://trac.cakephp.org/ticket/4202
On Jun 7, 1:42 pm, floob <[EMAIL PROTECTED]> wrote:
> Has anyone ever deleted from a Model that has dependent joins with
> conditions, and realized that more rows got deleted than they
> e
Has anyone ever deleted from a Model that has dependent joins with
conditions, and realized that more rows got deleted than they
expected?
To give an example, let's declare 3 classes, Book Cd and
OverallFavorite. OverallFavorite stores your prioritized rank of all
of your favorite stuff ... favo
EmailComponent has worked fine for me. I haven't done any mass
mailing, though.
FWIW, it's ridiculously simple to drop in 3rd-party mailers with
cake's vendor setup.
On Jun 6, 2:11 pm, teum <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to bake an application to allow people to send newsletters. So
his->Session->setFlash('You have logged out');
>
> On Jun 5, 5:03 pm,floob<[EMAIL PROTECTED]> wrote:
>
> > I may be missing some key concept about how Sessions work in general,
> > so if this problem is inevitable everywhere, do please help me learn
> > wh
I may be missing some key concept about how Sessions work in general,
so if this problem is inevitable everywhere, do please help me learn
why.
The situation is, in an action such as User logout for example, I
would like to destroy the session, initialize a new session, and store
a logout message
15 matches
Mail list logo