The array has 500,000 entries in the [name] index!
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send em
Is it normal for /app/tmp/cache/persistent/
[cacheprefix]_cake_core_method_cache to be around 20MB in size?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP rel
Since we upgraded our web application to Cake 2.1.1 it has literally
killed our server several times. In WHM the "Server load (4 CPUs)"
under Service Status runs above 15 the entire time, and spikes up to
50 and as high as 70, at which point the server basically dies.
The same application under ex
I doubt you're going to get a fair (or rather unbiased) answer posting
in the cakephp forum. Maybe post in a more general php forum?
Mika
On Dec 17, 6:59 am, Action <[EMAIL PROTECTED]> wrote:
> I've always used Cake as my primary framework, but the Zend Framework
> seems t
e with the database trace, and even if I put statements like
die('here') in my action, it would never hit it so I was getting
pretty confused for a while ;)
Loving 1.2 though, and I can't wait for it to become stable.
Cheers,
Mladen (Mika)
On May 23, 4:20 pm, "Larry E. Masters
Hey Larry,
Could you maybe explain the process if we use hand-written forms as I
do not use the Forms helper at all.
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
One mistake - isset() also returns false if the variable is set to
null.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscrib
Check the example at http://www.php.net/manual/en/function.empty.php#id7108863
Basically isset() checks whether a variable has been set at all, no
matter the value, while empty() considers the following all to mean
"empty":
"" (an empty string)
0 (0 as an integer)
"0" (0 as a string)
NULL
FALSE
a
That might work for some short stings, but I would want to keep
translated data from the database also in the database. For example
whole articles that are translated. There must be a better way?
--~--~-~--~~~---~--~~
You received this message because you are subs
Brilliant, thanks for the reply. Any idea about the db questions?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
Q: Why cant I use an action called list? (I remember you guys had this
question posted like 50,000 here before)
Q: How do I use the gettext functionality?
Q: How do i do i18n and L10n?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I would like help with i18n as well. I do not know how the gettext and
the translation works in cakephp and have not been able to figure it
out by looking at the code.
Could someone please write a little example? I can see we need to use
_('') for static strings, but how are the .po files created
As far as I know they can't stop anyone talking or mentioning CakePHP
as per the 'Fair Use' defense. Check
http://en.wikipedia.org/wiki/Fair_use_%28US_trademark_law%29
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I think the original problem was that you uncompressed the cakephp
files without using the "full directory" option. Those directories are
in the compressed zip but they are empty so if you don't set that
option (which is usually on by default in most compression software)
then it will just ignore
Well if you had it in one query, then every product's data would be
duplicated for each subproduct it has.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email to cake
There already is a ticket for what he's talking about:
https://trac.cakephp.org/ticket/980
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups
Ha, it's as simple as:
/\\A(?:^|([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i'
Notice the | (9th char from the left)
Please, notify me if I'm wrong, but it seems to work for me.
--~--~-~--~~
Ha, it's as simple as:
/\\A(?:^|([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i'
Notice the | (9th char from the left)
Please, notify me if I'm wrong, but it seems to work for me.
--~--~-~--~~
Could one of you regex guru's please help me?
I need this regex:
/\\A(?:^([a-z0-9][a-z0-9_\\-\\.\\+]*)@([a-z0-9][a-z0-9\\.\\-]{0,63}\\.(com|org|net|biz|info|name|net|pro|aero|coop|museum|[a-z]{2,4}))$)\\z/i'
which is the VALID_EMAIL regex, to return true if the field is empty.
In other words the
There's always ANT, NANT and MSBUILD. They all have FTP extensions for
them.
Ant: http://ant.apache.org/ (Java)
Nant: http://nant.sourceforge.net/ (.NET)
Msbuild: http://msdn2.microsoft.com/en-us/library/wea2sca5.aspx (.NET +
VS2005)
MSBUILD comes with Visual Studio 2005 which is great if you're
This is exactly why I asked the question in the first place.
I see that exit() seems to be recommended all over the place, but
people should realise that it will stop the flow of cake totally at
that spot. This is usually not a problem, as Nate said, but if you've
set some callbacks or something
Shouldn't people actually be calling return instead of exit?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
Half a dozen? I only know of 2, linking directly to the controller and
using set. Which others are there?
Also, you say the session helper provides an interface but then isn't
that the same as linking the controller to the view? It's also just an
interface.
--~--~-~--~~~
Another option is to use Jquery and it's round corners plugin:
http://jquery.com/
http://jquery.com/plugins/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to ca
Someguy has a point. If you take out the link to the controller, the
helpers will not have access to the controllers and components either.
Right?
If this is the case then the session helper is breaking that rule
itself.
--~--~-~--~~~---~--~~
You received this me
Why not use Rossoft's corner helper.
http://rossoft.wordpress.com/2006/06/04/rounded-corners-helper/
It uses Curvy Corners instead of NiftyCube but it works well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cak
The best way would be to create a pictures controller and put a view
function in that. Using the default way your url will be like
domain.com/pictures/view/#id
if you want to change that, you can always create a route which points
to the action in a different way.
in config/routes.php:
$Route->c
One way to add the .chm file is as an external tool.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, s
You could use the adodb_date library by putting it in the vendors
folder.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscri
You could use the adodb_date library by putting it in the vendors
folder.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscri
I think it only redirects when Debug is set to 0
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
I've used NetOffice before - which can integrate with the Matis bug
tracker software. Also do a search on SourceForge for
collaboration/project management software.
The other option is to use Trac as you've stated. You can structure the
wiki whichever way you like. But it can get a bit tedious fo
Is that good practice? Isn't there any way to overcome this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
In an XHTML textarea, rows and columns are mandatory so it's probably
better to leave it there anyway.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@
You might also want to look at this thread about wildcard dns'
http://groups.google.com/group/cake-php/browse_thread/thread/8fef8e12c622365f/#
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To pos
I'm also getting this error. I think there is an error with the TESTS
define as well.
Does anybody have any idea when a new version of the test suite will be
released?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
yup.
If you want to use more than one table then use:
eg: var $uses = array('user', 'post');
Of course if users are linked to posts in the model then you could use
eg: var $uses = array('user');
and then get posts through the user like
eg: $posts = $this->user->post->findAll();
--~--~
Also you could do MVC in .NET if you wanted to. Go check out the
Castle.Net project's MonoRail
(http://www.castleproject.org/index.php/MonoRail) for something similar
to ruby-on-rails and cakephp.
The fact that .NET out of the box works with a front-controller pattern
can't be held against it. Th
I used to use and be very happy with Eclipe and the Trustudio eclipe
plugin, but nowdays I use ActiveState's Komodo. It's a commercial
editor but it's really good if you've got the cash.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Actually I'm quite interested in this too. Could you maybe please give
a proper working example with using soap?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
It would help if I actually read your post though :)
You can override functions in AppController by creating an
app_controller.php file in your apps directory. Search through this
group to see exactly how.
So in other words it's not a bug per se, maybe just an omission.
--~--~-~--~
Go to https://trac.cakephp.org and create a new documentation ticket.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe f
Hi AD7six,
How are you testing this. When I run a view I still see the sql trace
at the bottom which makes me think that it's not running (with
debug=2). I _do_ see the file in the folder, but even with debug =0 I
don't really experience any speed up.
--~--~-~--~~~--
I'm getting the same results. Anyone wish to comment?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group,
I think the latest release of adodb also supports active record
(although I don't think it supports associations).
http://adodb.sourceforge.net/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To p
You don't get a conditional truncate. If you need conditions, you need
to use delete. Truncate is only used for deleting ALL the data in the
database (very quickly in some instanes).
See http://dev.mysql.com/doc/refman/5.0/en/truncate.html for the mysql
truncate command.
--~--~-~--~
In that list only bakery.
CakeForge is gforge (http://gforge.org/)
Manual is docbook (http://www.docbook.org/)
Api is doxygen (http://sourceforge.net/projects/doxygen/)
Trac is trac (http://www.edgewall.com/trac/)
--~--~-~--~~~---~--~~
You received this message b
Woudln't this be quicker to do in the .htaccess file?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group,
Which .htaccess file were you referring to, considering there are so
many?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscr
I'm not sure what you find so tedious in that code considering that it
would be pretty much exactly the same in ASP.NET. Just substitute
Control.Text = "blah" for the $this->set commands :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Check this: http://www.openidenabled.com/openid/libraries/php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this
Done. Updated cake-manual.chm and cake-api.chm.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send e
I would be interested in what the response it. Actually I'm sure a lot
of people on this group would be.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-ph
To me it seems that you are using the wrong character to denote table
and field names. It should be ` (to the right of 1 on your keyboard)
and not ' (on the same key as "). Unless of course you changed it for
this post, which I doubt.
--~--~-~--~~~---~--~~
You rec
Nice work!
Maybe you should post this on cakeforge.net as a snippet, or on
wiki.cakephp.org? It will get lost quite soon here on the group.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post
This looks brilliant. Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PRO
Api's there now too...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
The component has been moved out of the main core into it's own project
at cakeforge.org: http://cakeforge.org/projects/testsuite/
There are no files there yet though.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
The component has been moved out of the main core into it's own project
at cakeforge.org: http://cakeforge.org/projects/testsuite/
There are no files there yet though.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Create documentation bug at https://trac.cakephp.org/ticket/827
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from th
That's true. I think the manual should definitely explain this process
more as it is quite common.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@goog
You could use an element on the layout and then in the element call
$this->requestAction which would call another view. It can be a bit
tedious but it's maybe a "cleaner" way.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Hmm. Do something like this:
";
echo $row['data'];
echo "";
if ( ($num % 3) == 0) echo "";
$num++;
}
?>
The 3 in the above code will dictate how many columns you will have
until each is written. You could put this code into a helper
yourself.
--~--~-~--~~-
As far as I know, that names paramater is only used on the Pages
controller. I think though that it should be documented better as there
is no mention of it in the manual or the api.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Another: http://cakeforge.org/snippet/detail.php?type=package&id=1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from
Could be a problem with case? Try $helpers = array('html', browser');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe f
Anytime :)
I find that most of the time, questions like that have always been
answered better than I could ever answer them. The trick is knowing
where to look for them :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
Also the php4 version of the scope operator docs is here
http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send em
Check these two pages:
http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php
http://www.php.net/manual/en/keyword.parent.php
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to
http://groups.google.com.vn/group/Cakephp-fra
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send ema
To clarify, once using the advanced validation, you can add the
validation needed to the model even if the field is not in the table.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this
Use the advanced validation found at
http://wiki.cakephp.org/tutorials:advanced_validation
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups
You could do some manual work using timestamps and such. So in other
words, you read in the record and check whether the timestamp has been
modified since the current user has worked on it, if so return an error
message.
It can get a bit complicated in the implementation but this is how it
used t
Ok, a bit more info.
You need to put the path to your php.exe file in your PATH environment.
Once you do that, open a cmd window and go to the /cake/scripts
directory.
Once there just type "php bake.php".
--~--~-~--~~~---~--~~
You received this message becaus
What about plugins? Don't they do what you want?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
hehe
/me too.
We're glad to be able to help in our own little way :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe
Api done too.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more
cake-manual.chm released. Go get it...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [
Also make sure thay AllowOverride is not None.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send em
What response did you get?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTEC
sorry that was supposed to be bake.php was broken.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, se
Well if you're using the latest build (because build.php was pretty
broken for a while) you can go to your /cake/scripts directory and run
"php bake.php" from there. This is assuming that you have the path to
your php.exe in your path environment variable.
--~--~-~--~~~--
Look at how category is done in this model:
https://trac.cakephp.org/wiki/BuildingCakeBakery/Models
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@goo
Hi Guys,
Is there any way to piggy-back off the validations on the model to
validate fields that are not in the table? Other than doing it manually
of course ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
Well considering that it seems to be quite needed functionality, maybe
someone should create a tran enchancement for it?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send
The fact is that it is _used_ in the controller. The controller is
getting data back from the model which is the way MVC works. The other
important thing to note is that findAll is _defined_ in the model.
--~--~-~--~~~---~--~~
You received this message because you
Maybe you should post this as a bug on trac? (https://trac.cakephp.org/)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscrib
For an example of it check rdBloggery from http://cakeforge.org/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from t
Well you might want to look up layouts and elements in the manual.
http://manual.cakephp.org/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegro
Wow - the new site looks really great!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [
Also make sure that the curl extension is enabled in your php.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from thi
You could do so using curl I think or maybe by publihing an rss from
cake and then parsing it on your other site. Of course you'd probably
have an easier time just reading the db directly.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
I know exactly what Nate's gonna say: "Scaffolding is just for
prototyping, not for production use". :) In that case there is no need
to remove any buttons.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP"
What does it do or what error message do you get?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
I think you need to give the different bleongsTo associations different
names as well as state their different foreign keys, but the class
names must be the same.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
Well since Office 2003 (maybe even 2000) Excel (and all other Office
Apps) have an XML file format, so you could use XML and XSL to create a
nice excel report.
Here are some links on this:
http://www.codeproject.com/useritems/ExcelXmlReport.asp
http://blogs.msdn.com/brian_jones/archive/2005/06/27
link(' » All Projects','/projects', null,
true);?> if I remember right. The 3rd (or maybe second) parameter is to
not escape.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group,
He's expecting more than just 1 record though.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send em
cake-manual.chm posted. Will update api asap.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send ema
Hmm, come to think of it I've also experienced this problem too. Please
let me know if you resolve it in any way.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email t
1 - 100 of 139 matches
Mail list logo