Great news!
cake has changed my life, And I hope it will continue to do so in the
future..
just donated to the project.
I urge anyone who is using cake in active development to do the same..
congrats on this milestone!
--~--~-~--~~~---~--~~
You received this
Ive only been used cake a couple of weeks but have been watching it
for years. Ive got to say I love it the most out of the others ive
tried, keep up the good work.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
bravo! Heartiest congratulations to the cake team.
On Dec 26, 5:51 am, Gwoo gwoo.cake...@gmail.com wrote:
//Warning: this message is long and full of goodies.
History does not happen, it is made.
Today, the history of the CakePHP grows stronger. December 25, 2008
will be remembered as one
Congratulations, your hard work is appreciated!
I 3 cakephp
keep up the great work
Sean
On Dec 26, 4:23 pm, Ketan Shah ketan.s...@gmail.com wrote:
bravo! Heartiest congratulations to the cake team.
On Dec 26, 5:51 am, Gwoo gwoo.cake...@gmail.com wrote:
//Warning: this message is long
Hi..
I am learning cakephp myself and uptill now ACL is the tuffest topic..
I am working on a project called TMS-Task Management System.
In that
There is groups table which has a entry like
administrator,manager,developer,designer,client.
And I have a users table. In which each user belongs to
Hi,
everyone .
in the http://book.cakephp.org/
manual's left is blank,
right side is the navigator of The Manual.
every page are same.
what happened about the book of cakephp.
Thanks
limeng
--~--~-~--~~~---~--~~
You received this message because you are
THANK YOU!
:)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
George, what Cake version do you use?
I tried your posts test with table replacing (to users one in my
case) and it was fine. Debug outputed Post::$useTable = users etc.
Test with $useTable = false also was fine.
Do you use hacked core or some automagic components/AppModel/
AppController or any
Hello,
i have the same error and would be interested to know where you set
thoses parameters i you found out
Thanks
Raphaele
On Dec 23, 3:20 pm, eMarcus marcus.er...@gmail.com wrote:
Hi,
As my database hoster seems to have set the limit for no of joins
relativly low, I need to set the SQL
I should have add that in emergency you can add line 129 of \cake\libs
\model\db_acl.php that line to solve your pb
$db-query('SET SQL_BIG_SELECTS=1');
i'm looking for a correct way of doing it !
On Dec 23, 3:20 pm, eMarcus marcus.er...@gmail.com wrote:
Hi,
As my database hoster seems to
Before I press submit button in a form, I change the Controller file
(xxx_Controller.php), then I press the submit, I get the Internal
Server Error message.
I press the back button (in browser) and press submit again, It's a
normal result.
Log of CakePHP have no error.
Log of Apache have two
I have some problems with the TestSuite.
Controller functions:
function admin_view($id = null) {
if (!$id) {
$this-Session-setFlash(__('Invalid Article.', true));
$this-redirect(array('action'='index'));
}
I am facing this weird issue. My browser renders a error code 400 -
Bad request when I pass a url where the controller name starts with
lowercase. When I use uppercase character, it works. Is this a known
issue. It happened in RC3, then I upgraded it to the final version
7962. Still the same
I think you're missing the point of my blog entry! :) I realize that
find() is semantically the same as using the query approach (and gives
you some cake magic). In an ideal world i wouldn't use query(). The
point is that find() is difficult to use. How many posts in this group
have you read
I am going develop a system where there is two types of members.
During registration or edit profile, there will be some common fields
as well as some member type specific fields. Some of the common fields
are mandatory, some are not. Same is true for member type specific
fields. But both type of
I would not store them in the same table. Store the common fields in one
table and then use two other table to store the user type specific fields.
Why do you want to store all the information in one table?
-Original Message-
From: cake-php@googlegroups.com
I am still having a problem with related models and I cant seem to
find the example that will help me figure it out.
I have tables: recipes, ingredients and ingredient_lists (the SQL for
these is below)
The combination of ingredients and their amounts are stored in the
ingredient_lists table
I solved the problem.
The trick is to add the ID of the ingredient like so: echo $form-input
('IngredientList.'.$x.'.id', array('type'='hidden'));
You can see it in context below.
?php
$x = 0;
foreach($ingredient_list as $ingredient)
{
?
table
tr
td?php echo
I decided to try out the debug kit toolbar that Gwoo mentioned in the
release notice and I'm getting the following error:
Cannot redeclare class View in cake\libs\view\view.php on line 921
The app I'm working on doesn't have anything special and I followed
the 2 instructions in the debugkit
The same argument can be made that SQL is hard to use, when you don't
know SQL.
I'm sure at some point in your life you've spent a few hours
learning SQL.
Granted, if there are deadlines and you need to get things done, then
by all means use query() (that is why it's there, after all).
Sure, not
How to fetch data from a database and display in dropdown box.
For e.g i have one table enteries and another table name as section
when i add new entry then at my add view all the section should
display in dropdown box and i have section_id field in entry table
because i m saving only id of the
In my add view i have one form which contain file upload option i want
to send all the values of form in one table but file upload option is
displaying error like array to string conversion because the query is
like that (insert into enteries(section,list,submenu,file) values
How to make association between three of four tables because i m
fetching data on my table from three different tables
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email
I am making login page but due to default settings of cakephp my
layout is not looking good i m using table on my login page but if i
customize cakephp default page and delete the cakephp logo and all
that things on display the contents then my layout is not looking good
how to make my login page
Congrats, guys!
Really proud of all of your accomplishments.
And of course a big THANK YOU for making my life... oh... just a
little bit easier ;)
On Dec 25, 7:51 pm, Gwoo gwoo.cake...@gmail.com wrote:
//Warning: this message is long and full of goodies.
History does not happen, it is made.
Have you tried printing the array to see what it contains? The array
holds everything that $_FILE[] normally would. Use these values to
upload your file, then set the variable to the name of the file or
whatever you want inserted into the database. Cake does not have an
automagic way to handle
function login()
{
$this-layout = 'newlayout';
}
Should work.
On Dec 26, 11:54 am, mona poojapinj...@gmail.com wrote:
I am making login page but due to default settings of cakephp my
layout is not looking good i m using table on my login page but if i
customize cakephp default page and
Also, more controller properties:
http://book.cakephp.org/view/51/Controller-Attributes
On Dec 26, 12:27 pm, MikeB bern...@gmail.com wrote:
function login()
{
$this-layout = 'newlayout';
}
Should work.
On Dec 26, 11:54 am, mona poojapinj...@gmail.com wrote:
I am making login
var $hasmany = array('People', 'Post', 'Tag);
On Dec 26, 11:51 am, mona poojapinj...@gmail.com wrote:
How to make association between three of four tables because i m
fetching data on my table from three different tables
--~--~-~--~~~---~--~~
You received this
http://groups.google.com/group/cake-php/browse_thread/thread/5ff7e9219837cb61/a39bdc58592a8133?lnk=gstq=dropdown+belongsto#a39bdc58592a8133
On Dec 26, 11:46 am, mona poojapinj...@gmail.com wrote:
How to fetch data from a database and display in dropdown box.
For e.g i have one table enteries
On Fri, Dec 26, 2008 at 4:39 AM, vikas vikas...@gmail.com wrote:
Hi..
I am learning cakephp myself and uptill now ACL is the tuffest topic..
I am working on a project called TMS-Task Management System.
In that
There is groups table which has a entry like
Has anyone else seen this, it appears to only happen when using the
auth component with cookies. If I have an e-mail that begins with a
number, the auth component authenticates the wrong user. It takes
whatever the leading number is and logs in the user with the ID of
that number, instead of
Thanks for all the hard work, its much appreciated.
-Original Message-
From: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] On Behalf
Of teknoid
Sent: Friday, December 26, 2008 12:04 PM
To: CakePHP
Subject: Re: the Gift of 1.2 Final
Congrats, guys!
Really proud of all of
Nevermind,
I should have looked at the API first.
I stripped some of the data I was passing to $this-Auth-login();
I changed it from $this-Auth-login($loginUser); to $this-Auth-
login($loginUser['User']['id']);
Its now authenticating the correct user.
On Dec 26, 1:43 pm, Nick
do you have problems with CSS layouts?
Like aligning content to center of page,
display content in two columns, header and footer or so?
On Dec 26, 5:54 pm, mona poojapinj...@gmail.com wrote:
I am making login page but due to default settings of cakephp my
layout is not looking good i m using
It's all CSS, so all you need to do is modify the CSS properties to
what you want your site to look at.
I used the default stylesheet as a starting point, and modified it to
get the look and feel to match what I really want.
On Dec 26, 8:54 am, mona poojapinj...@gmail.com wrote:
I am making
Thanks for all your hard work !
On Dec 25, 4:51 pm, Gwoo gwoo.cake...@gmail.com wrote:
//Warning: this message is long and full of goodies.
History does not happen, it is made.
Today, the history of the CakePHP grows stronger. December 25, 2008
will be remembered as one of the most
I have tried to search, but I can't seem to find anything that helps
me.
I have installed MAMP server on my mac, running OS X 10.5.5. I have
then set the ports to the default, meaning port 80 for Apache and port
3306 for MySQL. If I now go to localhost, cakephp renders correctly
the initial
No, I'm not missing the point, I think it almost always takes more
effort to understand a framework and use it properly than it does to
bypass the framework altogether and resort to using things you are
comfortable with (like choosing SQL instead of learning how to make
the find sing). That's
mod_rewrite needs to be enabled and AllowOverride All in the httpd.conf
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
If you put the data into the array before you do your save, Cake does
the magic under the covers to figure out if the record exists already
or not.
When you do the save, Cake does a lookup to figure out if the
request needs to be an insert or delete (assuming you have the
constraints set
Hello,
I'm trying to get the multiple display fields behavior to work using
Cosmin Cimpoi's version (comment #7 from the bakery :
http://bakery.cakephp.org/articles/view/multiple-display-field-3#comment-3114).
Everything works fine if I'm not trying to fetch data from belongsTo
associations.
Thanks for your reply, I have checked the httpd.conf located in the
mamp folder /mamp/conf/apache/httpd.conf, and checked for the lines:
LoadModule rewrite_module modules/mod_rewrite.so
DocumentRoot /Users/user_name/Development/my_app and finally that
this directory has AllowOverride set to All
Well first off, I friggin love cake. I finally got my ACL up and
running last night. So now I'm implementing it over to my already
built site and everything is working well. I am having a little issue
though and I believe it has to do with this code in my app controller.
function
I am running the same setup. The only problem I ran into was, I extracted
cake to my download folder and then copied and pasted it to where I wanted
to code in it. Little did I know, the .htaccess files did not copy and
paste even though I grabbed the whole directory.
Extract cake to where you
I was finally able to install and configure a php debugger!!!
http://smwforum.ontoprise.com/smwforum/index.php/Help:How_can_I_debug_XAMPP_PHP_Eclipse
(the Install xampp and dbg part of the page worked)
http://wiki.eistiens.net/w/PHPEclipse_:_Installation
(the configuring the debugger client
You're right, now it works like a charm. Thanks!
On Dec 26, 11:45 pm, Chad Casselman ccassel...@gmail.com wrote:
I am running the same setup. The only problem I ran into was, I extracted
cake to my download folder and then copied and pasted it to where I wanted
to code in it. Little did I
I have a Controller for Jobs with a model Job.
When I hit /jobs (the index function of Job Controller), I need to run a
query on 2 other tables (not joined to Job) to find values to manually
insert into jobs before actually displaying the index.
I have tried several things but can't seem to
On Fri, Dec 26, 2008 at 5:14 PM, Chad Casselman ccassel...@gmail.com wrote:
I have a Controller for Jobs with a model Job.
When I hit /jobs (the index function of Job Controller), I need to run a
query on 2 other tables (not joined to Job) to find values to manually
insert into jobs before
For the diggers, someone posted CakePHP 1.2 story on digg. Help it
make the front page
http://digg.com/programming/CakePHP_1_2_Final_is_here
Thanks :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
Your filename should be xxx_controller.php (no capital). If you were
just typing it that way.
Also why are you changing the controller before submit? This makes no
sense.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Should it bring in all hardcoded (model) associations when I import them?
Here is what I have and I can't pull any fields from Sequences or
PackagesSequence objects/tables
var $uses = array('Package','Sequence','PackagesSequence');
$extra = array(
'recursive' = 1, //int
thanks for the reply but when i click on add button to submit the form
value in the database it is displaying the error like array to string
conversion something like that how to print the value of array you me
the above link but in all that page file uploading having different
table different
I'd like to help, but It's way too late for me to be reading that bad
of a run-on sentence. Could you try rephrasing the question with some
punctuation?
On Dec 26, 10:04 pm, mona poojapinj...@gmail.com wrote:
thanks for the reply but when i click on add button to submit the form
value in the
On Fri, Dec 26, 2008 at 7:40 PM, Chad Casselman ccassel...@gmail.com wrote:
Should it bring in all hardcoded (model) associations when I import them?
Here is what I have and I can't pull any fields from Sequences or
PackagesSequence objects/tables
var $uses =
In order to fetch data from both tables, you need to join them, Cake
won't do this automagically.
On Dec 26, 5:40 pm, Chad Casselman ccassel...@gmail.com wrote:
Should it bring in all hardcoded (model) associations when I import them?
Here is what I have and I can't pull any fields from
I'm trying to write a query that finds how many blog posts have more
then x number of tags. Could anyone provide me with an example of how
to do this? I would be most grateful.
Thank you as always.
--~--~-~--~~~---~--~~
You received this message because you are
Honestly I really dislike the xhtml type of tags in CakePHP. There
are no reasons for that, I think it would be a better idea to make it
html 4 strict.
Heres an article on why xhtml is retarded.
http://www.webdevout.net/articles/beware-of-xhtml
Hi Adam,
The SQL being executed:
SELECT `Paper`.`title`, `Paper`.`id`, `Paper`.`created`,
`Volume`.`id`, `Volume`.`title`, `Volume`.`number` FROM `papers` AS
`Paper` LEFT JOIN `volumes` AS `Volume` ON (`Paper`.`volume_id` =
`Volume`.`id`) WHERE `Paper`.`id` = 20 AND `Paper`.`is_deleted` != 1
On Fri, Dec 26, 2008 at 10:54 PM, gearvOsh mileswjohn...@gmail.com wrote:
Honestly I really dislike the xhtml type of tags in CakePHP. There
are no reasons for that, I think it would be a better idea to make it
html 4 strict.
Heres an article on why xhtml is retarded.
Please explain your cleanliness? HTML 4 can do everything XHTML can
except self closing tags /.
Also your XHTML is being parsed as HTML and removed, so whats your
point?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Everyone has reasons for and against various technologies.
Thankfully, CakePHP provides you a complete fantastic framework without
limiting you to something as specific as only being able to use xhtml.
You should be able to extend the html helper for all (most?) the tags
you want to produce.
On Sat, Dec 27, 2008 at 12:32 AM, gearvOsh mileswjohn...@gmail.com wrote:
Please explain your cleanliness? HTML 4 can do everything XHTML can
except self closing tags /.
Also your XHTML is being parsed as HTML and removed, so whats your
point?
What exactly is CakePHP doing that you find
Most browsers dont support XHTML and most people dont even write XHTML
correctly. If this is your site(http://www.pembo13.com/), your DTD is
XHTML but its being parsed as HTML. So basically thats kaput, did you
read the article I posted earlier?
@Graham Weldon - Seems like a lot of work to
How is your database setup? Are tags a column in the blog table or is
it its own table?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To
On Sat, Dec 27, 2008 at 1:41 AM, gearvOsh mileswjohn...@gmail.com wrote:
Most browsers dont support XHTML
I don't know, all the sites where I use XHTML seem to work just fine.
and most people dont even write XHTML
correctly.
Not exactly my problem now is it. That's kinda like saying don't
I saw a helper class for this for 1.1, but nothing for 1.2.
Is their an example of a checkbox group that maps to the same database
field? for example, one checkbox maps to a value of 1, another maps
to a value of 2.
thanks.
--~--~-~--~~~---~--~~
You received
67 matches
Mail list logo