Regarding to parseExtensions Error
*Hi When we had routes.php cakephp3.xRouter::mapResources(['websiphones']); Router::parseExtensions('xml','json');Error: * Call to undefined method Cake\Routing\Router::parseExtensions() *File* D:\xampp\htdocs\devcakephp\config\routes.php *Line: * 88 -- 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/d/optout.
Dear All..
I am Deepak. i am new to cake php.. can you please suggest me some good online tutorials to me. so that i can learn cake PHP faster.please help 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
Re: About model cache
Thanks. On Fri, Jun 4, 2010 at 1:37 AM, cricket wrote: > If you have the following in app/config/core.php then caching is > enabled: > > Configure::write('debug', 0); > Configure::write('Cache.disable', false); > > Whenever debug is anything other than 0 caching is disabled. > > So, if you make any changes to your model/DB table and you have those > set, you should delete the appropriate file from the cache dir under > tmp. > > On Jun 3, 10:04 am, Hatori Nakumora wrote: > > Hi guys, > > > > Is Model is CakePhp is cached on default? (in the tmp/cache/models) > > 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.comFor > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > 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
how to update comments
Hello! I paginate the previous comments. When I add a new comment, how should I put it on the top and removes the last shown comment. Can I just keep the middle comments unchanged? say: comment1 comment2 comment3 === I will add comment 1*, so it display comment1* comment1 comment2 == just remove the comment3 Thank you in advance Yuncong --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: session not getting inside my custom component
it worked when i called session component inside my class like this class MessageComponent extends Object { var $components = array('Session'); function getMessage() { } } Hoping that this will help some others who having the same problem. On Jul 19, 9:49 am, "Jonathan Snook" <[EMAIL PROTECTED]> wrote: > You have a couple ways to do so. > > 1) use the startup method, which gets passed the controller as its > first argument. Store a reference to it within the object. > > 2) App::import('Component', 'Session'); and then you should be able to > instantiate thesessionobject and use it that way. > > On Sat, Jul 19, 2008 at 12:45 AM, web <[EMAIL PROTECTED]> wrote: > > On Jul 18, 12:18 pm, web <[EMAIL PROTECTED]> wrote: > >> Iam using cakephp1.2, and have created acustomcomponentfor > >> messaging purpose . but amnotable to use $this->Session->read() or > >> $this->Session->delete()insidemy class. > >> These codes creates an error like this "Call to a member function on > >> a non-object ". So I have to use the conventional phpsessioncodeinsidemy > >> componentfile. > > >> Can anyone tell me how to getSessionhelperinsidecomponent ? > > >> here ismycode > >> >> class MessageComponent extends Object > >> { > >> function getMessage() > >> { > >> $message = ''; > > >> $msg = $this->Session->read('message'); > >> $this->Session->delete('message'); > >> if($msg != "") > >> { > >> switch($msg) > >> { > >> $message= ... > >> } > >> } > > >> return $message; > > >> } > >> } > > >> Thanks in advance . --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
table name directories created problems
Any one please just tell me why this happens ? My table name is directories My controller -> directories_controller.php class DirectoriesController extends AppController { var $name = 'Directories'; var $scaffold; } my model -> directory.php class Directory extends Appmodel { var $name= 'Directory '; var $primaryKey = 'directory_id'; } and when I typed in browser i got an error in cakephp1.1xx Undefined class name 'connectionmanager' and in cakephp1.2 Error: Directory could not be found. Error: Create the class Directory in file: app/models/directory.php I have tried to find the solution for many times and finally i have to change my table name and then it worked ... but still am not able to find the reason for this error. Any one please tell me thanks in advance --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---