I personally put my exceptions in ([plugin-if-any])/Lib/Error/
Exception/NameOfTheException.php and use
App::uses('NameOfTheException', 'Error/Exception') where they're
needed. Seemed like a Cake'ish way to do it, and they're not included
unless one is actually thrown.
Another approach would be
Your problem is that /pages/* is routed to pages/display/*, so your
home() action is never called. So you should add an extra route that
connect /pages/home (or simply the default '/' which I suppose you're
using).
That being said, the desired action is probably not pages/home, since
what it does
I agree, it rocks (yay, now it's a feelgood topic ^^).
Every time I find myself frustrated because I'm trying to do something
that used to work in 1.3 and doesn't anymore in 2.0, I realize it's
because 2.0 has a way better solution for it. Also I found response
times cut significantly, not only
If you think you're comfortable with Cake, I'd say go for it. I've
been checking out 2.0 since the dev-release, and am currently in the
process of porting a fairly large webapplication to it. Everything is
running stable and smooth (it's noticeably faster than 1.3, actually).
You're going to run
registration).
Please tell me what is the best solution for this?
On May 7, 4:14 am, Elte Hupkes ell...@gmail.com wrote:
Yes, URLs are encrypted over SSL (incidentally the reason you used to
be unable to host multiple domains under the same certificate - the
server couldn't make out
Also make sure you use the same timezone on all servers.. I usually
use date_default_timezone_set('UTC') and the UTC_ MySQL functions to
that end.
On a different note, why use strtotime('now') instead of time()?
On May 6, 8:09 pm, datgs giangson...@gmail.com wrote:
Thanks, I think NTP is a good
Yes, URLs are encrypted over SSL (incidentally the reason you used to
be unable to host multiple domains under the same certificate - the
server couldn't make out which domain to serve). However, I would
consider sending private data in a URL a bad idea regardless of
whether it's encrypted or not;
I've recently had the same problems with Containable, it will execute
tons of queries for models that are directly related and could be
joined. Not only does this result in a query overhead; you also (in
some cases) lose the ability to apply conditions to the joined models,
very inconvenient. I
To lay this out real quick; I have model called Export which is
HABTM related with a model called Receipt, the receipt in turn
belongs to a User (there's a lot of other stuff going on as well,
but these are the most important).
Now I want to fetch an Export and all it's Receipts, and I want User
Is it possible to specify an option in Cake that will make it use only
separate queries rather than joins? For example, in a has many
association, fetch the parent record with a separate query rather than
left-join it?
Someone I'm developing for is running MySQL in a cluster; and
apparently the
can optomize the indexes on your tables.
then aggressively cache the returned data to reduce the amount of hits to
the database...especially on queries which are known to be slow, or on
highly trafficked but not often updated pages.
On Thu, Mar 17, 2011 at 11:25 PM, Elte Hupkes ell...@gmail.com
I get the exact same unserialize errors on a project previously
running fine on Cake 1.3 after updating to 1.3.1. Disabling cache
makes the error go away, but that's not really desirable of course..
On 30 mei, 02:48, Sergei yatse...@gmail.com wrote:
Hi,
just tried 1.3.1 with one of my project
the same way they are
when downloaded, move them around.
I added Markitup to me plugin, so I customized the Markitup
architecture to work with my plugin, not the other around.
Take a gander:http://github.com/milesj/forum/tree/master/vendors/
On Jan 30, 2:55 am, Elte Hupkes ell
That URL no longer works, I believe it's located here now:
http://cakephp.lighthouseapp.com/projects/42648/13-new-features-plugin-assets
Awesome news nontheless! Can't wait for a stable 1.3 release!
On Dec 3 2009, 4:12 pm, Larry E. Masters aka PhpNut
php...@gmail.com wrote:
Nope, no solution yet.. For now I'm just putting all my image/flash
dependent libraries in /webroot/js where they can be reached, a bit of
a chore in truth.. Let's just hope some cake-dev out there hears our
cries ;-).
On Nov 17, 6:10 pm, haimke haim.schind...@gmail.com wrote:
Hi, did you find
('/plugin_name/css/css_filename');
On Tue, Sep 29, 2009 at 6:32 PM, Elte Hupkes ell...@gmail.com wrote:
I'm trying to develop a small backend cms-plugin, which contains some
Javascript libraries like jQuery, jQuery-ui and TinyMCE. Doing this I
stumbled upon a problem I cannot seem to solve
I'm trying to develop a small backend cms-plugin, which contains some
Javascript libraries like jQuery, jQuery-ui and TinyMCE. Doing this I
stumbled upon a problem I cannot seem to solve in a good way.
jQuery-ui and TinyMCE come bundled with themes, consisting of images
and css files. CakePHP
17 matches
Mail list logo