Am I using ajax pagination correctly?

2008-02-01 Thread Mac65
I'm using the Pagination helper in 1.2, and I have it working using AJAX, but I'm not sure I'm using it correctly. This is my scenario: I have a view named users with an index page that displays a paginated view of all users. The index method in my users controller originally contained this cod

Re: Class 'Router' not found

2008-02-01 Thread Mac65
I also had this same message recently after uploading from my development machine to a server. My problem went away after deleting all of the files in the {app}\tmp\cache folders. > Fatal error: Class 'Router' not found in /home/zipsadsc/public_html/ > messaging/cake/dispatcher.php on line 333 >

belongsTo not binding to Model - 1.2

2008-01-29 Thread Mac65
This is using 1.2.0.6311 beta I may be mistaken about how this should work, but I thought setting the belongsTo variable in a model would cause it to join automatically when using the find ('all') method on that model. I have two models: class Collector extends AppModel { var $name = 'Colle

Re: Fatal error: Cannot redeclare class connectionmanager when using cake acl

2008-01-21 Thread Mac65
I got around this problem by using the "cake schema run create DbAcl" command instead of "cake acl initdb". I found this out by running the "cake acl initdb" command under Linux, and it ran without a problem, but reported "Error: This command is deprecated. Please use, cake schema run create DbAc

Fatal error: Cannot redeclare class connectionmanager when using cake acl

2008-01-21 Thread Mac65
I'm using version 1.2.0.6311 with PHP 4.1.1. I have a working Cake app and now I'm trying to add access controll. I get the following error message when running "cake acl". Fatal error: Cannot redeclare class connectionmanager in c:\vr\Dev \htdocs\_cake_files\cake\cake\libs\model\connection_man