Warning (512): Cache not configured properly. Please check
Cache::config(); in APP/config/core.php [CORE\cake\libs\configure.php,
line 663]
core.php:
Configure::write('Cache.check', true);
Configure::write('Cache.disable', false);
Cache::config('default', array(
I remember seeing a CakePHP Lifecycle flow chart about a year ago but
then the file disappeared.
Is there an official lifecycle document?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to th
The bad news is I am an idiot.
The good news is the solution is to not use LOCALHOST. I changed C:
\Windows\System32\drivers\etc\hosts 'localhost' to 'localhost.com' and
Facebook cookies work the way they should.
On Jul 19, 11:12 pm, "eric.winch...@gmail.com"
wr
on the FB Wiki but tricking Cake to use
Facebook's session seems like the wrong thing to do.
Given this problem, I don't understand how this works:
http://cutfromthenorth.com/integrating-facebook-connect-with-cakephps-auth-component/
On Jul 19, 4:02 pm, "eric.winch...@gmail.com&quo
I'm attempting to use Facebook Connect with its PHP library.
That gets the user logged in ok but then using the PHP libs:
$facebook->get_loggedin_user() is always NULL. Anyone run into this?
I'm wondering if it has something to do with Cake taking over the
sessions and cookies.
--~--~-
$form->input('User.some_option_id', array('type'=>'select', 'options'=>
$sharing_levels, 'label'=>false, 'div'=>false));
I can verify $this->data['User']['some_option_id'] has a value, but
the select menu does not use it for SELECTED. I realize there is a
"selected" option but is the standard to
Subdomain, but I'm guessing it doesn't matter if Cake isn't parsing
http://
On Jul 10, 12:23 pm, Carlos Gonzalez Lavin
wrote:
> First of all... external domain or subdomain?
>
> 2009/7/10 eric.winch...@gmail.com
>
>
>
>
>
> > Curious as to whether
Curious as to whether something like this is possible:
Router::connect('http://nashville.commonarea.com', array('controller'
=> 'cities', 'action'=>'index'), array('city_id'=>116031));
It doesn't seem to work, but what is the reason?
--~--~-~--~~~---~--~~
You rece
I'm attempting a custom 404 image by modifying app/webroot/.htaccess
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/img*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /img/404.gif [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
Re
7;, 'FileType')))
);
$albums = $this->paginate('AreaAlbum');
This is what I was trying to do before:
$this->AreaAlbum->contain('Album.User.first_name',
'Album.User.last_name', 'Album.User.id',
'Album.CoverImage.WebResource',
me, "deep" SQL queries is the
most frustrating part of using Cake.
On Jun 16, 11:37 pm, brian wrote:
> There's a 'reset' param? Is that documented anywhere?
>
> On Tue, Jun 16, 2009 at 11:23 PM,
>
>
>
> eric.winch...@gmail.com wrote:
>
> > C
Something I just discovered and maybe the more important question -
why doesn't Containable work on HABTM 'with' relationships?
On Jun 16, 10:23 pm, "eric.winch...@gmail.com"
wrote:
> Can anyone describe why 'reset'=>false must be in $conditions for
>
Can anyone describe why 'reset'=>false must be in $conditions for
Containable usage of any complexity? I have queries that go from
taking an unbearable 20 seconds to an almost unbearable 3 seconds, but
I don't understand what 'reset' has to do with it. The ones where it
really counts are using up
$event_conditions = array(
'Event.start'=>array('< -!DATE_ADD(CURDATE(), INTERVAL 7 DAY)', '>
-!DATE_SUB(CURDATE(), INTERVAL 1 DAY)')
);
Cake is producing an IN() statement.
I'm wondering how to use MySQL functions with more than one condition?
--~--~-~--~~~---~--~
14 matches
Mail list logo