Re: CakePHP 1.3.8 - Editing user info causes 404

2016-05-03 Thread Steven Ybarra
Do you have validation when adding a user? If so, it's probably not adding on an update because it's checking for the validation. Turn off validation on the update and see if it works. i'm not sure the cake1.8 way, but it's something like $this->MODEL->save($data, $params => array('validate'=>f

Re: CakePHP 1.3.8 - Editing user info causes 404

2016-05-03 Thread Josh R
Hi Reuben, Thanks for your quick response yesterday. The URL I am getting is with the user ID. For example: When I am logged in as an administrator and go view all users (/admin/admin/view_all_users) and I click to edit user ID="305880" ( /admin/admin/user_edit/305880), after making changes to

Re: CakePHP Forum launched!

2016-05-03 Thread euromark
This forum should be closed and switched to read only. The other one should now be the only one in use. See the PRs to change the links on the CakePHP sites and documentation etc. Mark Am Dienstag, 3. Mai 2016 03:01:20 UTC+2 schrieb Reuben: > > Maybe this post should get stickied / pinned, so pe

Re: CakePHP 1.3.8 - Editing user info causes 404

2016-05-02 Thread Reuben
Hi Josh What URL is actually getting posted when the form is submitted? My only concern is that $this->params["action"] is not populated with the value you are expecting. I'm guessing that you are expecting the values of that variable to be either add, edit, create or update. What are t

Re: CakePHP Forum launched!

2016-05-02 Thread Reuben
Maybe this post should get stickied / pinned, so people know all the action should now be at discourse.cakephp.org. Regards Reuben Helms On Tuesday, 26 April 2016 03:02:49 UTC+10, Megan Lalk wrote: > > CakePHP Forum launched! > > *We asked you what you wanted and the feedback was clear! Sign up

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-25 Thread heavyKevy
Thanks for the update, I am glad to hear that it is working for you. It seems to me that in order for the system to know which record is being updated, that all of the ids should need to be supplied for every record that is being saved in a transaction. If it is saving a record for which you di

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-25 Thread Paulo Terra
Hi Kevin, It worked perfectly!! I just would lime to know why only Addresses need the id. But if you dont know, thats OK. You already relped me!! Thanks a lot! Best regards, Paulo Terra -- Sign up for our Newsletter for updates. http://cakephp.org/newsletter/signup We will soon be closing

Re: cakephp 3 modular programming

2016-04-20 Thread euromark
It's called plugins https://github.com/FriendsOfCake/awesome-cakephp etc Mark Am Mittwoch, 20. April 2016 18:26:27 UTC+2 schrieb Anurag Kumar: > > Is it possible to do modular programming with cakePHP 3. > > If yes please provide some example on it. > -- Sign up for our Newsletter for updates.

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-20 Thread heavyKevy
I am not sure why the others appear to be working, I suggest that you test thoroughly to make sure they are doing as expected. It may be because of the many - to -one relationship though. Let me know how it goes. Regards, Kevin -- Sign up for our Newsletter for updates. http://cakephp.org/news

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-20 Thread Paulo Terra
Hi Kekin, it is very kind of you help this poor Cake novice. It have been hard programing days. Ok, if I have a hidden ID field of the Addresses I think it is going to work. But why do I have to put the Addresses ID and the other entities work without it? Here is the form: PS: Thanks again fo

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-19 Thread heavyKevy
Does your edit form have an input for the address_id? something like:"user.addresses.0.id" I see the id: (29) for the address in the debug output of the entity... If you need further help with it, you are going to need to show the edit form in order to figure out what may be missing. Hope th

Re: Cakephp 3.x patchEntity set "'new' => true" to entity in edit function

2016-04-19 Thread Paulo Terra
Hi heavyKevy, thank you for your answer! Ok, about your first advise, I simplified and its ok, but about the issue, that´s it, the problem is the missind ID. But I simlpy don´t know why all other entitys comes with the id and Addresses not! That is the problem. Do you know why? Thanks in advan

Re: Vacancy for a CakePHP developer in London (Farringdon)

2016-04-14 Thread Dr. Tarique Sani
:D On Fri, Apr 8, 2016 at 1:18 PM, Jeremy Burns : Class Outfit < jeremybu...@classoutfit.com> wrote: > Thank you, but Delhi is a long commute. I don’t think that will work. This > is an on site position. > > On 8 Apr 2016, at 08:18, Kamal Deol wrote: > > > > On Fri, Apr 8, 2016 at 8:31 AM, Jerem

Re: Vacancy for a CakePHP developer in London (Farringdon)

2016-04-08 Thread Jeremy Burns : Class Outfit
Thank you, but Delhi is a long commute. I don’t think that will work. This is an on site position. > On 8 Apr 2016, at 08:18, Kamal Deol wrote: > > > > On Fri, Apr 8, 2016 at 8:31 AM, Jeremy Burns > wrote: > An old client of mine is looking someone to take

Re: How can I get the user firstname displayed, instead of the User_id

2016-04-06 Thread Anja Liebermann
Hi Clement, if one User can make a lot of proposals you ahve a on to man relation here and your proposals table should contain the field user_id (indexed of course *g*) When you the set those relations properly in your models you will get the without further tweeking the user data with the pro

Re: How can I get the user firstname displayed, instead of the User_id

2016-04-05 Thread Clement Crownrise
*How many tables do you have? *1 table for users, another for profile, another for proposal, another for comment, making 4 in total *And if a first name is a property of a user, why would you put it in the profiles table and not in the users? * Users table is tied to profile table, a profile belon

Re: How can I get the user firstname displayed, instead of the User_id

2016-04-05 Thread heavyKevy
How many tables do you have? And if a first name is a property of a user, why would you put it in the profiles table and not in the users? Which version of Cake are you using? If I understand you correctly, you are saying you have a user that has a profile and a user has many proposals. If that

Re: How can I get the user firstname displayed, instead of the User_id

2016-04-05 Thread Clement Crownrise
Thanks for your response, do you mean i should create a relationship between the proposal and the user table? will creating a proposal "belongs to user AND a User has many Proposal", fix this problem? As for containable behavior, please what do you mean ? Your quick response would be appreciate

Re: How can I get the user firstname displayed, instead of the User_id

2016-04-04 Thread Anja Liebermann
In your controller you have to fetch the user together with you proposal. To achieve this check the following: Check in Models your connection between proposal to user. Is it set in both directions? Check your find statement in the Controller Probably ProposalsController. To which depth do yo

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-04 Thread Paulo Terra
Ok Diego, obrigado. Vou dar uma olhada. Abs! Em 04/04/2016 11:52, "Diego Mendonça" escreveu: > Eu utilizo esse aqui: https://viacep.com.br/ no próprio site tem um > tutorial de como fazer com JS > > -- > Diego Mendonça > meadiciona.com/diego182 > vamosfugir.net > > On Sun, Apr 3, 2016 at 7:59 PM,

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-04 Thread Diego Mendonça
Eu utilizo esse aqui: https://viacep.com.br/ no próprio site tem um tutorial de como fazer com JS -- Diego Mendonça meadiciona.com/diego182 vamosfugir.net On Sun, Apr 3, 2016 at 7:59 PM, Paulo Terra wrote: > Sim, mas existem outros webservices confiáveis também. > > Em sábado, 2 de abril de 201

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-03 Thread Paulo Terra
Sim, mas existem outros webservices confiáveis também. Em sábado, 2 de abril de 2016 20:06:03 UTC-3, Nilson Pena escreveu: > > O correio disponibiliza algum webservice gratuito? > > Em sábado, 2 de abril de 2016, Paulo Terra > > escreveu: > >> Estou tentando carregar o endereço a partir do CEP in

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-03 Thread Paulo Terra
Oi Fabricio, obrigado pela resposta. Minha dificuldade maior é fazer a requisição Ajax. Apesar de ler a documentação e consultar alguns exemplos daqui do forum, nada funcionou. Em sábado, 2 de abril de 2016 19:43:43 UTC-3, Fabrício Muniz escreveu: > > Qual a dificuldade? > > 2016-04-02 18:09 GMT

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-02 Thread Nilson Pena
O correio disponibiliza algum webservice gratuito? Em sábado, 2 de abril de 2016, Paulo Terra escreveu: > Estou tentando carregar o endereço a partir do CEP informado pelo usuário. > Apesar de encontrar várias pessoas perguntando por isso não encontro uma > resposta que funcione. Alguém já fez i

Re: Carregar endereço a partir do CEP no CakePHP 3 usando AJAX

2016-04-02 Thread Fabrício Muniz
Qual a dificuldade? 2016-04-02 18:09 GMT-03:00 Paulo Terra : > Estou tentando carregar o endereço a partir do CEP informado pelo usuário. > Apesar de encontrar várias pessoas perguntando por isso não encontro uma > resposta que funcione. Alguém já fez isso no CakePHP 3? > > -- > Sign up for our N

Re: Replacement Date Widget

2016-04-01 Thread euromark
Side-note: A lot of browsers still do not fully support that. Make sure that you at least provide a shim/fallback for those. Mark Am Donnerstag, 31. März 2016 02:32:39 UTC+2 schrieb Justin Harrison: > > I would like to replace the default date widget in CakePHP3 with the HTML5 > date tag. I w

Re: Help me design the database structure

2016-04-01 Thread mike karthauser
information about google docs can be found in their support section. http://lmgtfy.com/?q=google+docs+version+control On Fri, Apr 1, 2016 at 1:55 PM, Clement Crownrise < clementcrownr...@gmail.com> wrote: > @Mike, does google has this type of feature? please do enlighten me the > more > > On Fri,

Re: Help me design the database structure

2016-04-01 Thread Clement Crownrise
@Mike, does google has this type of feature? please do enlighten me the more On Fri, Apr 1, 2016 at 1:51 PM, mike karthauser wrote: > probably best to look at something like google docs which already has this > functionality before you start building something from scratch to handle > this. > >

Re: Help me design the database structure

2016-04-01 Thread mike karthauser
probably best to look at something like google docs which already has this functionality before you start building something from scratch to handle this. -- 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

Re: Looking for an experienced CakePHP developer

2016-03-30 Thread Clement Crownrise
You can contact me, On Wednesday, March 23, 2016 at 8:27:53 PM UTC+1, majna wrote: > > Hi, > > I'm looking for an experienced CakePHP 2.x developer, freelance, remote, > long-term. > Please LMK if you know somebody. > > Thanks! > majna > -- Sign up for our Newsletter for updates. http://cakeph

Re: [Cakephp 3.2.5] Cannot match provided foreignKey

2016-03-28 Thread 'Manuel Maurer' via CakePHP
Argh, what a stupid mistake Not sure why I forgot to add primary indices, but adding them did the trick. Not a very helpful error message though. Thanks for the help! -- Sign up for our Newsletter for updates. http://cakephp.org/newsletter/signup We will soon be closing this Google Group.

Re: CakePHP 3 Role Authorization for controllers and methods

2016-03-27 Thread euromark
I use https://github.com/dereuromark/cakephp-tinyauth to exactly prevent this complicated if/switch statement logic from happening all over the controllers ;) One simple to configure ini file, done. Mark Am Sonntag, 27. März 2016 11:43:31 UTC+2 schrieb LSRX4EVER: > > Hello Everyone, > > I'm a b

Re: [Cakephp 3.2.5] Cannot match provided foreignKey

2016-03-25 Thread heavyKevy
> > In addition to the other reply, i recommend that you use the bake utility > to bake your models so that all of the needed files are created along with > the correct syntax. > from a dos command prompt, cd to your application folder that contains your bin and src folders and issue the follo

Re: CakePHP 3 + MSSQL = slow query

2016-03-25 Thread heavyKevy
Is there any reason you are not paging it and fetching only 20, or 50 or 100 records at a time? That would significantly speed things up for you... Regards, --Kevin -- Sign up for our Newsletter for updates. http://cakephp.org/newsletter/signup We will soon be closing this Google Group. But do

Re: [Cakephp 3.2.5] Cannot match provided foreignKey

2016-03-24 Thread Gaurav Kumar
Hello Manuel, In your tables there is no PRIMARY KEY defined. So, your tables should look like this CREATE TABLE `articles` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `title` varchar(100) COLLATE utf8_unicode_ci NOT NULL, `user_id` bigint(20) unsigned NOT NULL, PRIMARY KEY (`id`

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

2016-03-24 Thread 'Steffen Reinig' via CakePHP
Hi, i checked your solution, but it occurs the same error. public $hasAndBelongsToMany = array ( 'Owners' => array ( 'className' => 'User', 'with' => 'PermissionOwner', ), 'Rights' => array ( 'clas

Re: Looking for an experienced CakePHP developer

2016-03-23 Thread 'zhaff' via CakePHP
Hi, I have sent you an email. Please find my CakePHP 2.x works here http://neptunescripts.com Best regards, Zhaff On Thursday, March 24, 2016 at 3:27:53 AM UTC+8, majna wrote: > > Hi, > > I'm looking for an experienced CakePHP 2.x developer, freelance, remote, > long-term. > Please LMK if you

Re: Looking for an experienced CakePHP developer

2016-03-23 Thread Fabian Olmos
Hi, I can help you El 23/3/2016 16:28, "majna" escribió: > Hi, > > I'm looking for an experienced CakePHP 2.x developer, freelance, remote, > long-term. > Please LMK if you know somebody. > > Thanks! > majna > > -- > Sign up for our Newsletter for updates. > http://cakephp.org/newsletter/signup

Re: Looking for an experienced CakePHP developer

2016-03-23 Thread abdessamad kassasse
maybe i can help U 2016-03-23 20:27 GMT+01:00 majna : > Hi, > > I'm looking for an experienced CakePHP 2.x developer, freelance, remote, > long-term. > Please LMK if you know somebody. > > Thanks! > majna > > -- > Sign up for our Newsletter for updates. > http://cakephp.org/newsletter/signup > >

Re: php requirements for 3.X

2016-03-22 Thread Andras Kende
Hello Mike, 5.5.31 is greater than 5.5.5.9 so it will work fine. http://book.cakephp.org/3.0/en/installation.html#requirements • PHP 5.5.9 or greater (including PHP 7). Andras > On Mar 22, 2016, at 5:55 PM, MikeK wrote: > > Thanks for your eloquent reply - HOWEVER the latest stabl

Re: php requirements for 3.X

2016-03-22 Thread MikeK
Thanks for your eloquent reply - HOWEVER the latest stable release of php 5.5 is 5.5.31 - there is no 5.5.9 as the "requirements" call for. Does anyone really know what cakephp3 REALLY requires? -- Sign up for our Newsletter for updates. http://cakephp.org/newsletter/signup We will soon be cl

Re: How to set a variable and use everywhere?

2016-03-19 Thread Gaurav Kumar
1. If you need to use that variable in controllers then you can set it in the beforeFilter and if you need to access the variable in views then beforeRender both you have to do in AppController. 2. Please follow this http://book.cakephp.org/3.0/en/views.html On Thursday, March 17, 2016 at 10:26

Re: php requirements for 3.X

2016-03-18 Thread euromark
The requirement *is* a requirement. Am Freitag, 18. März 2016 14:32:03 UTC+1 schrieb MikeK: > > Am migrating to 3.2 from cakephp 2.x, but my host only offers php 5.4 - I > saw the install requirements want 5.5.9 > > Should I find another host or will 3.2 operate OK on 5.4? > > Thanks in advance

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-16 Thread Willem
Eventually i changed it to a varbinary(65000) column and it started to work. In Cakephp 2 it worked with a varchar column. now it needs to be binary in 3 and have enough space. On Wednesday, March 16, 2016 at 10:19:38 AM UTC+1, heavyKevy wrote: > > I hate to state the obvious, but did you verify

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-16 Thread heavyKevy
I hate to state the obvious, but did you verify that the field size was large enough to store the encrypted value? I had a similar issue with hashing a password, the field wasn't large enough and the value was saved but cut off so that the password never matched. Maybe try it with the max varcha

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-15 Thread Willem Schwarte
I have already tried to change it to text. This had the same effect. I also cleared the caches/orm cAche when intested this. > Op 16 mrt. 2016 om 00:12 heeft Christian Quispe > het volgende geschreven: > > Cambia tu field de tu base de datos a text, es posible que tu cadena > codificada no

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-15 Thread Christian Quispe
Cambia tu field de tu base de datos a text, es posible que tu cadena codificada no se guarde completamente. Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro:

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-15 Thread Willem
*saving to the database cuts off the encrypted data. varchar(255) and text fields both have this issue.. * *is this a bug 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 be

Re: Storing encrypted value using getter/setter not working. Stored in plain text.

2016-03-15 Thread Willem
When I try as follows, the value gets stored encryted, but I cannot read it as the getDecryptedUsername function returns false at the decrypt line: protected function _setUsername($username) { $key = 'wt1U5MACWJFTXGenFoZoiLwQGrLgdbHA'; if(strlen($username) > 0) { $username = Security::encrypt

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 databa

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\Datasour

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

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

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

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): Dec

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

2016-03-13 Thread Clement Crownrise
Thanks all, these lines of codes are already added to the UsersController.php but the error still persists namespace App\Controller; use Cake\Event\Event; use App\Controller\AppController; use Cake\Network\Exception\NotFoundException; class UsersController extends AppController{ public

Re: 3.0 Database Error : SQLSTATE[HY000] [14] unable to open database file

2016-03-13 Thread 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 * enable identifier quoting???* On Monday, September 29, 2014 at 6:43:14 PM UTC+3, Bayezid Alam wrote: > > Dear All, > i am getting the subjected Error fo

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

2016-03-13 Thread Matías Croce
Maybe you forgot the namespace. You should use: use Cake\Event\Event; or beforeFilter(Cake\Event\Event $event) On 12/03/16 15:46, Clement Crownrise wrote: Hi, Thanks Willem, I have tried it, but the error still persists , look at the code below public function beforefilter(Event $ev

Re: Cakephp 2.x Receive emails into the application...

2016-03-13 Thread euromark
This might help you https://github.com/barbushin/php-imap Am Samstag, 12. März 2016 01:31:18 UTC+1 schrieb April DeRossett: > > Ahoy! I am looking for a way to receive reply emails into my cakephp > application and after a ton of research I haven't yet figured out how to > make that happen. P

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

2016-03-13 Thread Willem Schwarte
Yes. That should solve it. - willem > Op 13 mrt. 2016 om 08:42 heeft heavyKevy het > volgende geschreven: > > You also need to make sure that you add the following line near the top of > the file after the namespace with the other use statements: > > use Cake\Event\Event; > > Best regards,

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

2016-03-12 Thread heavyKevy
You also need to make sure that you add the following line near the top of the file after the namespace with the other use statements: use Cake\Event\Event; Best regards, --Kevin On Sunday, March 13, 2016 at 1:47:10 AM UTC+7, Clement Crownrise wrote: > > Hi, Thanks Willem, > > I have tried it

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

2016-03-12 Thread Clement Crownrise
Hi, Thanks Willem, I have tried it, but the error still persists , look at the code below public function beforefilter(Event $event){ //parent::beforefilter($event); //$this->Auth->allow(['add','logout']); return null; } On Sat, Mar 12, 2016 at 11:52 AM, Willem S

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

2016-03-12 Thread Willem Schwarte
Just as it says. You need to have the same method signature as the one you are overriding. Thus: public function beforeFilter(Event $event) { return null; } you forgot the parameter. Willem > On 12 Mar 2016, at 10:30, Clement Crownrise > wrote: > > Hello, I am doing the blog tutorial

Re: Upgrade manual from 2.7.5 to 2.8.1

2016-03-12 Thread Nicklas
Thanks a lot Andras. -- 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/C

Re: Upgrade manual from 2.7.5 to 2.8.1

2016-03-11 Thread Andras Kende
Hello, Just replace the entire: /lib/Cake/ with the latest version (do backup first just in case) Check the migration guide for changes between your versions: http://book.cakephp.org/2.0/en/appendices.html Andras Kende > On Mar 11, 2016, at 3:43 AM, Nicklas wrote: > > Hi All, > > Is it p

Re: Virtual fields problem

2016-03-10 Thread LeHung
How about this? $array = Hash::combine($array, '{n}Tag.name,{n}0.aantai,{n}'); On Fri, Mar 11, 2016 at 4:14 AM, Sam Clauw wrote: > Hi 2 all, > > I'm working on my first CakePHP blog project: http://kattenbelletjes.be/ > As you can see, there's a footer section that shows the top 25 most > popul

Re: API Design using CakePHP 3

2016-03-10 Thread Florian Krämer
use it yet and probably won't. Cake is good enough as it is for us so far. We're re-building our frontend and a CRM with Angular and Cake3. On Wednesday, March 9, 2016 at 3:04:19 PM UTC+1, Rafael Queiroz wrote: > > Hi guys, > > I make a *API* using *CakePHP 3.2.x*, so, and

Re: [Cakephp3] Best way to change database on the fly by user

2016-03-02 Thread rumble
You could bind a database with relation to your app.php and the datasources there, and based on param in url or some values in a table, execute in your controller: ConnectionManager::alias($custom_db, 'default'); I am testing similar scenario, but on the model level. On Tuesday, February 23,

Re: Remove first from collections

2016-02-29 Thread John Andersen
I deletion is not possible, would the skip method work for you? *http://book.cakephp.org/3.0/en/core-libraries/collections.html#Cake\Collection\Collection::skip* Enjoy, John On Thursday, 25 February 2016 16:56:27 UTC+2, Rafael Santos wrote: > > Hi, > i'm using CakePHP's Collections >

Re: Form: hasMany fields table validation not working

2016-02-29 Thread Paulo Terra
Ok, thank you very much! I am sorry that I didn't realize this singular and plural detail. Thank you very much! Paulo 2016-02-29 11:36 GMT-03:00 Dakota : > Not a problem, glad that worked for you. > > For future reference, you can usually get nearly instant help on the IRC > channel ( > http://

Re: Form: hasMany fields table validation not working

2016-02-29 Thread Dakota
Not a problem, glad that worked for you. For future reference, you can usually get nearly instant help on the IRC channel (http://webchat.freenode.net/?channels=cakephp&uio=MT1mYWxzZSY5PXRydWUmMTE9MjQ2b8), depending on who is online of course. Stackoverflow is also usually more active than th

Re: Form: hasMany fields table validation not working

2016-02-29 Thread Paulo Terra
Great! It Works! Thank you Dakota! 2016-02-29 11:15 GMT-03:00 Dakota : > Hi Paulo, > > Your form field for address zipcode field is in the wrong format. > http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data > shows the correct format for each type of relatio

Re: Form: hasMany fields table validation not working

2016-02-29 Thread Dakota
Hi Paulo, Your form field for address zipcode field is in the wrong format. http://book.cakephp.org/3.0/en/views/helpers/form.html#creating-inputs-for-associated-data shows the correct format for each type of relation. Basically, instead of doing $this->Form->input('address.zipcode'); You n

Re: Problem with TinyMCE

2016-02-23 Thread Charles Beasley
It seems to me this should not be happening. Although, I cannot decide which of the following is the problem. A) In the tiny_mce.js file I see some script that doesn't compute [for me at least]. ... c.push("")}else{c.push("") ... The above code is interpreted as PHP when it is not. B) I

Re: CakePHP 3.2.0 Released

2016-02-23 Thread José Lorenzo
Yes, it is On Monday, February 1, 2016 at 12:18:20 PM UTC+1, rafaelmsantos.com wrote: > > Is the intl php extension still required? > -- 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 be

Re: Cakephp 3.x How to create dynamic subdomain?

2016-02-23 Thread Dr. Tarique Sani
What is the error? The *.example.com should point to the same webroot as your www.example.com and example.com Do all the magic in your code On Tue, Feb 16, 2016 at 10:44 AM, Rajaram indira < rajaramindiras...@gmail.com> wrote: > Hi, > > I'm doing dynamic sub domain in cakephp 3.x like, >

Re: CakePHP 3.0 location for API-Access

2016-02-21 Thread Anthony GRASSIOT
Didn't use it personnaly but I know that this exists: You might want to have a look at it. Regards Anto > On Feb 21 2016, at 5:33 pm, euromark wrote: > > Take a look at twitter, and how they did it: >

Re: CakePHP 3.x and Redis as one of the main Database

2016-02-21 Thread euromark
You could work together and upgrade it to 3.x. Dont forget to publish it on https://github.com/FriendsOfCake/awesome-cakephp then. Mark Am Sonntag, 21. Februar 2016 15:06:29 UTC+1 schrieb web tools: > > Hello, > > I am new to CakePHP and I am wondering which is the best way to use Redis > not

Re: CakePHP 3.0 location for API-Access

2016-02-21 Thread euromark
Take a look at twitter, and how they did it: https://github.com/cvo-technologies/cakephp-twitter Am Sonntag, 21. Februar 2016 15:06:29 UTC+1 schrieb web tools: > > Hello, > > I would like to use the API of OpenWeatherMap ( > http://openweathermap.org/api) in my CakePHP 3.x Application, but I am

Re: Srange behaviour with find('list')

2016-02-18 Thread Gaurav Kumar
Hello michael, Check your displayField in the respective table file. If it is different from what you are trying to fetch then just add your field in the displayField just above the find query. On Thursday, February 18, 2016 at 1:48:22 AM UTC+5:30, Michael Kornatzki wrote: > > Hi, > > i am usi

Re: intl extension to use CakePHP not working

2016-02-17 Thread Rohit Yadav
I am facing the same problem. Please let me know what to. what I did:- I have Xampp installed build 12 Nov 2015, PHP version :- 7.0 Did the things maintained in cakephp 3.0 documentation When I open phpinfo() section of xammp it shows INTL section means extension enabled. But when it try to

Re: Wildcard DNS | Domain | Subdomain

2016-02-17 Thread Rajaram indira
Hi swimwithabhra, Can you help me to implement this with cakephp 3.x On Wednesday, March 30, 2011 at 11:57:35 AM UTC+5:30, swimwithabhra wrote: > > Hi all, > thanks for all your suggestions. > > I will talk to my hosting provider to check whether the virtualhost > and other server configu

Re: Wildcard DNS | Domain | Subdomain

2016-02-17 Thread Rajaram indira
Hi Abhra, I'm doing Wildcard DNS with cakephp 3.x. But I can't found exact solution for this problem. Can you help me to fix this problem. On Monday, April 4, 2011 at 11:09:45 AM UTC+5:30, swimwithabhra wrote: > > Hi all, > I am glad to inform you that finally wildcard DNS is working for

Re: id of the current user

2016-02-09 Thread Kamal Deol
$this->Auth->User() gives the complete array and then you can access any of the index .:) On Thu, Feb 4, 2016 at 9:23 PM, Vishwadeep Kapoor < vishwadeepkap...@gmail.com> wrote: > Is there any way to get the value of the current login user in cake php, i > have search for this every where at stack

Re: Sorting paginated data by string length in cakephp 3.x

2016-02-09 Thread euromark
using 3.x virtual fields, expr() func() see the docs for that Mark Am Sonntag, 7. Februar 2016 17:48:33 UTC+1 schrieb jakubplus: > > Hi, > > I'd like to use Paginator sorting function, but for sorting by string > length like mysql LENGTH(title) > > $this->Paginator->sort('title') > > How to do

Re: $this->render('index');

2016-02-08 Thread John Andersen
Is that the whole search method in your controller? If yes, then the render call is inside the if statement at the beginning and will thus not be invoked due to the return statement just after the if statement. Enjoy, John On Saturday, 30 January 2016 06:32:22 UTC+2, Maxwell Ochieng wrote: > >

Re: Error in Database Connection BUT dabase.php is correct

2016-02-08 Thread John Andersen
Check that your user "user" has permissions to use the databases. Enjoy, John On Sunday, 7 February 2016 18:48:33 UTC+2, Douglas Diniz Landim wrote: > > It was a site that was running on a host. > > This accommodation accidentally got deleted the domain for the site. > > After restoring the area,

Re: CAKE PHP TUTORIAL FOR BEGINNERS

2016-02-08 Thread John Andersen
Hi Priyatam Saha Which version of CakePHP have you downloaded and installed? Which tutorial have you followed? Enjoy, John On Sunday, 7 February 2016 18:48:33 UTC+2, priyatam saha wrote: > > Dear sir, >I am a new commer to cakephp.I have download and installed cakephp.Now > I create a app

Re: id of the current user

2016-02-08 Thread Paul Vaughan
In CakePHP 3.2 I am using: $userid = $this->request->session()->read('Auth.User.id'); I hope that's useful. Paul. On 4 February 2016 at 15:53, Vishwadeep Kapoor wrote: > Is there any way to get the value of the current login user in cake php, i > have search for this every where at stackoverf

Re: CakePHP 3 - Catch invalidargument email -> to exception

2016-02-07 Thread Artur Mamedov
Have the same problem with Carbon::createFromFormat() try { $this->app_from = $date->createFromFormat('Y-m-d', $this->request->cookie('app_from'));//$date->subDays(7);//date('Y-m-d', strtotime("-7 days")); $this->app_to = $date->createFromFormat('Y-m-d', $this->request->cookie('app_to'));

Re: Acl alternative

2016-02-04 Thread sphereweb
Can you tell us how you implemented the connection to cassandra? What are your thoughts about cassandra vs mysql? On Sunday, June 3, 2012 at 7:39:49 PM UTC-4, Juan Ezquerro LLanes wrote: > > Hi, > > I'm using cakephp 2.0 and cassandra as database, so i can't work with > default acl implementatio

Re: Using test database

2016-02-04 Thread sphereweb
Can you tell us your experience with cassandra? did you write your own driver? On Monday, July 23, 2012 at 4:48:03 PM UTC-4, Juan Ezquerro LLanes wrote: > > If i write a test case i want use the test database config without > fixtures, i insert the data manually, i just want to say to my test ca

Re: Cassandra and cakephp

2016-02-04 Thread sphereweb
Also interested in this On Tuesday, May 29, 2012 at 5:51:50 AM UTC-4, Juan Ezquerro LLanes wrote: > > Is there any cassandra datasource for cakephp? Google say yes but i can't > find the code. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP

Re: Auth Component works in dev, but not in production

2016-02-02 Thread Christian Quispe
compartenos los log y debugs. Enviado con MailTrack Saludos Christian Quispe *Geek and Developer* *Miembro: * *GDG Lima (Google Developer Group Lima)* *Portafolio: www.oxicode.io

Re: CakePHP 3.2.0 Released

2016-02-02 Thread Florian Krämer
Just try it? It's a one minute thing. On Monday, February 1, 2016 at 12:18:20 PM UTC+1, rafaelmsantos.com wrote: > > Is the intl php extension still required? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message b

Re: CakePHP 3.2.0 Released

2016-02-01 Thread rafaelmsantos.com
Is the intl php extension still required? -- 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 email

Re: Bug: flaws in email validation/sending

2016-01-31 Thread euromark
Please open a ticket at https://github.com/cakephp/cakephp/issues This is just a discission board, not a bug tracker. Mark Am Samstag, 30. Januar 2016 05:33:10 UTC+1 schrieb Kim: > > >- CakePHP's email validation allows non-ASCII letter characters, e.g. >á, in the local part of the ema

Re: Amazon AWS S3

2016-01-31 Thread Florian Krämer
https://github.com/burzum/cakephp-file-storage Works with S3 and a ton of other storage backends. On Saturday, January 30, 2016 at 5:32:01 AM UTC+1, fga...@medianet.com.ve wrote: > > Hi, I am developing a cakephp 3 in AWS, I want to integratewith amazon aws > s3, but I cannot find the plugin as

Re: how to deploy i18n translations ?

2016-01-29 Thread Dino Moreira
One year later and I have this exactly problem. Messages in __("English") are translated as expected in WAMP development environment. But not in Fedora FC21 Linux Using same apache+php versions... -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/

Re: Cakephp find order by then group by

2016-01-29 Thread Shamshad Akther Khan
Thankz a lot sir, Your procedure has helped me solve a problem in live tracking issue On Friday, October 19, 2012 at 2:41:18 PM UTC+6, Vanja Dizdarević wrote: > > Seemingly simple task, but not quite, eh... > > Solving this with a single query is possible, but you would have to do a > manual

  1   2   3   4   5   6   7   8   9   10   >