HELP: cron_dispatcher 1.3.2 import plugin models

2010-07-20 Thread trav
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

Re: Need help: Plugin model issue

2010-06-08 Thread trav
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

Re: Need help: Plugin model issue

2010-06-08 Thread trav
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,

Re: Need help: Plugin model issue

2010-06-08 Thread trav
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

Re: Need help: Plugin model issue

2010-06-08 Thread trav
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, >

Re: Need help: Plugin model issue

2010-06-08 Thread trav
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 > > ===

Need help: Plugin model issue

2010-06-07 Thread trav
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: --

Re: DB Session Issue 1.2.3.8166

2009-05-24 Thread trav
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

Re: DB Session Issue 1.2.3.8166

2009-05-24 Thread trav
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

DB Session Issue 1.2.3.8166

2009-05-24 Thread trav
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

Session check

2008-08-26 Thread trav
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,

Re: adv routing questions ....i think

2008-05-07 Thread trav
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

adv routing questions ....i think

2008-05-06 Thread trav
' => '/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. --~--~-~--~~~--

Re: findall from linux differs from win

2008-04-16 Thread 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,

findall from linux differs from win

2008-04-16 Thread trav
[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&

Re: findall arrays

2008-04-11 Thread trav
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: >

Re: problem handling huge database

2008-04-11 Thread trav
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

findall arrays

2008-04-11 Thread trav
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

Re: save to two HABTM tables

2008-02-13 Thread trav
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

Re: save to two HABTM tables

2008-02-12 Thread trav
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.

save to two HABTM tables

2008-02-12 Thread trav
array('className' => 'Campaign', 'joinTable'=> 'bundles_campaigns', 'conditions' => '',

Re: i apparently don't understand htaccess

2007-03-02 Thread Trav
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

cakephp plugin for eclipse?

2007-03-02 Thread Trav
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. --~--~-~

i apparently don't understand htaccess

2007-02-25 Thread Trav
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