Re: Loading many Model in a Cakephp controller

2008-04-10 Thread Marcelius
Question: When would one deside to use ClassRegistry::init instead of App:Import and new() ? Wouldn't that be more memory efficient? On 11 apr, 01:59, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > > I was wondering if it is possible to load models inside a controller > > in the similar way

Session be losted when I use redirect function

2008-04-10 Thread Freshow
in my AddController ,i use: $this -> Session -> write('id','1001');... and I can read the value of id by :..$session -> read('id');.. but ,if I add this into AddController, I cannot get the value of id: .. $this -> Session -> write('id','1001'); $this -> redirect('/'); ..

Re: How can I user jQuery insted of prototype?

2008-04-10 Thread Freshow
Thanks for all replay , I use it directly by reference jquery js library in my layout On 4月3日, 上午11时21分, dyh1919 <[EMAIL PROTECTED]> wrote: > I love jQuery more than prototype,but,what i should do before i use it > in CakePHP? --~--~-~--~~~---~--~~ You received th

Is there any example for CakeAMF, CakePHP AMF Plugin?

2008-04-10 Thread kiang
I added some code that I used to test amf plugin here: https://trac.cakefoundation.org/amf/wiki/tutorial/amf#ExampleUnderdevelopment It still couldn't work. Could anyone give me some hints or examples to use amf plugin. I would make some tutorials if testing successfully. :) Although gwoo had ga

Database Cluster Configurations

2008-04-10 Thread Tom.Maiaroto
So I read the post about master - slave setup. http://groups.google.com/group/cake-php/browse_thread/thread/58ea010f930fab6c/df64d493b24d5a67?lnk=gst&q=master+slave+mysql&rnum=1 Very straight forward and nice. I could set that up and get it working now...but I don't do a ton of writing...I have a

MySQL reporting

2008-04-10 Thread UTDStudent
I was wondering if there were any reporting engines or what not that work well with CakePHP. Any help would be greatly appreciated. I just need to create some very simple reports based off the database. --~--~-~--~~~---~--~~ You received this message because you

Re: Test Suite v1.2: $useDbConfig problem in model association.

2008-04-10 Thread releod
thanks for posting that - I was running into the same problems, all is well now. According to the passing tests :) On Mar 20, 5:20 pm, Defranco <[EMAIL PROTECTED]> wrote: > Hi again, > > Please discard the code from previous post, it has a lot of bugs. > > This is working better: > >

Re: JavaScript Links are not written to cached Files?

2008-04-10 Thread Adam Royle
Sounds weird, I don't experience the same issue as you. One solution might be to do a manual clear out of cache files in app/tmp/cache/ views/ and persistent/. You may have some dregs left there. If that doesn't fix the issue then post some code. Cheers, Adam On Apr 10, 9:36 pm, orbdex <[EMAIL

Re: CakePHP and russian letters

2008-04-10 Thread ring0
I use UTF-8. On Apr 10, 10:30 am, Margarittka <[EMAIL PROTECTED]> wrote: > Hi! > I'm new for cakePHP and Bakesale. I install cakePHP, but now i have > some problems with russian letters. Russian letters, that i wrote in > html files, look like undefined symbols - something like ''. What > ca

View this page "CakePHP In The Wild"

2008-04-10 Thread mixersoft
Hi everyone. I just released the preview of my new site/service, Snaphappi (http:// snaphappi.com). This is my first Cakephp app, please come visit and send me any comments and suggestions. Snaphappi is a provider of handcrafted digital photo processing service. If you have 1000s of photos on yo

Re: Problems with CakePHP and russian letters

2008-04-10 Thread Dardo Sordi Bogado
Look in app/view/layouts/default.ctp and define the locale there. Also, for mysql you need to put the 'encoding' => 'YOURS' in app/config/database.php. On Thu, Apr 10, 2008 at 5:51 AM, Margarittka <[EMAIL PROTECTED]> wrote: > > Hello! I'm new for CakePHP. I have problems with russian letters.

Re: auth

2008-04-10 Thread dishwasher
sorry, i wanted to reply to this post... http://groups.google.com/group/cake-php/browse_thread/thread/19e4cd9010281fd7/3d756f6aa4dbbac5?lnk=gst&q=email+component+smtp#3d756f6aa4dbbac5 regarding the email component. --~--~-~--~~~---~--~~ You received this message

Re: Limiting the number of results in HABTM association

2008-04-10 Thread Dardo Sordi Bogado
Yes, I've found a incredibly powerful (but very simple) tool that will let you found the answer to that: http://www.google.com.ar/search?q=cakephp+pagination+habtm http://www.google.com.ar/search?q=cakephp+habtm+limit On Thu, Apr 10, 2008 at 2:19 PM, Defranco <[EMAIL PROTECTED]> wrote: > > Hi

Re: Loading many Model in a Cakephp controller

2008-04-10 Thread Dardo Sordi Bogado
> I was wondering if it is possible to load models inside a controller > in the similar way as codeigniter does, and if there is a way, how to > do it Yes, Well if you want to use more than one model in the same controller, just tell cake so: class FoosController extends AppController { var

Loading many Model in a Cakephp controller

2008-04-10 Thread Garf
I was wondering if it is possible to load models inside a controller in the similar way as codeigniter does, and if there is a way, how to do it It would be something like this class Blog_controller extends Controller { function blog() { $this->load->model('users_model',

Connection to Oracle "views"

2008-04-10 Thread ScottieBoy4
I'm fairly new to the Oracle world, but I've been using oracle with Cake pretty good until now. The oracle administrator has something set up called "view", which in my understanding is a query against the system table that acts as its own table. While you can log in via the command line and que

Re: Models getting lost on same page reload

2008-04-10 Thread Dardo Sordi Bogado
> "Notice (8): Undefined index: User [APP/models/contractor.php, line > 25]" > > Any suggestions? Yes, one: Open in your favourite text editor the Contractor model (app/models/contractor.php) and go straight to the line 25. > > > --~--~-~--~~~---~--~~ You r

auth

2008-04-10 Thread dishwasher
had some trouble with auth too. fixed the component at the beginning at __smtp not HELO but... if (!$this->__sendData("EHLO cake\r\n")) { return false; } hope that may help somebody --~--~-~--~~~---~--~~ You received this

Re: spiny ajax thingy

2008-04-10 Thread [EMAIL PROTECTED]
great thanks guys! that ajaxload.info site is awesome. On Apr 10, 4:45 pm, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > >  For customised loading images, a really useful site is: > > >  http://www.ajaxload.info/ > > Nice one. I used this before:http://loadinfo.net/, but your's is pretty. > >

Re: spiny ajax thingy

2008-04-10 Thread Dardo Sordi Bogado
> For customised loading images, a really useful site is: > > http://www.ajaxload.info/ Nice one. I used this before: http://loadinfo.net/ , but your's is pretty. > > > On Apr 10, 11:36 pm, John David Anderson <[EMAIL PROTECTED]> > wrote: > > > > On Apr 10, 2008, at 4:30 PM, [EMAIL PROTECTED

Re: spiny ajax thingy

2008-04-10 Thread the_woodsman
For customised loading images, a really useful site is: http://www.ajaxload.info/ On Apr 10, 11:36 pm, John David Anderson <[EMAIL PROTECTED]> wrote: > On Apr 10, 2008, at 4:30 PM, [EMAIL PROTECTED] wrote: > > > > > I'm sure this has been posted before but my search didn't turn > > anything u

Re: spiny ajax thingy

2008-04-10 Thread Dardo Sordi Bogado
This is a good one: http://cake.insertdesignhere.com/posts/view/16 On Thu, Apr 10, 2008 at 7:36 PM, John David Anderson <[EMAIL PROTECTED]> wrote: > > > On Apr 10, 2008, at 4:30 PM, [EMAIL PROTECTED] wrote: > > > > > I'm sure this has been posted before but my search didn't turn > > anything

Re: spiny ajax thingy

2008-04-10 Thread John David Anderson
On Apr 10, 2008, at 4:30 PM, [EMAIL PROTECTED] wrote: > > I'm sure this has been posted before but my search didn't turn > anything up because I can't remember what this is called. Can anyone > point me to an example of implementing ajax with a "working" image (an > image that pops up and animat

spiny ajax thingy

2008-04-10 Thread [EMAIL PROTECTED]
I'm sure this has been posted before but my search didn't turn anything up because I can't remember what this is called. Can anyone point me to an example of implementing ajax with a "working" image (an image that pops up and animates while the ajax call is executed)? Thanks, Dave --~--~-

Re: Nested queries using findAll with IN

2008-04-10 Thread Grant Cox
Use "-!" if you want to tell Cake not to escape things - eg $query = array( "OR" => array( "Runner.name" => "LIKE %".$runner['name']."%", "Runner.surname" => "LIKE %" . $runner['name'] . "%" ), "Runner.id" => "IN -!(SELECT runner_id from run

Nested queries using findAll with IN

2008-04-10 Thread Stefano
Hi there, I have a problem I can't solve. I need to build up this query SELECT `Runner`.`id`, `Runner`.`name`, `Runner`.`surname`, `Runner`.`nationality` FROM `runners` AS `Runner` WHERE ((`Runner`.`name` LIKE '%mark%') OR (`Runner`.`surname` LIKE '%mark %')) AND `Runner`.`id` IN (SELECT runner_i

Re: ConnectionManager::getDataSourc error with recusrsion = 3

2008-04-10 Thread robdeman
ok answering own post cake framework issues 1.1.19.6305 -> OK 1.1.18.5850 -> ERROR On 10 apr, 19:35, robdeman <[EMAIL PROTECTED]> wrote: > Hi all, > > I have developped CakePHP V1.1.x code under WAMP (WinXP, Apache, PHP5) > and works fine. > That same code has been tested on a LAMP machine (C

Re: Upload Question

2008-04-10 Thread Sam Sherlock
I have managed to find some discussions recounting personal experience through google. http://www.google.co.uk/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&q=uploading+%2B%22100mb%2B%22+files+in+php&btnG=Search&meta= On 10/04/2008, Sliv <[EMAIL PROTECTED]> wrote: > > > but m

Re: Upload Question

2008-04-10 Thread Sliv
but my link was to google.ca, which everyone knows is better than google.com. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubs

Re: Upload Question

2008-04-10 Thread Novice Programmer
I would prefer inperson practical experiences because i already know the experiences that google.com has.. ;). Thanks. On Thu, Apr 10, 2008 at 5:47 PM, Sliv <[EMAIL PROTECTED]> wrote: > > > http://www.google.ca/search?q=uploading+large+files+in+php&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:of

Problem in using Ajax to submit a form

2008-04-10 Thread Pierre MARCOURT
Hi, I have a problem when I try to submit a form by using Ajax. If I submit this form by using html, it works well. Since I changed the code and try to do it with Ajax, FireBug give this error : $(form) has no properties return $A($(form).getElementsByTagName('*')).inject([], in prototype.js (l

Re: Models getting lost on same page reload

2008-04-10 Thread Tim
Why did the baker have brown hands? Because he kneeded a pooh! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from thi

debugging question

2008-04-10 Thread frOOgz
Hello, I have recently transferred from application development to web development. I have started eating Cake and lovin it!!! My question is related to general PHP debugging. I am using Eclipse PDT for my IDE with the Zend debugger. I would like to know/how to debug more interactively. For

Re: database configuration on domain

2008-04-10 Thread Fabian
thanks that's what I ended up doing using the ip =) On Apr 10, 9:47 am, "Dardo Sordi Bogado" <[EMAIL PROTECTED]> wrote: > Try putting localhost, or 127.0.0.1. If your database is hosted in > other host than the one running the webserver, put the ip there. > > On Wed, Apr 9, 2008 at 9:49 PM, Fabia

Redirect to a different (external) domain while using AJAX

2008-04-10 Thread ksachdeva
Hi, I have a login page to which I am submitting the form using AJAX. If the login is successful I would like the user to be directed to a different domain. I have tried everything including whatever is suggested here : http://bakery.cakephp.org/articles/view/redirects-with-ajax without any suc

Models getting lost on same page reload

2008-04-10 Thread Tim
I am including these models in my controller: "var $uses = array('Contractor','User','Address','Phone');" and everything works fine until the page reloads after the form was submitted. On reload the page seems to lose the added models and gives me errors: "Notice (8): Undefined index: User [APP/

Re: Config.language broken in latest 1.2 ?

2008-04-10 Thread Ecole de Paris
I found the reason why it wouldn't work for me: __('Whatever'); before the settings Configure::write in the beforeFilter function it was obvious but i could'nt see it i found the answer thanks to the comments in that article : http://bakery.cakephp.org/articles/view/p28n-the-top-to-bottom

CakePHP 1.1 Manual (was Re: PHP Developer (contract to hire / telecommute))

2008-04-10 Thread John David Anderson (_psychic_)
On Apr 10, 2008, at 12:18 PM, alan wrote: > > > Our platform is Linux, Apache2, MySQL5, PHP5 and there may be some > server configuration and management involved in the role. Our > application framework is CakePHP v1.1 (stable), though as long as you > are familiar with MVC systems (like ROR)

PHP Developer (contract to hire / telecommute)

2008-04-10 Thread alan
http://google.com/notebook/public/12017990886288863156/BDQ7XSgoQ5b_usJMj --- Position: PHP Developer (contract to hire / telecommute) Company: Audiology Online Function: Information Technology Industry: Internet Location: Telecommute - (Loui

ConnectionManager::getDataSourc error with recusrsion = 3

2008-04-10 Thread robdeman
Hi all, I have developped CakePHP V1.1.x code under WAMP (WinXP, Apache, PHP5) and works fine. That same code has been tested on a LAMP machine (CentOS, Apache, PHP5) - running Plesk 8.3 and works fine. But now I have moved the same code over to the real live server (LAMP: FreeBSD, PHP5, MySQL)

Limiting the number of results in HABTM association

2008-04-10 Thread Defranco
Hi all, Is possible to limit the number of results in a habtm association query? I have a model1 that has a habtm with model2 - when i query $model1- >find(), an item of model1 has 50,000 model2 items and is crashing php Is possible to limit the number of items of model2 when I query for model

Re: Config.language broken in latest 1.2 ?

2008-04-10 Thread Ecole de Paris
Hello (bonjour), i have the exact same problem and i would like a little explanation on where you changed the chmod ? coz my core.php is 777 so it can be that ... thanks for the tip Raphaele On Feb 28, 4:27 pm, Ugo PARSI <[EMAIL PROTECTED]> wrote: > Ok... found the problem. > For further referenc

Re: Difference b/w mod_rewrite & CakePHP routing

2008-04-10 Thread Dardo Sordi Bogado
> Is CakePHP routing still available if i turn mod_rewrite OFF. Yes, but you will end having index.php before every route, i.e. index.php/controller/action/param1/param2. > How they are linked to each other? If the request doesn't hit any existing file or directory in the webroot, then handle

Re: Quick Auth component issue

2008-04-10 Thread Antonio Labriola
Hey guys, thanks for the responses. So it looks like i was doing everything correctly except one minor thing. I was using md5 to encrypt my passwords, however the Auth component does not default to md5, so i had to set it. Then i had to modify the Security.salt key to blank in order for autho

Re: Quick Auth component issue

2008-04-10 Thread Antonio Labriola
Hey guys, thanks for the responses. So it looks like i was doing everything correctly except one minor thing. I was using md5 to encrypt my passwords, however the Auth component does not default to md5, so i had to set it. Then i had to modify the Security.salt key to blank in order for autho

Re: Error when using a table with a 2 word name.

2008-04-10 Thread Sliv
Well the first thing I noticed is your model filenames are not following cake conventions, they should be singularized (request.php not requests.php). Have you tried baking your MVC as a start rather than coding it by hand? On Apr 10, 6:50 am, Chris <[EMAIL PROTECTED]> wrote: > Hi All, I'm new t

Re: Page specific javascript

2008-04-10 Thread [EMAIL PROTECTED]
That would seem to me like a bit of a sledgehammer solution. All you need to do is use the Javascript::link / Html::css functions in your views, without the inline setting, and they will be added to the collection when you get round to replacing scripts_for_layout in your layout. Of course you cou

Re: database configuration on domain

2008-04-10 Thread Dardo Sordi Bogado
Try putting localhost, or 127.0.0.1. If your database is hosted in other host than the one running the webserver, put the ip there. On Wed, Apr 9, 2008 at 9:49 PM, Fabian <[EMAIL PROTECTED]> wrote: > > I'm getting this warnings: > > Warning: mysql_connect(): Can't connect to MySQL server on 'mo

Re: Page specific javascript

2008-04-10 Thread grigri
Am I missing something here? This seems quite an easy thing to do: class AppController extends Controller { var $helpers = "SomeRandom"; } class SomeRandomHelper extends AppHelper { var $helpers = array('Html', 'Javascript'); function beforeRender() { // Load controller-specific css a

Re: Webroot folder in Plugins

2008-04-10 Thread Gwoo
submit a patch with the relevant test case. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email t

Re: Page specific javascript

2008-04-10 Thread simon
is there a method to do the same for the above but for css sheets? On Apr 9, 10:14 am, "R. Rajesh Jeba Anbiah" <[EMAIL PROTECTED]> wrote: > On Apr 8, 8:59 am, John R <[EMAIL PROTECTED]> wrote: > > > Is there an easy way with Cake to get /js/register.js to be > > automatically included in register

Re: hasAndBelongsToMany relation issue

2008-04-10 Thread inma
Thanks Joel! I will try it. On 10 abr, 00:32, Joel <[EMAIL PROTECTED]> wrote: > The query: > > $records = $this->Author->findAll(); > > will return nested associative arrays in the form: > > Array > ( >     [0] => Array >         ( >             [Author] => Array >                 ( >          

Error when using a table with a 2 word name.

2008-04-10 Thread Chris
Hi All, I'm new to Cake and while I feel I have a good grasp of many of the concepts and conventions I have stumbled across the following problem. It's probably a simple lack of convention following, but I've read the manual over and over and I feel this should work. Hopefully my description will

CakePHP and russian letters

2008-04-10 Thread Margarittka
Hi! I'm new for cakePHP and Bakesale. I install cakePHP, but now i have some problems with russian letters. Russian letters, that i wrote in html files, look like undefined symbols - something like ''. What can i do for solve this problem? I must only change charset on windows-1251 at all file

Problems with CakePHP and russian letters

2008-04-10 Thread Margarittka
Hello! I'm new for CakePHP. I have problems with russian letters. In my database russian letters are look like normally. But when i try to write any datas on russian language to my html or php document (document with views or another), i saw strange symbols - not russian letters. If i set windows-

Re: organizing controlleres into subdirectories

2008-04-10 Thread [EMAIL PROTECTED]
On Apr 9, 10:14 am, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > > *sigh* > > Has my reputation gotten to the point where people disregard what I > say in favour of trying to make me look dumb? It appears so. I am > resigned to my fate. > Don't worry Chris, us silent lurkers who have been aroun

Re: Problem with updating counter cache values

2008-04-10 Thread grigri
replace this: $this->Comment->post_id = $post_id; $this->Comment->Post->id = $post_id; with this: $this->Comment->set('post_id', $post_id); In cake, the data fields of a model entity are never stored as member properties of the model object - they are stored in the $data member property, set u

Re: Unit Testing of cakephp 1.1 (not cakephp 1.2)

2008-04-10 Thread Andrew Assarattanakul
You can get the Test Suite for CakePHP v1.1 here http://cakeforge.org/projects/testsuite/ I don't remember how much work is needed for the paths to work correctly if your not running in the root directory. But if you look in the repository and get the latest code from the trunk it should be more

cake via console not logging php errors

2008-04-10 Thread Defranco
Hi, I'm running some routines on my applications via custom console scripts (shell); It is working fine, but when a php errors occurs, it is not generating any kind of message (it do not prints the error on console screen nor generate error on logs files like web interface does). So I checked a

Re: Problem with updating counter cache values

2008-04-10 Thread jelmer
bump... there must be someone who's tried this before, I'm sure there's a simple fix for this I just can't figure it out on my own, help is appreciated. On Apr 8, 6:30 pm, jelmer <[EMAIL PROTECTED]> wrote: > Hello guys, > > I'm trying to use countercache to count the number of visible comments >

Re: architecture - organizing related models (?)

2008-04-10 Thread Jon Bennett
> I'm interested to know the preferred way of organizing the models and > vendor files, for the project say "meta search engine - using > webservices of the search engines": I see you have 2 other options (than those listed already). 1. create a datasource for each search engine, connect a mo

Re: eCommerce shopping cart - Cake alone or with 3rd party?

2008-04-10 Thread Matti Putkonen
The SVN has a version for 1.2. The bugs are very small and I am running it on 3 different live stores. However it is not very "absolute newbie" friendly yet. Drop me note thru email or CakePHP IRC if you need more info on it. On 10 huhti, 08:15, silkcom <[EMAIL PROTECTED]> wrote: > luke, excelle

Re: Upload Question

2008-04-10 Thread Sliv
http://www.google.ca/search?q=uploading+large+files+in+php&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this grou

Re: JavaScript Links are not written to cached Files?

2008-04-10 Thread orbdex
i forgot: the JS-Files are prototype.js and Starbox rating JS. (starbox.js) Again: The first load of the Page is fine, after reload (when the cached file is displayed) I get the JavaScript errors... Regards --~--~-~--~~~---~--~~ You received this message because yo

JavaScript Links are not written to cached Files?

2008-04-10 Thread orbdex
Hey there, I've turned on the caching mechanism (FileEngine) within our cake 1.2 (latest beta) application. Debug is set to 0. On loading our Startpage the Page is rendered fine, evertyhing works. But the cached File does not include the Javascript-Links which I linked via $javascript->link withi

Re: Webroot folder in Plugins

2008-04-10 Thread MYRZ
Well, i realize this is a bit of a dillema: performance vs. architectural. I just think it would be cleaner if a plugin could also contain its own images, since layout- and viewtemplates are also included in a plugin. But i agree there could be some performance backdraws. I think if this were to b

Re: Webroot folder in Plugins

2008-04-10 Thread Dardo Sordi Bogado
Having things like css, js and images (mostly static content) served directly by the webserver from the document root (bypassing cakephp routing) is a good thing in terms of performance, and makes easy to serve that from a server farm using a light webserver (i.e. lighty). On Thu, Apr 10, 2008 at

Re: newbie acl question

2008-04-10 Thread Dardo Sordi Bogado
> basically in my layout ctp file, i have a navigation menu. If an Admin user > logs in, I want the admin nav menu to appear. Otherwise, do not display the > admin nav menu. what is the best way to do this? thanks 1. First, determine if the menu should be displayed. This depends on how you have

Re: Webroot folder in Plugins

2008-04-10 Thread MYRZ
Well, if images aren't supported yet, i think i rather wait with the whole plugin idea... it is quite a hassle to change everyting for a plugin, so if i do it, i really want it to pay off... Isn't this ticket worthy? On 10 apr, 04:06, Gwoo <[EMAIL PROTECTED]> wrote: > /plugin/plugin_name/vend

Re: Display progress of an AJAX-called script in a view

2008-04-10 Thread [EMAIL PROTECTED]
I would also advocate dumping into an iframe. There is a little trick you may get away with: (has problems in some browsers though) You can dump a bar each time making it bigger and bigger and positioning them on top of each-other. I dont have a link handy but I am sure google can help you find

Re: cache issues

2008-04-10 Thread Dave J
The main issue here is the difference between the Cake caches and the browser caches. You still want the Cake caches fully enabled, however (especially for sites which frequently change their content, such as news sites), you dont want the browser to keep a cached copy of the page, or viewers migh

Re: architecture - organizing related models (?)

2008-04-10 Thread [EMAIL PROTECTED]
My 2¢ 2. I have used this in similar situations: $engine = 'Google'; // obviously not hard-coded in a real app. $this->Controller->$engine->search(); 4. From what I have learned, you should put "anything that is not a Controller, Model or View" in vendor. So, feel free to put your own libraries

Re: cache issues

2008-04-10 Thread [EMAIL PROTECTED]
You should try this directive in config/core.php. It is supposed to turn off all caching. Configure::write('Cache.disable', true); It is on line 71 (or close by) but commented ut. Also make sure that you really really make the browser drop its cache too. It is not enough to disable the cache in

Re: cache issues

2008-04-10 Thread Dave J
Hi Ron, Usually adding $this->disableCache(); to the beforeRender() sends the correct headers to the browser so it won't cache the pages. However if you're using Cake's View caching, you'll soon find out (and rightly so) that no code from the Controllers gets executed after the first hit. We wo

Re: Display progress of an AJAX-called script in a view

2008-04-10 Thread gmwebs
Thanks for the reply Adam... 471 records was just an example - it was more the concept that I wanted to understand. What is dodgy about using the iFrame method? To be honest, that is the only method that I could think of before posting this. --~--~-~--~~~---~--~~ Y

Re: ACL: ACOs inherit permission settings backwards?

2008-04-10 Thread David Christopher Zentgraf
Awesome. Seems to work for me, with just a quick test. I'll continue scrutinizing it to see if anything turns up, but so far so good. No real performance hit or anything to speak of either. On 10 Apr 2008, at 17:01, aranworld wrote: > > I have just updated the ticket with something that appears

Re: ACL: ACOs inherit permission settings backwards?

2008-04-10 Thread aranworld
I have just updated the ticket with something that appears to solve the problem. At least the solution now allows the test case to pass. And in my own application, things seem to be working out correctly. But the logic of these inheritance trees gets pretty tricky, so I wouldn't be surprised if

Re: cache ignores prefix (after #6323 fix)

2008-04-10 Thread Krommenaas
To reply to my own question below, the $settings array is probably set by the extract command which I missed earlier. I'll try get to the bottom of the prefix problem and report back. On Apr 9, 11:10 pm, Krommenaas <[EMAIL PROTECTED]> wrote: > Looking at the code in that changeset I wonder whet