Hi, I am trying to use Searchable Behaviour hosted here: http://code.google.com/p/searchable-behaviour-for-cakephp/ To initialize the search_index table with existing data, I have used this: http://code.google.com/p/searchable-behaviour-for-cakephp/issues/detail?id=1&q=controllerReply No. 2 which creates the class SearchController.
The code was working fine on my local test server which runs PHP5. However, the server has PHP 4 and when I tried the code on server it gives this error: *Fatal error*: Cannot redeclare class searchcontroller in * LONG_PATH/cake/app/models/behaviors/searchable.php* on line *2*** Does it really has to do something with the PHP version or have I done some logical mistake? Regards and Thanks -Mayank Singhal Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en