Re: Can anyone help me with editing post_tags ???

2013-06-19 Thread Lilit
i forgot the view Edit Topic Form->create('Topic', array('type' => 'file')); echo $this->Form->input('id', array( 'type'=>'hidden', 'value' => $topic['Topic']['id'] )); echo $this->Form->input('title', array( 'type' => 'text', 'error' => array('class' => 'error-message'), 'l

Re: E_STRICT error popping up in production.

2013-06-19 Thread Dakota
Why not just fix the cause of the E_STRICT notice? On Thursday, 20 June 2013 03:42:11 UTC+2, Chris Cinelli wrote: > > Just to make it clear. It pops up in the browser. > > On Wed, Jun 19, 2013 at 6:41 PM, Chris Cinelli < > chris@formativelearning.com > wrote: > >> We are on cakePHP 2.2.1 >>

Re: E_STRICT error popping up in production.

2013-06-19 Thread Chris Cinelli
Just to make it clear. It pops up in the browser. On Wed, Jun 19, 2013 at 6:41 PM, Chris Cinelli < chris.cine...@formativelearning.com> wrote: > We are on cakePHP 2.2.1 > > I have an E_STRICT error popping in up in production even if CORE_DEBUG = 0 > > Our error handler in core.php is: > > Confi

E_STRICT error popping up in production.

2013-06-19 Thread Chris Cinelli
We are on cakePHP 2.2.1 I have an E_STRICT error popping in up in production even if CORE_DEBUG = 0 Our error handler in core.php is: Configure::write('Error', array( 'handler' => 'ErrorHandler::handleError', 'level' => E_ALL & ~E_DEPRECATED, 'trace' => true )); Do I need to have 'level' => E

Re: How to edit a view in Cake php

2013-06-19 Thread Ravinder Kaur
Table Products have a foreign key 'product_family_id' and have belongs to relationship with Product_families table. Table Product_families have foreign key 'customer_id' and have belongs to relationship with Customers table. Now How can i connect Product model and Customer model to have customer n

Re: How to edit a view in Cake php

2013-06-19 Thread Ravinder Kaur
Yes I have model for all my tables.. On Tue, Jun 18, 2013 at 7:25 PM, Eric Haskins wrote: > Do you have a Customers Model? I have models for all of my tables > > > > > On Monday, June 17, 2013 5:38:40 PM UTC-4, Raks wrote: > >> Returns an Error >> >> {"code":500,"url":"\/products\**/listing_dat

Re: Error: Mysql requires a database connection

2013-06-19 Thread Raxit
Gaurav, I did it but result is still same. Raxit On Wednesday, June 19, 2013 9:53:02 AM UTC+5:30, gaurav wrote: > > Faced same error while migration of project from 1.2 to 2.x. Try clearing > cache > > /App/temp/cache > You will find some folders...like model,view etc..dont delete those but >

Re: Error: Mysql requires a database connection

2013-06-19 Thread Raxit
Eric, Yes i have created one file to test Mysql connection and it is working fine. But when i write my domain name, it directly gives me error of missing database connection. I did some research and i found that it is using some different path. This site is running under apache server. but i

Cakephp netbeans plugin no command available on mac

2013-06-19 Thread Levavasseur Jacques
When i try to run command with thé netbeans cakephp plugin i've got no command available. To resolve this i add this in lib/Cake/Cache/CacheEngine.php at line 60 if(strpos(PHP_OS,'WIN')===false) : date_default_timezone_set('GMT'); endif; For me it's work with GMT but you can specify your timez

CakePHP on Windows Azure

2013-06-19 Thread James Watts
We recently teamed up with Microsoft to bring CakePHP to the Windows Azure cloud platform. You can view it now on the Windows Web App Gallery, check it out here - http://www.microsoft.com/web/gallery/cakephp.aspx -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://

Re: Model and Datasource for NoSQL (MongoDB) - relations

2013-06-19 Thread Mickaël Lagarde
Hi, Great job ! Associations work well but I have problems when I use the behavior Containable, it does not work as it should (with class extends MongodbAppModel) $results = $this->Fondeurversion->find('all', array( 'order' => array('name' => 1), 'contain' => array( 'Fondeurgamme'

Multiple model types specialization/generalization

2013-06-19 Thread Allan Diego
Hello, How can I implement multiple types of models? example: User (common attributes) (used in the ACL for authentication) User_type_A (specific profile atributes) User_type_B (specific profile atributes) User_type_A should be treated as (User data + specific data) I tried to use Use

Re: Cake is NOT able to connect to the database. Database connection "Mysql" is missing, or could not be created.

2013-06-19 Thread deveshchauhan27
Hello, Gabriel I have same problem. Can you tell me how you fixed it. -- 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 gr

Re: Can anyone help me with editing post_tags ???

2013-06-19 Thread Lilit
this is a part of code for adding topic with tags $save = $this->Topic->save($data['Topic']); if($save){ $tags = explode(',', $data['Topic']['tags']); foreach($tags as $tag){ $tag =

Re: Can anyone help me with editing post_tags ???

2013-06-19 Thread Eric Haskins
What are you trying to do?? Example code? Eric On Wednesday, June 19, 2013 4:55:49 AM UTC-4, Lilit Bakunts wrote: > > > > > > -- > View this message in context: > http://cakephp.1045679.n5.nabble.com/Can-anyone-help-me-with-editing-post-tags-tp5715315.html > > Sent from the CakePHP mailin

Re: backup of mysql using cakephp

2013-06-19 Thread Renato de Freitas Freire
Why don't you use mysqldump? It's the best way. -- Renato Freire On Wed, Jun 19, 2013 at 2:34 AM, Nikunj Amipara wrote: > hi, > does any one know how do i backup my sql database in simple sql file using > cakephp > > -- > Like Us on FaceBook https://www.facebook.com/CakePHP > Find us on T

Can anyone help me with editing post_tags ???

2013-06-19 Thread Lilit
-- View this message in context: http://cakephp.1045679.n5.nabble.com/Can-anyone-help-me-with-editing-post-tags-tp5715315.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP ---