Hi,
I can't seem to import a plugin model when running controller from the
cron_dispatcher. Here is a simple test result.
ver: 1.3.2
cron_dispatcher: http://tricks.cakephp.in.th/comland-line-and-cronjob
1. running from web . [WORKS]
2. running testA function WITHOUT model import from cm
my bad, i just realised that the doco has this! Im sorry to
waste the time of the group.
On Jun 9, 10:38 am, trav wrote:
> Solution:
>
> I needed to add the plugin prefix to the Model declare in the
> controller.
>
> Eg.
>
> var $uses = array("Myplugin.Accou
Solution:
I needed to add the plugin prefix to the Model declare in the
controller.
Eg.
var $uses = array("Myplugin.Account","Myplugin.Client");
I think the doco should point this out to save time and frustration.
Thanks for your help John.
-t
On Jun 9, 10:11 am,
sMany] => Array
(
)
[hasAndBelongsToMany] => Array
(
)
[actsAs] =>
--snip
On Jun 9, 9:21 am, trav wrote:
> Hi John,
>
> I have tried your suggestion and it still does not function
> correctly. Can anyone get these plugin models to work with versio
akePHP book) it shouldn't be. The
> Client model should be based on the MyPluginAppModel! (Please correct
> me if I am wrong!!)
>
> Are debug turned on? Is the Client model used in the query at all?
> Enjoy,
> John
>
> On Jun 8, 10:10 am, trav wrote:> Hi John,
>
On Jun 8, 7:59 am, trav wrote:
>
> > Hi,
>
> > I hope someone can give me some assistance with Plugin models.
>
> > Cake Version: 1.3.2
> > ==
> > Problem: Query result does not build model joins when using a plugin
> > ===
Hi,
I hope someone can give me some assistance with Plugin models.
Cake Version: 1.3.2
==
Problem: Query result does not build model joins when using a plugin
==
Location: Model files are in app/plugin/Myplugin/models
Plugin Name: Myplugin
Model A:
--
FYI: i can't explain it but the issue was to have NO new lines after
the close php tag "?>"
On May 25, 7:39 am, trav wrote:
> bump...can anyone help me?
>
> even if you have db sessions working in 1.2.3.8166 can you just let me
> know?
>
> thanks
bump...can anyone help me?
even if you have db sessions working in 1.2.3.8166 can you just let me
know?
thanks
trav.
On May 24, 5:47 pm, trav wrote:
> Hi,
>
> I can't seem to get DB session to work in 1.2.3.8166. I have used DB
> sessions many times before in the eariler v
Hi,
I can't seem to get DB session to work in 1.2.3.8166. I have used DB
sessions many times before in the eariler versions.
This is what i've done:
1. download version 1.2.3.8166
2. set db and salt and cake sessions to point to cake_sessions table
3. verified table exists
4. open site and make
Any help would be great!
Cheers,
Trav.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group,
I agree with Erik. I think this is a major problem when programming a
large site with hundreds of tables across many databases.
So to sum up, my options are:
1. create unique models and controller name?
2. some routes + controller magic - (can you explain more on this
Tim?)
3. wait for this to
' => '/db2/users',
'action' => 'index'));
The most obvious thing is just to make all the controller (models)
names unique. but i would like to know if there are any other ways to
get around this issue.
Cheers,
Trav.
--~--~-~--~~~--
thanks for the hint. I wasn't able to identify the issue but a fresh
install of xampp on linux fixed it.
On Apr 16, 8:54 pm, francky06l <[EMAIL PROTECTED]> wrote:
> Check the settings of mysql and php on both platform, they are
> probably different ...
>
> On Apr 16,
[Total_Service_Count] => 3053
)
)
Can anyone shed some light as to why this is happening?
Cheers,
Trav.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP&
looking for a cake answer to the problem.
Any extjs bakers out there?
cheers,
Trav.
On Apr 11, 9:52 pm, grigri <[EMAIL PROTECTED]> wrote:
> I can't seem to work out a one-liner that doesn't involve lambda
> functions, but this is the "easiest" I came up with:
>
what is the response time of the query on mysql console? Make sure
you have it humming (indexes etc..) here first! cake may not be your
issue. it could be you db schema.
t.
On Mar 17, 4:24 pm, crazyDavid <[EMAIL PROTECTED]> wrote:
> I'm developing an application in cakephp 2.0 which needs to
I really need the following output:
Array (
[id] => 1
[name] => 'jane'
[total_cost] => 400
[descr] => 'public'
)
Can cake help me out here or am i left to code a solution in php?
Cheers,
Trav.
--~--~-~--~~~---~--~~
You
thanks.
On Feb 14, 3:40 am, DrZippie <[EMAIL PROTECTED]> wrote:
> There was a bug:
>
> https://trac.cakephp.org/ticket/3814
>
> It's solved on SVN.
>
> 2008/2/12, trav <[EMAIL PROTECTED]>:
>
>
>
> > I didn't realise google groups cou
I didn't realise google groups couldn't handle url requests. Here is
the url to copy and paste
http://img170.imageshack.us/my.php?image=schemavo5.gif
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
array('className' => 'Campaign',
'joinTable'=>
'bundles_campaigns',
'conditions' => '',
My problem was that I am using subdirectories. The following linked
help me configure cake appropriately.
http://www.chriscassell.net/log/2006/07/27/how_to_install_.html
On Feb 25, 10:07 pm, "Trav" <[EMAIL PROTECTED]> wrote:
> Here is my apache.conf entry:
>
> LoadModu
I have used cakephp for some personal projects and I develop eclipse
plugins for my working job and I was wondering if anyone knew of a
cakephp plugin for eclipse.
I am familiar with the eclipse php plugin and it is very useful, but
it would be nice to take it one step further.
--~--~-~
lhost/cows/index.php/news
However, shouldn't I expect to hit http://localhost/cows/news ? I get
a 'Bad request' every time. Any thoughts on what I am doing wrong?
thanks,
-Trav
--~--~-~--~~~---~--~~
You received this message because you are subscr
24 matches
Mail list logo