CakePHP MicroVersion

2015-08-13 Thread rafaelmsantos.com
Is there any cakePHP microframework to build small restfull apps? Thanks everyone. -- 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

Check user status fails

2015-08-13 Thread Gerculy Robert
Hi, I'm trying to set some groups for user status : 0 - pending activation 1 - user activated 2 - temporary banned 3 - permanently banned - not added in examaple My problem is no matter what I do, status 2 shows up $status_user = $this-Session-read('Auth.User.status'); if($status_user ==

How to save information from multiple tables at once?

2015-08-13 Thread Weslley Carlos
Good afternoon. I'm using CakePHP 3 a short time. I'm trying to create a registration application lots. In my database, I have two tables that are related: lots and addresses. The table addresses relates to other tables that form the complete register an address (countries, states, etc ..).

Re: Use another table model in model - CakePHP 3

2015-08-13 Thread Srikanth Goud
Hi, CakePHP 3 works for TableRegistry. add in your Controller namespace use Cake\ORM\TableRegistry; and call users table then... $this-Users = TableRegistry::get('Users'); $this-Users-addView(); may be help this one... thanks On Tuesday, August 11, 2015 at 4:28:09 PM UTC+5:30,

Re: CakePHP MicroVersion

2015-08-13 Thread Rafael Queiroz
Rafael, It can even be used and will serve well. Look: http://book.cakephp.org/2.0/en/development/rest.html http://book.cakephp.org/3.0/en/development/rest.html On Mon, Aug 10, 2015 at 10:53 AM, rafaelmsantos.com parkour.rafaelsan...@gmail.com wrote: Is there any cakePHP microframework to

Re: Erro ao migrar site de servidor

2015-08-13 Thread Luciano Hoffmann
Boa tarde Michel, caso seu servidor web seja o Apache, verifique se o módulo rewrite está ativo. Já vi alguns casos em que o não carregamento de imagens, js, etc era por este motivo. att. Luciano Hoffmann Em quarta-feira, 12 de agosto de 2015 11:56:00 UTC-3, michel martins escreveu: Olá

Re: Erro ao migrar site de servidor

2015-08-13 Thread michel martins
Olá Luciano. O servidor é apache sim, na hostgator. Tentei ativar o mod_rewrite inserindo RewriteEngine On no .htaccess como eles recomendam, mas não obtive sucesso. Exibe uma página 404. Entrei em contato pelo suporte e eles dizem estar ativo. Inclusive usei um script para fazer essa verificação