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
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
eric.winch...@gmail.com wrote:
More
I'm attempting to use Facebook Connect with its PHP library.
fb:login-button onlogin=update_login_box()/fb:login-button
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
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
eric.winch...@gmail.com wrote
$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 check
I'm attempting a custom 404 image by modifying app/webroot/.htaccess
IfModule mod_rewrite.c
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/img*
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /img/404.gif [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond
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
Subdomain, but I'm guessing it doesn't matter if Cake isn't parsing
http://
On Jul 10, 12:23 pm, Carlos Gonzalez Lavin carloslavi...@gmail.com
wrote:
First of all... external domain or subdomain?
2009/7/10 eric.winch...@gmail.com eric.winch...@gmail.com
Curious as to whether something
$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?
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
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
eric.winch...@gmail.com wrote:
Can anyone describe why 'reset'=false must be in $conditions for
Containable usage of any
Not documented as far as I know. It's just Containable weirdness,
probably having to do with binding.
Anyone know why Containable doesn't work with HABTM 'with'
relationships? I had it working when it was a 3rd party behavior, but
it's definitely not working now. For me, deep SQL queries is the
',
'Album.CoverImage.WebResource', 'Album.CoverImage.FileType');
$albums = $this-paginate('AreaAlbum');
Apparently the array format + $conditions is the way to go with
paginate.
On Jun 16, 11:55 pm, eric.winch...@gmail.com
eric.winch...@gmail.com wrote:
Not documented as far as I know. It's just
14 matches
Mail list logo