Migrations plugin won't load ! :(
hi guys i'm trying to install the Migrations plugin in my cakePHP App but it wont work i did all the steps on the github documentation but when i run the command : cake Migrations.migration run all -p Migrations i get the message : Error: Plugin Migrations could not be found. #0 C:\wamp\www\Plugins installed\lib\Cake\Core\App.php(365): CakePlugin::path('M igrations') #1 C:\wamp\www\Plugins installed\lib\Cake\Core\App.php(226): App::pluginPath('Mi grations') #2 C:\wamp\www\Plugins installed\lib\Cake\Core\App.php(547): App::path('Console/ Command', 'Migrations') #3 [internal function]: App::load('MigrationShell') #4 [internal function]: spl_autoload_call('MigrationShell') #5 C:\wamp\www\Plugins installed\lib\Cake\Console\ShellDispatcher.php(247): clas s_exists('MigrationShell') #6 C:\wamp\www\Plugins installed\lib\Cake\Console\ShellDispatcher.php(198): Shel lDispatcher-_getShell('Migrations.migr...') #7 C:\wamp\www\Plugins installed\lib\Cake\Console\ShellDispatcher.php(66): Shell Dispatcher-dispatch() #8 C:\wamp\www\Plugins installed\lib\Cake\Console\cake.php(49): ShellDispatcher: :run(Array) #9 {main} please help -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
how a form is display in fancy box... (jquery) when i click on add etc .. buttons...
i am new in cakephp.. i want to show a form in fancy box... when i click on add thw form open will be in fancy box.. any one can help me ??? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
CakeEmail not sending (possibly a problem with local web server?)
Hello- I am having a problem with CakeEmail. Whenever I try to send an email, I can get one or two of them to work, but then the emails just seem to get stuck. Sometimes restarting my computer or restarting apache will cause the stuck emails to go through all at once, but that is not a consistent solution to the problem. I've looked at the apache error logs and the mail logs and neither of them show any errors related to this. I have no idea if this is related to Cake or to my local apache set-up or something else completely In my controller function: $Email = new CakeEmail(); $Email-sender($this-request-data['Person']['email'], 'MyApp emailer'); $Email-from(array($this-request-data['Person']['email'] = 'Atlas')); $Email-to('*username*@gmail.com'); $Email-subject('Email from '.$senderName); $Email-config('gmail'); In Config/email.php: public $gmail = array( 'transport' = 'Smtp', 'host' = 'ssl://smtp.gmail.com', 'port' = 465, 'timeout' = 3, 'username' = '*username*@gmail.com', 'password' = '*password*', 'client' = null, 'log' = true //'charset' = 'utf-8', //'headerCharset' = 'utf-8', ); Any suggestions for where to go from here? I'm stumped... :/ -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: 'Site under maintenance' option
You can look into https://github.com/awebdeveloper/cakephp-maintenance-mode On Tuesday, 6 September 2011 01:15:20 UTC+5:30, Xoubaman wrote: I'm trying to implement a system to disable the site temporaly for maintenance purposes or whatever. If the site is disabled, only logged users can navigate through it, non-logged users are redirected to a Site under maintenance layout. Currently (o As of now), my approach is to allow a secret url that will lead to the login form, check in AppController::beforefilter if the current url is the allowed one and, if it isn't, set the maintenance layout. Trying to figure out how to allow only one url to log in, I came to define it as a constant in bootstrap and add the route in config/routes pointing to UsersController::login. It would be nice to save the secret url into the database and change it without editing bootstrap.php, though. Any suggestion? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Containable with Pagination
Hi All, I'm having a problem getting Containable behaviour working with the Pagination component. I'm following the suggested code in the manual Using Containable with Pagination - http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable-with-pagination My code is as follows (SchedulesController.php) public function show() { $this-paginate['contain'] = array( 'Assignment' = array( 'AssignmentsStudent' = array( 'School' = array('fields' = array('name')), 'Student' = array('fields' = array('given_name', 'family_name')) ), 'Type' = array('fields' = array('name', 'acronym')), 'fields' = array('theme', 'source') ), 'fields' = array( 'name', 'date' ) ); $this-set('schedules', $this-Paginator-paginate()); } However running this code gives me the following error Notice (8): Indirect modification of overloaded property SchedulesController::$paginate has no effect [APP/Controller/SchedulesController.php, line 35] I have double checked the I have public $actsAs = array('Containable'); in my Schedule.php model file. The output array doesn't contain any of the deep associations and I guess this is because of what the error says $paginate has no effect. I have containable working in some other controllers (not with pagination) so I'm fairly confident that my array nesting is ok but I could be wrong. Any assistance would be welcome! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Containable with Pagination
try something like: class SchedulesController extends AppController { public $components = array('Paginator'); public function show() { $this-Paginator-settings = array( 'Schedule' = array( 'contain' = array( 'Assignment', ), 'limit' = 20, 'conditions' = array( ), 'order' = array( ), ) ); $this-set('schedules', $this-Paginator-paginate()); } Andras Kende On Feb 20, 2014, at 3:49 PM, Justin Atack justinat...@gmail.com wrote: Hi All, I'm having a problem getting Containable behaviour working with the Pagination component. I'm following the suggested code in the manual Using Containable with Pagination - http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable-with-pagination My code is as follows (SchedulesController.php) public function show() { $this-paginate['contain'] = array( 'Assignment' = array( 'AssignmentsStudent' = array( 'School' = array('fields' = array('name')), 'Student' = array('fields' = array('given_name', 'family_name')) ), 'Type' = array('fields' = array('name', 'acronym')), 'fields' = array('theme', 'source') ), 'fields' = array( 'name', 'date' ) ); $this-set('schedules', $this-Paginator-paginate()); } However running this code gives me the following error Notice (8): Indirect modification of overloaded property SchedulesController::$paginate has no effect [APP/Controller/SchedulesController.php, line 35] I have double checked the I have public $actsAs = array('Containable'); in my Schedule.php model file. The output array doesn't contain any of the deep associations and I guess this is because of what the error says $paginate has no effect. I have containable working in some other controllers (not with pagination) so I'm fairly confident that my array nesting is ok but I could be wrong. Any assistance would be welcome! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Containable with Pagination
Haha that works! You're a genius! Thank you so much. So is the CakePHP manual incorrect? On Friday, 21 February 2014 10:49:00 UTC+11, Justin Atack wrote: Hi All, I'm having a problem getting Containable behaviour working with the Pagination component. I'm following the suggested code in the manual Using Containable with Pagination - http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable-with-pagination My code is as follows (SchedulesController.php) public function show() { $this-paginate['contain'] = array( 'Assignment' = array( 'AssignmentsStudent' = array( 'School' = array('fields' = array('name')), 'Student' = array('fields' = array('given_name', 'family_name')) ), 'Type' = array('fields' = array('name', 'acronym')), 'fields' = array('theme', 'source') ), 'fields' = array( 'name', 'date' ) ); $this-set('schedules', $this-Paginator-paginate()); } However running this code gives me the following error Notice (8): Indirect modification of overloaded property SchedulesController::$paginate has no effect [APP/Controller/SchedulesController.php, line 35] I have double checked the I have public $actsAs = array('Containable'); in my Schedule.php model file. The output array doesn't contain any of the deep associations and I guess this is because of what the error says $paginate has no effect. I have containable working in some other controllers (not with pagination) so I'm fairly confident that my array nesting is ok but I could be wrong. Any assistance would be welcome! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
How to write custom SQL queries instead of using find()?
While find() is good enough for most, I would like to write custom SQL queries instead of using find(). How can that be done in cakephp? Thank you. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: How to write custom SQL queries instead of using find()?
http://book.cakephp.org/2.0/en/models/retrieving-your-data.html#model-query ? Andras Kende On Feb 20, 2014, at 11:35 PM, Sam lightai...@gmail.com wrote: While find() is good enough for most, I would like to write custom SQL queries instead of using find(). How can that be done in cakephp? Thank you. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Re: Containable with Pagination
You had this incorrectly : $this-paginate['contain'] = array( Manual: $this-paginate['User'] = array( 'contain' = array('Profile', 'Account'), 'order' = 'User.username' ); $users = $this-paginate('User'); Andras Kende On Feb 20, 2014, at 10:43 PM, Justin Atack justinat...@gmail.com wrote: Haha that works! You're a genius! Thank you so much. So is the CakePHP manual incorrect? On Friday, 21 February 2014 10:49:00 UTC+11, Justin Atack wrote: Hi All, I'm having a problem getting Containable behaviour working with the Pagination component. I'm following the suggested code in the manual Using Containable with Pagination - http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html#using-containable-with-pagination My code is as follows (SchedulesController.php) public function show() { $this-paginate['contain'] = array( 'Assignment' = array( 'AssignmentsStudent' = array( 'School' = array('fields' = array('name')), 'Student' = array('fields' = array('given_name', 'family_name')) ), 'Type' = array('fields' = array('name', 'acronym')), 'fields' = array('theme', 'source') ), 'fields' = array( 'name', 'date' ) ); $this-set('schedules', $this-Paginator-paginate()); } However running this code gives me the following error Notice (8): Indirect modification of overloaded property SchedulesController::$paginate has no effect [APP/Controller/SchedulesController.php, line 35] I have double checked the I have public $actsAs = array('Containable'); in my Schedule.php model file. The output array doesn't contain any of the deep associations and I guess this is because of what the error says $paginate has no effect. I have containable working in some other controllers (not with pagination) so I'm fairly confident that my array nesting is ok but I could be wrong. Any assistance would be welcome! -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
Cake php e commerce website to apk for mobile application
guys i have developed an E commerce website want to convert to apk of certain features to be used in android and iphone platform can any one help ? -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.
cakephp Developer
CakePhp Developer 1+ year exp job location:New Delhi call me 8376991007 -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups CakePHP group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php. For more options, visit https://groups.google.com/groups/opt_out.