Re: how enable identifier quoting???

2016-03-14 Thread euromark
What part 
of https://github.com/cakephp/app/blob/master/config/app.default.php#L237-L245 
is not understandable?

Mark


Am Montag, 14. März 2016 04:34:29 UTC+1 schrieb Leonidas Savvides:
>
> *If you are using SQL keywords as table column names, you can enable 
> identifier quoting for your database connection in config/app.php.*
>
>
> How do this   
>
>
> long (for long, lat) is prohibited as db name of field...? if change to 
> long1 how apply the change in cakePHP? Also how * enable identifier 
> quoting???*
>

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Cakephp 2.8.1] Multiple assosication to one model with habtm throws a notice

2016-03-14 Thread John Andersen
Check your model names in the HABTM relationships. Looks like you have a 
mix of singular and plural.
Enjoy, John

On Monday, 14 March 2016 05:33:36 UTC+2, Steffen Reinig wrote:
>
> Hello Cakephp Fans,
>
> today i receive these error: 
>
> Notice (8): Undefined index: User [CORE\Cake\Model\Datasource\DboSource.php, 
> line 1388]
>
> Its easy to reproduce:
>
> Model: User belongsTo Group
> Model: Permission habtm Rights (className User)
>Permission habtm Owners (className User)
>
> When i use now 
> $this->Permission->find('all', array('recursive' => -2)); 
>
> the notice will be thrown. But only for the 2nd habtm.
>
> The output is like:
>
> array(
> 'Permission' => array(
> 'id' => '6',
> ),
> 'Owner' => array(
> (int) 0 => array(
> 'id' => '499',
> 'PermissionOwner' => array(
> 'id' => '6',
> 'user_id' => '499',
> 'permission_id' => '6'
> )
> )
> ),
> 'Rights' => array(
> (int) 0 => array(
> 'id' => '485',
> 'PermissionRight' => array(
> 'id' => '18',
> 'permission_id' => '6',
> 'user_id' => '485',
> ),
> 'Group' => array()
> ),
> (int) 1 => array(
> 'id' => '124',
> 'PermissionRight''id' => '19',
> 'permission_id' => '6',
> 'user_id' => '124',
> ),
> 'Group' => array()
> )
> )
> )
>
>
>
>
> Kind Regards
>
>

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to upgrade TLS version in cakePHP

2016-03-14 Thread Борислав Събев Borislav Sabev
This has nothing to do with CakePHP - it is a pure-PHP issue.
Maybe the versions of PHP you use in the CLI (terminal) abd web are 
different? Check which is which and if different see how to configure the 
web-based one.

It really depends on what OS you are running this. Any web application 
could choose a different PHP version (if available on the server) via the 
web server config. For example, if it is Apache, this could change in the 
.htaccess or in the apache config files.

You need to investigate more but one thing is sure - this is not a Cake 
issue.

Hope this helped.
Cheers, Borislav.



On Monday, 14 March 2016 05:33:39 UTC+2, Arun NV wrote:
>
>
> down votefavorite 
> 
>
> I am using *cakePHP2.2.1* and *PHP5.3.10*.And i have updated *curl* and 
> *libcurl* now curl is supporting *TLS 1.2* in *terminal*. But when i am 
> trying to send *curl* request in *cakePHP* it's shows the*TLS* version as 
> *1.1*. Is there anyway to configure *TLS* in *cakePHP*?
>
>

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the meaning of this error in cakephp 3?

2016-03-14 Thread Clement Crownrise
I forgot to add

use Cake\Validation\Validator;
to the ArticlesTable file,

I also forgot to add

public function beforefilter(Event $event){

To the AppController.php file.

Thanks all

On Mon, Mar 14, 2016 at 12:59 PM, Willem Schwarte 
wrote:

> So what was the problem?
>
> Op 14 mrt. 2016 om 12:43 heeft Clement Crownrise <
> clementcrownr...@gmail.com> het volgende geschreven:
>
> Thanks All, the error has been fixed.
>
>
>
> On Saturday, March 12, 2016 at 10:30:25 AM UTC+1, Clement Crownrise wrote:
>>
>> Hello, I am doing the blog tutorial in cakephp 3, but I got this notice
>> at the top of my page, please does anyone know the meaning and how to solve
>> it?
>>
>> *Strict* (2048): Declaration of App\Controller\AppController::beforefilter() 
>> should be compatible with 
>> Cake\Controller\Controller::beforeFilter(Cake\Event\Event $event) 
>> [*APP/Controller\AppController.php*, line *29*]
>>
>>
>>
>> *Strict* (2048): Declaration of 
>> App\Controller\UsersController::beforefilter() should be compatible with 
>> App\Controller\AppController::beforefilter() 
>> [*APP/Controller\UsersController.php*, line *10*]
>>
>>
>> Your help will be appreciated
>>
> --
> Sign up for our Newsletter for updates.
> http://cakephp.org/newsletter/signup
>
> We will soon be closing this Google Group. But don't worry, we have
> something better coming. Stay tuned for an updated from the CakePHP Team
> soon.
>
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Follow 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 emails from it, send an
> email to cake-php+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> Sign up for our Newsletter for updates.
> http://cakephp.org/newsletter/signup
>
> We will soon be closing this Google Group. But don't worry, we have
> something better coming. Stay tuned for an updated from the CakePHP Team
> soon.
>
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Follow us on Twitter http://twitter.com/CakePHP
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "CakePHP" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/cake-php/qEur8oKsm48/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> cake-php+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
http://www.clementcrownrise.name/images/nameing.gif

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the meaning of this error in cakephp 3?

2016-03-14 Thread Willem Schwarte
So what was the problem?

> Op 14 mrt. 2016 om 12:43 heeft Clement Crownrise  
> het volgende geschreven:
> 
> Thanks All, the error has been fixed.
> 
> 
> 
>> On Saturday, March 12, 2016 at 10:30:25 AM UTC+1, Clement Crownrise wrote:
>> Hello, I am doing the blog tutorial in cakephp 3, but I got this notice at 
>> the top of my page, please does anyone know the meaning and how to solve it?
>> 
>> Strict (2048): Declaration of App\Controller\AppController::beforefilter() 
>> should be compatible with 
>> Cake\Controller\Controller::beforeFilter(Cake\Event\Event $event) 
>> [APP/Controller\AppController.php, line 29]
>> 
>> 
>> 
>> Strict (2048): Declaration of App\Controller\UsersController::beforefilter() 
>> should be compatible with App\Controller\AppController::beforefilter() 
>> [APP/Controller\UsersController.php, line 10]
>> 
>> Your help will be appreciated
> 
> -- 
> Sign up for our Newsletter for updates.
> http://cakephp.org/newsletter/signup
>  
> We will soon be closing this Google Group. But don't worry, we have something 
> better coming. Stay tuned for an updated from the CakePHP Team soon.
>  
> Like Us on FaceBook https://www.facebook.com/CakePHP
> Follow 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 emails from it, send an 
> email to cake-php+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Cakephp 3 Application Development Book

2016-03-14 Thread Clement Crownrise
Does anyone have a book on cakephp 3 ? I mean a book that explains 
practical application development with cake 3. 

Your help would be appreciated.

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: What is the meaning of this error in cakephp 3?

2016-03-14 Thread Clement Crownrise
Thanks All, the error has been fixed.



On Saturday, March 12, 2016 at 10:30:25 AM UTC+1, Clement Crownrise wrote:
>
> Hello, I am doing the blog tutorial in cakephp 3, but I got this notice at 
> the top of my page, please does anyone know the meaning and how to solve it?
>
> *Strict* (2048): Declaration of App\Controller\AppController::beforefilter() 
> should be compatible with 
> Cake\Controller\Controller::beforeFilter(Cake\Event\Event $event) 
> [*APP/Controller\AppController.php*, line *29*]
>
>
>
> *Strict* (2048): Declaration of 
> App\Controller\UsersController::beforefilter() should be compatible with 
> App\Controller\AppController::beforefilter() 
> [*APP/Controller\UsersController.php*, line *10*]
>
>
> Your help will be appreciated
>

-- 
Sign up for our Newsletter for updates.
http://cakephp.org/newsletter/signup

We will soon be closing this Google Group. But don't worry, we have something 
better coming. Stay tuned for an updated from the CakePHP Team soon.

Like Us on FaceBook https://www.facebook.com/CakePHP
Follow 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 emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.