Re: What happeened to the API Documentation on CakePHP.org?

2013-02-28 Thread jodator
That was a quick fix. Nice job :) On Thursday, February 28, 2013 5:46:01 PM UTC+1, José Lorenzo wrote: > > Issues have been fixed now, you can revisit the site and have an overview > of all the classes. :) > > On Thursday, February 28, 2013 2:56:38 PM UTC+1, Renan Gonçalves wrote: >> >> There are

Re: Hash.php

2013-02-28 Thread lowpass
I don't have a copy of 2.2.5 here, and I can't navigate the new online API, but I have 2.2.4 here. That foreach() assumes that $parts is an array, but it shouldn't. Do you get a stack trace? Have you tried installing DebugKit? It's worth it. On Wed, Feb 27, 2013 at 1:45 PM, Ed Propsner wrote: >

Re: help for cakephp2.x template

2013-02-28 Thread Julien Itard
hi, go here : /app/Views/Layouts/default.ctp HTML file go here : /app/webroot/css/ CSS file -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To

Re: beforeValidate can't modify my data

2013-02-28 Thread kicaj
This isn't helpful:( I think is not complicated? W dniu czwartek, 28 lutego 2013 22:03:59 UTC+1 użytkownik André Luis napisał: > > Try: > > public function beforeValidate($options = array()) { > $data=&$this->data['Photo']; > foreach($data as $k=>$v){ > if(empty($v['n

help for cakephp2.x template

2013-02-28 Thread alim psyco
i'm a newbie using cakephp. could anyone help me on how to change the default template. i'm thinking on to use a different template for my project any tutorial or video tutorial if you have... could you help me please... -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Tw

Re: beforeValidate can't modify my data

2013-02-28 Thread André Luis
Try: public function beforeValidate($options = array()) { $data=&$this->data['Photo']; foreach($data as $k=>$v){ if(empty($v['name'])) unset($data[$k]); } return true; } Em quarta-feira, 27 de fevereiro de 2013 20h58min12s UTC-3, kicaj escreveu: > >

Re: beforeValidate can't modify my data

2013-02-28 Thread kicaj
Thanks MaJerle.Eu for reply, but you're wrong. If read my question carefully News hasMany Photo. In Photo::beforeValidation() there is no $this->data['Photo']['0']['image'] but is $this->data['Photo']['image']) and Your code doesn't work. I still looking solutions... W dniu czwartek, 28 lutego 2

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-28 Thread José Lorenzo
Issues have been fixed now, you can revisit the site and have an overview of all the classes. :) On Thursday, February 28, 2013 2:56:38 PM UTC+1, Renan Gonçalves wrote: > > There are some issues that are preventing us to have the full API featured > on the website. > > Check those: https://githu

Re: Error on Model

2013-02-28 Thread Andras Kende
Thats not a CakePHP but a MySQL error message… do you enough disk space available on you server ? Andras Kende On Feb 28, 2013, at 3:27 AM, rogerbenevento wrote: > Hello, sorry my english > > I have a problem that I don't have idea what can be: > Error: SQLSTATE[HY000]: General error: 126 Inc

Auth doesn't work in iframe

2013-02-28 Thread Tobias Schlemmer
Hello everyone, I'm running a website with CakePHP 2.2.5 using the AuthComponent for login. Which works great. But when I include this website into an iframe, login is not possible anymore. Can someone verify this behavior for his own app? Just do iframe test http://your-cakephp-app.co

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-28 Thread Renan Gonçalves
There are some issues that are preventing us to have the full API featured on the website. Check those: https://github.com/cakephp/cakephp-api-docs/issues On Thursday, February 28, 2013 10:55:54 AM UTC+1, senser wrote: > > I cannot agree. The new view of API is terrible for me. > I liked to bro

Re: CakePHP 2.3.0 tutorial blog: Model file name and validation problems

2013-02-28 Thread Virgo Pärna
On Wed, 27 Feb 2013 14:43:59 + (UTC), Virgo Pärna wrote: > I'm trying to learn CakePHP by doing tutorial blog (but that tutorial is > 2.2 - > mayby that's the problem) and I'm having two problems. > > When I name model file as Post.php, then every page outputs model at the > top >

Re: What happeened to the API Documentation on CakePHP.org?

2013-02-28 Thread senser
I cannot agree. The new view of API is terrible for me. I liked to browse classes without typing their names and really loved all classes visible on single page. Another annoying change is the order of class methods - it's not alphabetical anymore, but why ?!? How to find a particular method in

Re: Help / Source code for Simple Authentication tutorial

2013-02-28 Thread Scott Tobias
I had this problem and fixed it in my AppController.php file I had: class AppController extends Controller { public $components=array('DebugKit.Toolbar'); public $helpers = array('Html', 'Form', 'Session'); public $components = array('Session'); Removing the last 2 lines

Error on Model

2013-02-28 Thread rogerbenevento
Hello, sorry my english I have a problem that I don't have idea what can be: *Error: *SQLSTATE[HY000]: General error: 126 Incorrect key file for table '/tmp/#sql_405a_0.MYI'; try to repair it Somebody can I help me? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter htt

Re: How to echo and play videos in Cakephp

2013-02-28 Thread Chetan Patel
You can also use http://videojs.com/ On Thu, Feb 28, 2013 at 2:18 PM, Marcus James wrote: > You can use jPlayer http://www.jplayer.org/ > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on Twitter http://twitter.com/CakePHP > > --- > You received this message because you a

Re: How to echo and play videos in Cakephp

2013-02-28 Thread Marcus James
You can use jPlayer http://www.jplayer.org/ -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving ema

How to echo and play videos in Cakephp

2013-02-28 Thread Victor Musvibe
I have an application were by users can upload images and should be able to echo and play videos. My upload function works fine but challenge that i am having now is to echo and play the video. Here is how i am uploading the file function uploadFile() { $file = $this->data['CpdVideo']['