tag:blogger.com,1999:blog-8315157290097343123.post5473797686275388959..comments2023-05-29T22:29:13.291+08:00Comments on My Programming Tutorial: Step By Step Setup YiiBoilerPlatechiewmeyhttp://www.blogger.com/profile/10089454059007976788noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-8315157290097343123.post-88758867735812598432014-10-03T01:09:50.223+08:002014-10-03T01:09:50.223+08:00How can it be configured on production server if e...How can it be configured on production server if everything is uploaded in public_html. So i am getting issue if i am pointing public_html/frontend/www its always redirecting to index.php means its always redirect to default controller it does not process the request of other controller.<br /><br />Please guide on this.Mohanhttps://www.blogger.com/profile/17495703972090539333noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-40845531404588345342014-07-09T08:25:20.490+08:002014-07-09T08:25:20.490+08:00Great,
and how do I post production.
I have FTP a...Great,<br />and how do I post production. <br />I have FTP access to public_html.Anonymoushttps://www.blogger.com/profile/00838030453698607336noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-69727428332090291812014-06-04T15:20:55.250+08:002014-06-04T15:20:55.250+08:00Great work, I would mention a addition of a line i...Great work, I would mention a addition of a line indicating that after unpacking the archive a dependency installation should be done with composer.<br />But I still have some questions.<br />1. Using Gii I create models, but when using crud the controllers are created descended from CController, is it right to be changed to BackendController (for backend for example)?<br />2. Even changed to "extend BackendController" in a created controller i get a wrong view in browser? Is there any specific things for creating mvc with crud?Ruslanhttps://www.blogger.com/profile/10098410235618209495noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-41138473160249044702014-04-02T14:03:44.298+08:002014-04-02T14:03:44.298+08:00You are right. I am too looking into this setup bu...You are right. I am too looking into this setup but could not find this file. I guess the structure mentioned in this article has changed in the last few months base don the commits I see on git.Shoebhttps://www.blogger.com/profile/17837028327849432908noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-82789325807846687012013-08-29T17:33:38.127+08:002013-08-29T17:33:38.127+08:00And i am working on WAMP environment. And i am working on WAMP environment. Tusharhttps://www.blogger.com/profile/08042094276567143677noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-92180200592411194622013-08-29T17:32:24.824+08:002013-08-29T17:32:24.824+08:00I run these commands but i get the error that '...I run these commands but i get the error that '.' is not recognized as an internal or external command.Tusharhttps://www.blogger.com/profile/08042094276567143677noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-13177721408152727382013-08-29T17:29:19.039+08:002013-08-29T17:29:19.039+08:00This comment has been removed by the author.Tusharhttps://www.blogger.com/profile/08042094276567143677noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-72480704016812930552013-08-29T15:43:50.673+08:002013-08-29T15:43:50.673+08:00If you are using LAMP environment, you should go t...If you are using LAMP environment, you should go to /etc/httpd/vhosts.d to setup the mapping. Then cd /var/www/hosts/ and redirect to your project folder.<br /><br />To run migration command, you have to go to your project folder from command prompt. chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-51279059478841278182013-08-29T15:29:27.396+08:002013-08-29T15:29:27.396+08:00Hi lee, I can't configure my yii boilerplate a...Hi lee, I can't configure my yii boilerplate application. can you give me some details about your each step??<br /><br />1. Map admin.domainname.com (or similar) to backend > www<br /> Map domainname.com (or similar) to frontend > www (if required)<br />mean what??<br /><br />2. Run the following command<br /> ./runpostdeploy local non-migrate<br /> ./yiic migrate<br /><br />how to run these commands??<br />Tusharhttps://www.blogger.com/profile/08042094276567143677noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-80417144604729550272013-08-28T15:51:55.487+08:002013-08-28T15:51:55.487+08:00Hi Jan,there is no such file named params-local.p...Hi Jan,there is no such file named params-local.php in the newest YiiBoiler.Do I need to create one?hankcshttps://www.blogger.com/profile/18364641644938677274noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-61199788157207727322013-07-23T20:48:15.386+08:002013-07-23T20:48:15.386+08:00Just change the Model Path
from application.models...Just change the Model Path<br />from application.models<br />to common.modelsВоин Газаhttps://www.blogger.com/profile/12579420225085243097noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-32040722807898624542013-07-23T20:00:45.343+08:002013-07-23T20:00:45.343+08:00Thank you! :)Thank you! :)Воин Газаhttps://www.blogger.com/profile/12579420225085243097noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-84897509341227489492013-07-22T15:08:49.504+08:002013-07-22T15:08:49.504+08:00Hi Jan, you can try to create from Backend then mo...Hi Jan, you can try to create from Backend then move the file to Common Directorychiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-24845496009801011942013-07-19T23:03:05.695+08:002013-07-19T23:03:05.695+08:00How can use gii to create/update models in the Com...How can use gii to create/update models in the Common directory?Anonymoushttps://www.blogger.com/profile/01379357223451933675noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-50800190253374563592013-07-11T17:37:41.372+08:002013-07-11T17:37:41.372+08:00Can you vnc remote and config for me, please? Than...Can you vnc remote and config for me, please? Thank you very much :). My yahoo, skype: quangckt<br /><br />Sory about my bad english!Anonymoushttps://www.blogger.com/profile/02051634345415771654noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-72907299341099413352013-07-11T15:15:27.929+08:002013-07-11T15:15:27.929+08:00It could be your db setting error, or try to resta...It could be your db setting error, or try to restart mysql service.chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-32516719838032195642013-07-11T15:06:07.858+08:002013-07-11T15:06:07.858+08:001./When run (runpostdeploy local non-migrate), I g...1./When run (runpostdeploy local non-migrate), I get bug:<br />Running command: <br /> php 'C:\wamp\www\yiiboilerplate\common\lib/../../yiic' migrate --interactive=0 'php' is not recognized as an internal or external command, operable program or batch file.<br />2./When run (yiic migrate), I get bug:<br /> PHP Error[2]: PDO::_construc<>: php_network_getaddresses: getaddrinfo fail: No such host is know<br /> in file c:\.......\common\lib\CDbConnection.php at line 422<br /><br />==> Please help me setup detail!Anonymoushttps://www.blogger.com/profile/02051634345415771654noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-24536262846809917372013-06-24T09:34:26.941+08:002013-06-24T09:34:26.941+08:00that's great to hear that and have fun with bo...that's great to hear that and have fun with boilerplate! (^-^)chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-92037229886588302062013-06-24T07:18:01.586+08:002013-06-24T07:18:01.586+08:00Hi Lee, Thanks a lot for the tutorial. This helped...Hi Lee, Thanks a lot for the tutorial. This helped me a lot. Have you tried running unit test. test.php is in frontend config and do we create test in frontend or in tests folder?<br />Sunilhttps://www.blogger.com/profile/13960650157081531326noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-29902082056346988802013-06-23T23:13:57.419+08:002013-06-23T23:13:57.419+08:00Hi,
I solved that error :) It was the issue of re...Hi,<br /><br />I solved that error :) It was the issue of read-write module in my ubuntu os. by the way Thanks for help. Can I ask you little more help about YiiBoilerPlate ? Do you have some tutorials on it?KJhttps://www.blogger.com/profile/15244422321242308551noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-11673498497301326902013-06-23T16:36:41.824+08:002013-06-23T16:36:41.824+08:00How about http://backend.local? Any error?How about http://backend.local? Any error?chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-46239197671579075442013-06-21T16:46:04.765+08:002013-06-21T16:46:04.765+08:00Thanks for reply..but its still not workingThanks for reply..but its still not workingKJhttps://www.blogger.com/profile/15244422321242308551noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-28132573925390081282013-06-21T16:45:28.511+08:002013-06-21T16:45:28.511+08:00Please try with this:
'modules' => arr...Please try with this:<br /><br />'modules' => array(<br /> 'gii' => array(<br /> 'class' => 'system.gii.GiiModule',<br /> 'password' => 'clevertech',<br /> 'ipFilters' => array('127.0.0.1', $_SERVER['REMOTE_ADDR']),<br /> 'generatorPaths' => array(<br /> 'bootstrap.gii'<br /> )<br /> )<br /> ),chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-35424088311676310882013-06-21T16:43:40.790+08:002013-06-21T16:43:40.790+08:00This comment has been removed by the author.chiewmeyhttps://www.blogger.com/profile/10089454059007976788noreply@blogger.comtag:blogger.com,1999:blog-8315157290097343123.post-86384068189224111692013-06-21T16:37:05.338+08:002013-06-21T16:37:05.338+08:00Yes gii module is enabled here. I have removed com...Yes gii module is enabled here. I have removed comments these lines:<br /><br />'modules' => array(<br /> 'gii' => array(<br /> 'class' => 'system.gii.GiiModule',<br /> 'password' => 'clevertech',<br /> 'generatorPaths' => array(<br /> 'bootstrap.gii',<br /> //'ipFilters' => array('127.0.0.1', $_SERVER['REMOTE_ADDR']),<br /> ), <br /> )<br /> ),KJhttps://www.blogger.com/profile/15244422321242308551noreply@blogger.com