Search Discussions
-
Dear All, I am new & trying from 3.0. I have made "User" hasOne "Profile" Association with DB *users [ id, username, password, created, modified ]* *&* *profiles [id, name, address, email, mobile, ...
Md Bayezid Alam
May 18, 2014 at 2:15 pm
May 18, 2014 at 2:15 pm -
The CakePHP core team is proud to announce the immediate availability of CakePHP 2.4.10 and 2.5.1. 2.4.10 is the final bugfix release for the 2.4 release series. Going forward, 2.4 will only receive ...
Mark_story
May 18, 2014 at 2:55 am
May 18, 2014 at 2:55 am -
Hi, I've enabled admin scaffolding, by uncommenting the line *Configure::write('Routing.prefixes', array('admin'));* inside *core.php* and adding the *public $scaffold = 'admin';* into my ...
Neb88
May 17, 2014 at 9:09 pm
May 17, 2014 at 9:09 pm -
Hi. I've this link in a view: $this- Form- postlink(__('I want to fund'), array('controller' = 'mycontroller', 'action' = 'funds',$id)); It has been working great with CakePHP 2.0.6. Now I upgraded ...
Lorenzo Milesi
May 16, 2014 at 4:00 pm
May 16, 2014 at 4:00 pm -
Hi All, <https://lh3.googleusercontent.com/-L9KvNm2gLtw/U3XOtXnsw5I/AAAAAAAAAM0/e1qYQDoj6X0/s1600/One-Nation-Website-Layout---Store.png I new to CakePHP, read lot of it and im working on MP3 upload ...
Sibusiso Ndlovu
May 16, 2014 at 3:59 pm
May 17, 2014 at 11:57 am -
Hi folks, im goggling for this a few days but can't find a clear solution for my problem. So what i am trying to do is quit simple. I created a *Container* model and this $actsAs tree. Container ...
Nook
May 16, 2014 at 3:54 pm
May 16, 2014 at 3:54 pm -
All our database tables are exposed, this is quite bad as we have turned off debug mode, what is the way or option to turn these kind of pages OFF? See attached screenshot. Let me know, Thanks ...
Mohammad Noman
May 16, 2014 at 3:54 pm
May 17, 2014 at 9:09 pm -
dear, i need to know the vulnerabilities and security problems of the v 1.3.14 and if you can recommend me a better version in which these problems are fixed -- View this message in context ...
K2014
May 16, 2014 at 3:53 pm
May 17, 2014 at 5:13 pm -
Hi, I am just reading in a json string, use json_decode() to get an array and then I walk through this array and do an update statement. Really simple stuff, but in debug mode I can see for each ...
Heohni
May 16, 2014 at 9:07 am
May 16, 2014 at 3:55 pm -
I have a project in cakePHP version 1.3 and i want it to upgrade it to cakePHP version 2.5 Please let me know the best way to do this upgrade. -- Like Us on FaceBook https://www.facebook.com/CakePHP ...
Earth
May 16, 2014 at 4:21 am
May 16, 2014 at 11:54 am -
Hi guys, I created a Gallery plugin for CakePHP 2.x to manage albums and pictures for any model. You can check out the code, features, docs and demo here: https://github.com/hugodias/cakegallery ...
Hugo Dias
May 15, 2014 at 7:17 pm
May 15, 2014 at 7:17 pm -
Ok, I'm probably being really dumb here, but I can't figure out how to delete an associated record when the association is HABTM. I have the following: *Invoice:* public $hasAndBelongsToMany = array( ...
WhyNotSmile
May 15, 2014 at 3:44 pm
May 16, 2014 at 10:41 am -
I am using cakephp 2.4.5. I would like to redirect all users who have not logged in to a login page. I basically followed the instructions here ...
Sam
May 15, 2014 at 8:38 am
May 16, 2014 at 5:30 am -
I am using cakephp 2.4.5. I would like to redirect all users who have not logged in to a login page. I basically followed the instructions here ...
Sam
May 15, 2014 at 8:31 am
May 15, 2014 at 8:31 am -
Hello, I'm using authake (https://github.com/mtkocak/authake) and getting the following error after successful login: Anyone know how to resolve this? *Warning* (2): array_merge(): Argument #1 is not ...
Julio Rodriguez
May 14, 2014 at 8:40 pm
May 16, 2014 at 5:46 am -
I look at the possibilities offered by CakePHP for authenticated applications but I do not understand in what cases I should use this or that rule among the three listed below. Simple Authentication ...
Bobkill01
May 14, 2014 at 8:40 pm
May 16, 2014 at 5:55 am -
Good afternoon. took time with cakephp working fine in all versions , but it is now trying to clone three cakephp dev for ubuntu composer.phar from me and then a series of problems arise for download ...
José López
May 14, 2014 at 8:20 am
May 14, 2014 at 8:20 am -
hi , Thanks for you support always, I have a problem with Pagination, When I use CakePHP Pagination I get the default url like this: localhos/posts/index/ and the title of website is " design website ...
Tuan kim
May 14, 2014 at 8:20 am
May 16, 2014 at 6:07 am -
Apparently, when it's a put! I've been struggling for a couple of hours to work out why my unit test for an edit action is working wonderfully, but it's not working via the browser. The URL is ...
Reuben
May 13, 2014 at 11:27 pm
May 14, 2014 at 11:53 am -
Hi. I localized my app using [1] and [2] and works fine, but I'm having problem with the language switcher and page views. In my top menu I have the following items: echo $this- Html- ...
Lorenzo Milesi
May 13, 2014 at 12:15 pm
May 13, 2014 at 1:05 pm -
The CakePHP core team is proud to announce the immediate availability of CakePHP 2.5.0. There have been a few changes to 2.5.0 since the RC2 release: * FormHelper::postLink() fixes from 2.4.9 have ...
Mark_story
May 13, 2014 at 2:25 am
May 13, 2014 at 2:25 am -
I have been using CakeEmail to send email with format text and Html.But In outlook email received from the system shows the attachments icon But there is no attachments attached to the email.I found ...
Kamal Sharma
May 12, 2014 at 5:27 pm
May 12, 2014 at 5:27 pm -
oi bom dia sou nova aki e estou com problema para exibir o nome do banco em um recibo o usuario escolhe pagar por boleto e preenche o campo conta corrente e escolhe o nome do banco onde e essa ...
Leticia Torres
May 12, 2014 at 5:27 pm
May 12, 2014 at 5:27 pm -
TreeBehavior::moveUp() just returns false and does nothing to the node or to its children. The rest of functions for TreeBehavior is working perfectly. I even did TreeBehavior::*verify*() to check my ...
Kento Furui
May 12, 2014 at 4:37 am
May 13, 2014 at 2:03 am -
Hi, I've been having problems with how return values and success bools are getting mixed throughout the code, first here are some examples: 1. The default bootstrap.php suggests, that ...
Patrick Schiel
May 11, 2014 at 8:01 pm
May 11, 2014 at 8:01 pm -
I have questions about the handling of images in Cake3. 1. Having taken the upload plugin and worked on modifying it to work with Cake 3, I have discovered that the data passed in the events make it ...
heavyKevy
May 11, 2014 at 4:10 pm
May 12, 2014 at 5:34 pm -
Hello everyone. I have a problem. I have a view for adding users to a database, and I would that in the adding new user form a combo box can be used to assign the "departments" where they belong ...
Jumy Elerossë
May 11, 2014 at 9:14 am
May 12, 2014 at 10:18 am -
Having bought up this topic over at GitHub https://github.com/cakephp/cakephp/issues/3458 - I am keen to provide some further thoughts on the new view folder layouts. Currently, in 3.0, there are two ...
Michael
May 10, 2014 at 6:46 pm
May 12, 2014 at 9:38 am -
I need some answers related to performance . I made a lot of web applications with low traffic . Now , I need to do one little demanding , it is a prototype for an early stage startup project . Web ...
Salines
May 9, 2014 at 10:43 am
May 13, 2014 at 2:30 pm -
My application saves to the db and then forward the user to a page that needs the id of the newly saved product. In my saveAfter method in the model im able to get the id, but how do i pass it back ...
Dean Haines
May 8, 2014 at 6:59 pm
May 8, 2014 at 11:23 pm -
my view $this- Paginator- params() show data: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 array( 'Category' = array( 'page' = (int) 1, ...
Саша Кузьменко
May 8, 2014 at 1:19 pm
May 9, 2014 at 4:31 am -
I am using cakephp Pagination Component,it's working fine,Now I want to apply it in all controller.I have tried this code,but this is not working public $components = array('Paginator'); public ...
Alimon Pito
May 8, 2014 at 9:46 am
May 9, 2014 at 4:32 am -
It seems to me like the App::classname() method should be named App::className() with an upper case "N". "classname" (with a lower case "n") is inconsistent with the naming conventions and the rest ...
David Gallagher
May 8, 2014 at 4:26 am
May 9, 2014 at 10:57 am -
When using Composer with CakePHP 2.x, does PHP Unit still have to be on the include path, or is there a smarter way, like in CakePHP 3.x, where run phpunit directly? Regards Reuben Helms -- Like Us ...
Reuben
May 8, 2014 at 1:56 am
May 8, 2014 at 3:48 am -
I am trying to get a SUM of a column of related records through the Containable behavior. I've tried a number of variations based on information google turned up but I cannot get it to work ...
Harold Putman
May 7, 2014 at 2:16 pm
May 8, 2014 at 11:16 am -
Something went crazy on the site I am working on, after every save I get logged out on the following request. Checking the error logs and its packed with: #378 [internal function] ...
Advantage+
May 7, 2014 at 9:27 am
May 7, 2014 at 9:27 am -
OK so I have 2 tables, Posts and Categories. I put Post belongsTo "Category" and Catagory hasMany "Posts" in my model. I believe my tables are set up correctly in the database as well, with proper ...
Kazuna Nakama
May 7, 2014 at 8:43 am
May 11, 2014 at 8:01 pm -
I have a number of different CakePHP applications running on an Nginx server, however I'm having a lot of trouble getting php files inside my app/webroot folder to render. My current config works ...
Daniel Neri
May 7, 2014 at 8:43 am
May 7, 2014 at 8:43 am -
I was able to make this work without much of a problem using dates in the format they arrive from the database. But that's not an acceptable for the users... and here I started having problems. It's ...
Dario Savella
May 6, 2014 at 2:07 pm
May 12, 2014 at 5:27 pm -
The CakePHP core team proudly announces the third development preview of CakePHP 3.0.0 <https://github.com/cakephp/cakephp/releases/3.0.0-dev3 . In the couple months between 3.0.0-dev2 and this ...
José Lorenzo
May 6, 2014 at 2:06 pm
May 6, 2014 at 2:06 pm -
Here is what i get on every of my view's http://imgur.com/ynwsAqR I don't know when error started to showing up, thats why i can't for ex. revert revision. I'm pretty sure it's not sth with ...
Piotr Namiastka
May 6, 2014 at 1:01 pm
May 7, 2014 at 9:19 am -
Hi all. I have a cakephp application with 3 tables, purchase_items, sale_items, stocks. the schemas of the 3 tables are something like this: stocks: id. name purchase_items: id, stock_id, quantity, ...
Jeff Caspian
May 6, 2014 at 6:10 am
May 6, 2014 at 6:10 am -
Does anyone know of a sluggable behavior that allows you to create slugs unique to the user? Does not to be table wide, only to the user. Thanks, Dave -- Like Us on FaceBook ...
Advantage+
May 5, 2014 at 10:02 pm
May 5, 2014 at 11:34 pm -
Hi everyone, me and my friend created a Thumbnails plugin for CakePHP 2.x This plugin allows you to create thumbnails from any public image just using URL´s, so you can use the thumbnail on your ...
André Luis
May 5, 2014 at 5:26 pm
May 6, 2014 at 12:33 pm -
Hello everyone. I have been struggling with Cake PHP, specially with the part of the ACL, ARO and ACOS. I have been Googling and reading a lot, but the official example seems to be incomplete (looks ...
Jumy Elerossë
May 5, 2014 at 1:53 pm
May 6, 2014 at 3:06 pm -
Hey in 2.x i have a table that behaves like a tree, but has an order_by key that is used to re-order lft and rght accordinligy on a given level of the tree I guess with this ...
Thomas von Hassel
May 5, 2014 at 10:47 am
May 5, 2014 at 3:42 pm -
In 2.x you could just pass an array to a condition like this: $this- find('all', array('conditions' = array('id' = array(1,2,3))); on it would generate a IN(...) sql statement In 3.x this: - ...
Thomas von Hassel
May 4, 2014 at 9:41 pm
May 5, 2014 at 4:38 pm -
Hi, Can someone teach me how do i create a form that allows the user to browse and select the download path destination? so i can get a dynamic path name and store it to a variable. -- Like Us on ...
Hash kit
May 4, 2014 at 12:50 pm
May 4, 2014 at 12:50 pm -
Dear All, i want to check user login beforeFilter , but i have one problem with redirect page (adminstrators/login) in AppController beforeFilter. it show this message "The page isn't redirecting ...
Vann Mardy
May 3, 2014 at 8:03 am
May 4, 2014 at 9:16 am -
I have installed CakeDC's Users plugin and I have loaded all the required files in bootstrap.php, as shown below: CakePlugin::load('Users'); // Loads the Users pluginCakePlugin::load('Search'); // ...
Giolefpatceid
May 1, 2014 at 9:31 pm
May 2, 2014 at 9:55 am
Group Overview
group | cake-php |
categories | php |
discussions | 3,286 |
posts | 10,086 |
users | 1,921 |
website | cakephp.org |
irc | #cakephp |
Top users
Archives
- May 2014 (140)
- April 2014 (212)
- March 2014 (252)
- February 2014 (190)
- January 2014 (174)
- December 2013 (122)
- November 2013 (141)
- October 2013 (164)
- September 2013 (245)
- August 2013 (291)
- July 2013 (214)
- June 2013 (327)
- May 2013 (371)
- April 2013 (373)
- March 2013 (429)
- February 2013 (388)
- January 2013 (500)
- December 2012 (417)
- November 2012 (499)
- October 2012 (521)
- September 2012 (579)
- August 2012 (854)
- July 2012 (824)
- June 2012 (733)
- May 2012 (792)
- April 2012 (341)