Re: Cache errors

2012-04-01 Thread 0x20h
Have you configured your cache with lock = true ? Am 31.03.2012 07:13, schrieb Jeremy Burns: Although my site and cache is functioning, my debug log is littered with errors similar to this: 2012-03-30 23:45:28 Notice: Notice (8): unserialize() [a

Default scaffolds view behavior

2012-04-01 Thread MaJerle.Eu
Hello everybody! After using scaffolding view with models that are accociated with 'className' = 'PluginName.ModelName', links in scaffold view broke. So i decided to make some changes. Here they are: https://github.com/MaJerle/cakephp/commit/ae5d0b664edbc4a0dd33fa959e9f5dcddf152087

Re: Cache errors

2012-04-01 Thread Jeremy Burns | Class Outfit
Thanks - I hadn't realised that was an option. Have set and tested it and will monitor to see if that resolves it. Jeremy Burns Class Outfit http://www.classoutfit.com On 1 Apr 2012, at 11:02:29, 0x20h wrote: Have you configured your cache with lock = true ? Am 31.03.2012 07:13, schrieb

Re: Cache errors

2012-04-01 Thread 0x20h
Yeah, odd behavior. FYI it has been switched in 2.x, see http://cakephp.lighthouseapp.com/projects/42648/tickets/1988 Am 01.04.2012 14:22, schrieb Jeremy Burns | Class Outfit: Thanks - I hadn't realised that was an option. Have set and tested it and will monitor to see if that resolves it.

Re: Image Upload

2012-04-01 Thread Miles J
You can't save files with AJAX. Are you using a JS script that's using the iframe hack? On Saturday, March 31, 2012 12:41:41 PM UTC-7, aSh!Q's wrote: I wanted to upload a picture of the user via ajax. I checked the media plugin but found it a little bit hard seeing all those instructions. Is

2.1 issue with 'joins' where table is a SELECT

2012-04-01 Thread Mario
I have an issue with the new 2.1.1 version compared to 2.0.6 In several places in my models I have queries like: $this-find('all', array( 'joins' = array( array( 'type' = 'LEFT', 'table' = '(SELECT example.id FROM ... I know that table should contain the

Re: 2.1 issue with 'joins' where table is a SELECT

2012-04-01 Thread stork
For now, apply this patch: https://github.com/ceeram/cakephp/compare/2.1...2.1-2709 -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To

Re: 2.1 issue with 'joins' where table is a SELECT

2012-04-01 Thread stork
...and watch ticket http://cakephp.lighthouseapp.com/projects/42648/tickets/2709-modelschemaname-automatic-prefixing-with-the-modelschemaname-is-not-deactivable -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site

Re: MenuBuilder doesn't work with cakephp 2.0 (or 2.1)

2012-04-01 Thread Thomas Verschuren
@750riderAce, I'm not the same Thomas :) But i had the same problem a minute ago. Where you have View --- helpers --- MenuBuilderHelper.php it should read View --- Helper --- MenuBuilderHelper.php On Friday, March 30, 2012 5:02:21 PM UTC+2, 750riderAce wrote: Thomas... could you please

Twitter-Like Timeline

2012-04-01 Thread Fandratt Muda
Good day. Hello guys I am still very new in cakephp, so I need some helps here :D Is it possible to create twitter-like timeline with cakephp? How? any tutorials would be useful. Thank you very much :) -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Session::setFlash dosn't work under chrome

2012-04-01 Thread rvcT
*cake version:* 2.1.1 *chrome version:* 18.0.1025.142 m Latest *code to reproduce error:* put in controller action: public function testflash(){ $this-Session-setFlash(flash message will not be shown in chrome); $this-redirect(array('action' = 'index')); } in the default layout: ?php echo

sql logs not showing

2012-04-01 Thread LordZardeck
Using ?php echo $this-element('sql_dmp'); ? is displaying no queries made, but i'm getting data. If i go into the sql_dump.ctp element and print_r() the $logs variable, i get this: ( [default] = Array ( [log] = Array ( ) [count] = 0 [time] = ) ) What's going on? How do I proceed from here

Re: Cache errors

2012-04-01 Thread Jeremy Burns | Class Outfit
Thanks, and for the record, the errors have disappeared. Jeremy Burns Class Outfit http://www.classoutfit.com On 1 Apr 2012, at 20:14:04, 0x20h wrote: Yeah, odd behavior. FYI it has been switched in 2.x, see http://cakephp.lighthouseapp.com/projects/42648/tickets/1988 Am 01.04.2012

Saving associated in a loop problems.

2012-04-01 Thread dyth
Hi, I'm having a problem trying to save associated data that i get from controller. I'm using CakePHP 2.1 The main model (Order) doing good in saving more than one data. But The problem is the associated model (Item) didnot save into the database. I hope you guys can help me The relationship