By Ryan on June 9, 2010
I had to join two models together in order to search them properly. In this special case, it was pagination. I was browsing the cookbook for anything that could help and I did in fact find joining tables. I was doing something kind of bizarre and probably bad practice, but with CakePHP, there are no [...]
Posted in PHP, Tips | Tagged CakePHP, errors, joins, model |
By Ryan on August 24, 2008
While working on some validation required in CakePHP, I came across this annoying error. Warning (2): preg_match() [function.preg-match]: Delimiter must not be alphanumeric or backslash [CORE\cake\libs\model\model.php, line 2202] That error has come up before in the CakePHP trac tickets, but it was for a different part of validation. Here’s what it means and how to [...]
Posted in PHP | Tagged CakePHP, errors, fix, PHP, solution, warning |
By Ryan on August 17, 2008
When uploading files via PHP, you might get this PHP error, Warning: mkdir() [function.mkdir]: Too many links in … online … Don’t you love PHP error messages? I’ll tell you what this means and a solution to solve it. On some operating systems, there are limits to how many things you can have in a [...]
Posted in PHP | Tagged errors, ext3, filesystem, mkdir, PHP |