e would be appreciated.
Thanks
On Mon, Apr 4, 2016 at 5:54 PM, Anja Liebermann
wrote:
In your controller you have to fetch the user together with you proposal.
To achieve this check the following:
Check in Models your connection between proposal to user. Is it set in
both directions?
Check your find st
In your controller you have to fetch the user together with you proposal.
To achieve this check the following:
Check in Models your connection between proposal to user. Is it set in
both directions?
Check your find statement in the Controller Probably
ProposalsController. To which depth do yo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Marlin,
it looks like the trouble was at two points. I cahnged it in the
controller to
public $components = array(
'Twitter.Twitter'
);
and then very important adde din the bootrap.php
CakePlugin::loadAll();
Et voila, the Plugi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello,
I migrate a project from 1.3 to 2.n. I replace the old Twitter Component
with the Twitter plugin
https://github.com/mishudark/CakePHP-2.x-Twitter-Plugin
Usage: Upload to app/Plugin/Twitter
So I unzip the Plugin place it inside .../app/Plugin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Fagner,
nearly everytime you get an message with "Unknown column " you are
trying to use a nonexisten method.
Please check this. Then Have you set a specail primary key in your users
table and model?
In my experience if you don#t have very good r
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
please check if a controller file names TaskController.php existsts. May
it is names TasksController (note the extra "s"!). The plural rules are
quite a pain in the ass in the befginning. Also check the naming of the
classes if your model ist name
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Raji,
the main difference between edit and add is the existence of the id field.
Check via debug in your view if the infomation is tehre and via debug in
the controller just short before saving if your id is set in the
$this->request->data array.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Shabnam,
I never configured Apc ( had admins for that) but maybe the limit is in
the apc configuration.
Calamity Jane
Am 13.06.2014 09:45, schrieb shabnam koosha:
>
>
> Hi,
>
> I'm pretty new to Cakephp. I'm trying to use Apc engine and I'd
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Ajt,
the bad news is: Setting up the cake console in any windows is a pain in
the a Even when you get it to run, it is slow, or at least it was
that way the last time I had to deal with it on a dos system.
Although I did manage it with a XAMPP
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Can you please post at least a part of your setup? That might help in
finding the problem ;)
Calamity Jane
Am 11.06.2014 17:34, schrieb walter:
> I'm beginner in CakePHP.
>
> I have a set of several routes in my application. These routes defined in
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello everybody,
I have a Cake App running on 2.5.1. I am using Unittests.
At one point I have a similar operation necessary for 3 Models all
linked by HABTM to the same 4th model. To avoid 3 times the similar
methods in 3 models I implemented the m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello you,
at the first glance everything looks just perfect!
I guess you have a retailer with id 3 set in the table?
you are absolutely sure that the output is caused by the line posted by
you? Do you get different results if you search for just on
r Libs.
>
> Regards
> Reuben Helms
>
>
> On Fri, Oct 25, 2013 at 8:50 PM, Anja Liebermann
> wrote:
>
> Hi Reuben,
>
> for the moment I opted for putting the code into a lib.
>
> So now the next question. How can I wirte tests for it? Can I do that
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Dave,
is this condition on your first model or on a related model?
Anja
Am 16.10.2013 17:59, schrieb Advantage+:
> Now this used to work, but now it does not.. Not sure what happened.
>
>
>
> I have standard pagination but offer the ability
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Reuben,
for the moment I opted for putting the code into a lib.
So now the next question. How can I wirte tests for it? Can I do that
within the CakePHP testframework? If yes, how do I call it? Is there an
example anywhere?
Or do I have to call ph
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mariya,
are you looking
a) for Dates of a certain event, which has already passed
or
b) all Eventdates which have passed?
for b you should leave out the id.
Also try creating the date in your controller and add the real date in
your query.
And
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Michael,
other as index, add, edit a search is more complex. I have been building
search methods and forms since I started with cake and in most cases
they get quite complicated very soon, because in most cases your users
not only want to perform s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 14.10.2013 12:52, schrieb Abc:
> Did you all know how to do different layout with different domain in same
> app?
>
I never did that so far, but how about calling different templates with
a switch on the $_SERVER['HTTP_HOST'] ( I guess that is the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Reuben,
thank you for your answer. I will try araound a bit and will let you
know what finally worked for me!
Calamity Jane
Am 15.10.2013 09:28, schrieb Reuben:
> I can't say what is best practice, but here are things that I've done in
> the p
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello everybody,
I have a slightly advanced question.
I just build an app which at some point goes through a lot of evaluation
methods to find a certain value in a heap of values.
I want to follow the fat model theory also because it makes methods
ea
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Mokdij,
interesting problem. Is just the file name messed up or is it also the
cache content?
If it is "just" the file name then the challenge is to find something
which is connectetd to the real string but writeable in Ascii. How about
your own fi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Nikki,
if I undestand it correctly this might be a case for the Containable
behaviour.
But I am not sure what your fields information will do. What do you get
back, if you leave that out?
Is it correct, that you want to have all your clientData b
structure, but forgot to change the corresponding key in a
related table. No wonder no fixture was found.
So now the Test is running. :)
Anja
Am 01.09.2013 20:57, schrieb Anja Liebermann:
> Hi folks!
>
>
> I start a new app on my local Linux machine (Linux THOR 3.8.0-29-generic
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi April,
I guess the dashbord is an output defined by the users specifications.
So it belongs to this user. That means that the model creating the data
is related to the User model.
Or you even have a model "Dashboard" which contains the settings f
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi folks!
I start a new app on my local Linux machine (Linux THOR 3.8.0-29-generic
#42-Ubuntu SMP Tue Aug 13 19:40:39 UTC 2013 x86_64 x86_64 x86_64
GNU/Linux) Cake Version 2.3.9
and want to give test driven development a try. I have set up my test
da
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Raj,
never have done it myself, but I guess you have already checked out
these links:
http://mark-story.com/posts/view/using-mongodb-with-cakephp
https://github.com/ichikaway/cakephp-mongodb/
Anja
Am 19.08.2013 07:48, schrieb raj kumar Pustela:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi David,
this is how I would do it:
copy your edit method and rename it to "copy". Like with edit you fetch
the data which should be cloned and show then in a view "copy.ctp" which
has a form like for adding a new record.
Then when the user submits
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Joseph,
I post an example I have in a 1.3 app working:
In a controller I want to receive an email in a certain case:
if($this->data['Rating']['kommentar'] != ''){
// notification that a comment was posted
$this->Email->from= 'Zigarrenlounge
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Brian,
at the moment I am stuck with the same problem. See two of my other
recent posts here. Since I have had no success so far I can only tell
you that I had problems with both versions. So sorry no really helpful
advice from me, just sympathy ;)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Euromark!
> It seems you have not very much experience with Cake and how plugins work.
True on that ;) Just used them once before.
> So it might not be wise
> to try to work with my plugin. You will most likely run into quite a few
> other prob
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi euromark,
some questions to your readme:
a) Copy this plugin into your /app/Plugin folder
My app doesn't have a Plugin folder just a plugins folder. So I created
an empty folder Plugin.
Was that correct?
b) I copied the contents of the Zip file
/Shell.php on line 288
???
Calamity Jane
Am 24.02.2013 20:42, schrieb Anja Liebermann:
> Of course I did. About 5-6 times ;)
>
> Calamity Jane
>
>
> Am 24.02.2013 15:48, schrieb euromark:
>> You did read the readme.txt right? :)
>> It answers all of your questions abo
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Of course I did. About 5-6 times ;)
Calamity Jane
Am 24.02.2013 15:48, schrieb euromark:
> You did read the readme.txt right? :)
> It answers all of your questions above and many more..
>
>
> Am Sonntag, 24. Februar 2013 14:05:52 UTC+1 schrieb acl
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,
after getting strange error messages with the default 2.0 migration
shell I tried it now with the improved version from euromark:
https://github.com/dereuromark/upgrade
Here the facts:
I am running Linux with php 5.4.
I downloaded cak
ch it obviously does.
Any advice how I can try to find what is wrong here?
Calamity Jane
Am 17.02.2013 17:32, schrieb Anja Liebermann:
> Hi everybody,
>
> as promised I finally migrate one of my 1.3 Applications to 2.0.
> I let the mirgation script run, changed the .htaccess and the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,
as promised I finally migrate one of my 1.3 Applications to 2.0.
I let the mirgation script run, changed the .htaccess and then I tried
to to call my application, but always get this error:
[Sun Feb 17 17:23:56 2013] [error] [client ::1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi euromark,
thanks for your quick answer and "listening" to my problem.
So... I found the error. It was a mixture between missing "true" and
copy & paste error.
Here I include the working method. I guess someone else might find it
useful.
func
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 07.02.2013 04:57, schrieb Matías Halles:
> Hey guys,
>
> i'm having trouble to set the cookie name when debug is set to 0. I need
> this to work because we host several small apps (mostly facebook apps)
> under the same domain, but they have no s
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everybody,
I an using Cakephp 1.3 and just work on translating my site. Things like
field labels work fine. But I also want to translate some dropdown
fields e.g. Country lists or type lists.
So the msgid would come from the database and I want to
og(false,false);
> debug($log);
>
> Reference for the above is coming from here:
> http://stackoverflow.com/questions/3647065/how-can-i-see-cakephps-sql-dump-in-the-controller
>
>
> On Sat, Feb 2, 2013 at 1:03 PM, Anja Liebermann wrote:
>
> Hi Jonathan,
>
> debug 2 ( or als
gt; On Feb 2, 2013 12:58 PM, "Anja Liebermann" wrote:
>
> Hello everybody,
>
> I need help to find out why my model isn't saving. I use version 1.3.14
> and develop with Cake since some years but at this moment I am
> completely stuck. Duh...
>
> I hav
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello everybody,
I need help to find out why my model isn't saving. I use version 1.3.14
and develop with Cake since some years but at this moment I am
completely stuck. Duh...
I have Model A which hasOne Model B. B belongsTo A.
In controller B I tr
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hello Michael,
so one Phone can have many accounts? ok?
On which level have you set recursive?
0 will get you just the account
1 should get you Account and Phone
2 should get you Account, Phone and PhoneType
If you see that you get huge arrays with
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Am 15.08.2012 13:06, schrieb Harshit Sharma:
> I am trying to bake app using new stable release of cakephp , but I always
> get Welcome to CakePHP v1.3.2 Console .Please help me out?
>
Have you both versions on your machine? If yes to which points
Am 11.02.2012 12:16, schrieb yodi aditya:
public $useTable = false;
this is false:
public $useTable = false;
You should put the table name without prefix there.
Anja
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site
0:14, schrieb Jeremy Burns | Class Outfit:
Did you try reading it in beforeFind and setting a local variable that
you can read in afterFind?
Jeremy Burns
Class Outfit
http://www.classoutfit.com
On 22 Aug 2011, at 15:25, Thomas Ploch wrote:
Look at Model::findQueryType :-)
Am 22.08.2011
a different
findType to paginate, use:
$this->paginate[0] = 'yourCustomFindType'; // or
$this->paginate['ModelAlias'][0] = 'yourCustomFindType';
Regards,
Thomas
Am 22.08.2011 17:03, schrieb Anja Liebermann:
I use the pagination, but there is quite a weird
Thomas said, $this->findQueryType should definitely work in the
> afterFind().
>
> Which version of cakephp are you using ?
> Can you show us the afterFind code ?
>
> On Mon, Aug 22, 2011 at 5:55 PM, Anja Liebermann <
>
> anja.lie
e in the afterFind() Callback.
Are you using custom find types?
Regards,
Thomas
Am 22.08.2011 16:33, schrieb Anja Liebermann:
did that. It is always NULL :(
Anja
Am 22.08.2011 16:25, schrieb Thomas Ploch:
Look at Model::findQueryType :-)
Am 22.08.2011 15:56, schrieb Anja Liebermann:
Hello
beforeFind() and reading it in afterFind()
should work.
:-)
Am 22.08.2011 16:33, schrieb Anja Liebermann:
did that. It is always NULL :(
Anja
Am 22.08.2011 16:25, schrieb Thomas Ploch:
Look at Model::findQueryType :-)
Am 22.08.2011 15:56, schrieb Anja Liebermann:
Hello,
is there a possibility
did that. It is always NULL :(
Anja
Am 22.08.2011 16:25, schrieb Thomas Ploch:
Look at Model::findQueryType :-)
Am 22.08.2011 15:56, schrieb Anja Liebermann:
Hello,
is there a possibility to know which query type ( first, all, count
etc...) was used, when I call afterFind()?
Depending on
Hello,
is there a possibility to know which query type ( first, all, count
etc...) was used, when I call afterFind()?
Depending on the query Type I would like to make different checks.
If it is not possible, then I have to do it in the controller in several
actions.
As always: Thanks in
, 4:05 pm, Anja Liebermann
wrote:
Hello,
I have inherited a big application based on cake 1.2. The search works
via named parameters in the URL because the search form is placed in
the layout header *ouch* and works for more than one model.
So the search parameter is passed
likehttp
Try this:
manually put an image in this folder, set a link to it in your view.
Is this image displayed?
Anja
Am 05.08.2011 05:02, schrieb Rob:
0 down vote favorite
I cannot, for the life of me, get my images to show up in my view. I'm
trying to display the thumbnails I createed, but I'm havin
are all your .htaccess files there? You should have 3 different ones on
the different folder levels.
Anja
Am 16.08.2011 16:49, schrieb euromark:
you should - if you have access - always use the full document root
(down to webroot)
/Users/koreill1/Sites/cake/app/webroot/
then your file is a
How can I pass special characters in named parameters?
Especially when I pass them on in pagination? Somehow my nicely escaped
parameters, are reverted to special characters in the pagination links
and my pagination blows up.
Thanks for any hints!
Anja
--
Our newest site for the community: C
Hello,
I have inherited a big application based on cake 1.2. The search works
via named parameters in the URL because the search form is placed in
the layout header *ouch* and works for more than one model.
So the search parameter is passed like
http://www.mynicedomain.de/gruppen/suche:Köln
't get any proper result with a HABTM even
without an alias. It could be I'm still misunderstanding some
detail... The two away table just comes pouring in no matter what I've
tried.
Don
On May 16, 1:31 am, Anja Liebermann
wrote:
Hi Don,
thanks for your reply, but the brackt was
Hi Don,
thanks for your reply, but the brackt was set correctly, PostAuthor
belongsto LastPost, not to Group directly.
What really worries me is that all the members are fetched. They belong
via HABTM to the Group, but if I don't mention them in my containment
statement they shouln't be fetc
Forgot to mention: My complete Information from the "Group" model is
missing, too
Anja
Am 13.05.2011 16:11, schrieb Anja Liebermann:
Hello everybody,
I try to use a containable search in a CakePHP legacy project using Cake
1.2. I have often uses containable, but never togeterh wi
Hello everybody,
I try to use a containable search in a CakePHP legacy project using Cake
1.2. I have often uses containable, but never togeterh with aliases. So
no idea if that might be the poblem ore something else.
The model relations are as follows:
Group__
hasMany Members ali
Did you have a look at your singular / plural rules?
Did you change anything there? Is anything written there?
Anja
PS: You know more than one exclamation mark is the sign of beginning madness,
eh? But Plural rules can make you mad, I know harharhar
-Ursprüngliche Nachricht-
Von:
Hi all,
I have a hasMany relationship:
A hasMany B, B belongsto A
I want to get a list of all As who have at least one B via a containment
condition, but I am unsure how to formulate the condition.
In the model of A:
var $containment = array(
'ModelA' => array(
'cond
And how about
var_dump($categories);
In the view?
Anja
-Ursprüngliche Nachricht-
Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag
von Richard
Gesendet: Freitag, 3. September 2010 09:25
An: CakePHP
Betreff: Re: Undefined variable in view
Hello Milos, thanks
Hi Sharon,
Try using absolute paths from your webservers root in the most toplevel
.htaccess file.
Mine looks like:
RewriteEngine on
RewriteRule^$/budget/app/webroot/[L]
RewriteRule(.*) /budget/app/webroot/$1[L]
For the url: http://www.anjaliebermann.de/budge
65 matches
Mail list logo