trader5050
Questions Asked
1 answer
Moved servers -> all broke!
Hello,
I moved servers to a virtual dedicated with:
CentOS
Php 5.3.10
MySQL 5.1.61-log (Client...
2 answers
maxLimit does nothing
I'm using paginator for some search results. For whatever reason, it returns everything,...
1 answer
Paginator limit being bypassed
I have the following paginate call:
// set paginate
$this->paginate =... Answers
0
Cake 2.1.0 + PHP 5.2 + SQLServer 2008
Per the post on the CakePHP homepage about 2.1:
"Updated minimum PHP version requirement to 5.2.8 due to PHP bugs #44251 and #45748"
So, no, I'd think not. This is assuming that your PHP version is...
0
Cannot access logged in user info on certain pages
Make sure you load the Session component and helper. I believe you only need the helper, if using my first method:
To get user data in your view do:
echo... 






It's not a mod_rewrite issue, but it is enabled.
I just receive an 'unknown column' error as it's looking for "limit" to be a field in the database. Additionally, per the cookbook, limit is not placed in the conditions field for a find(), which I believe paginate is simply modified alias for.
Offline DB config
Nevermind. I fixed it by using a constructor in database.php: {{{ function __construct() { if (Configure::read('ONLINE')==false) { $this->default = $this->offline; } } }}}Thanks a bunch for the answer. I'm working on changing things from "password" now. I don't want to extend CakePHP with all sorts of extra downloads n' scripts, though. Is there a way to just force a model to invalidate a specific rule? If that's...
This did the trick, but I shouldn't have to go such a roundabout way, I would think. I'm guessing that somehow the User data does not fit my table structure, but I haven't identified any problems with it, at least yet.
New Questions
Hot Questions
Just answered
Powered by Inq © 2010-2012 Cake Development Corporation
Ask website © 2010-2012 Cake Software Foundation, Inc.