最新回答 / qq_ar珼_0
                                
                                                            Call to a member function getOrders() on a non-object首先报错的语句  报的是  getOrders() 这个函数所以你列出的  两个对比语句  并不是问题的关键所在哦~
                            
                        
                        2015-08-07
                
            
                                最新回答 / uwenhao2008
                                
                                                            我找到问题了,粗心把引用的页面给搞错了应该是这个页面里http://localhost:8088/basic/web/index.php?r=hello/index  我用的不是phpstudy,是wampserver   
                            
                        
                        2015-08-05
                
            
                                最新回答 / qq_ar珼_0
                                
                                                            命名空间  去  admin.php里面 改一下namespace frontend/models;然后在你的控制器 及 用到这个Admin的模型里use frontend/models/Admin;记得 只要是用到这个 Admin的 地方 都要 use
                            
                        
                        2015-07-22
                
            
                                最新回答 / 落樱bless
                                
                                                            我是按照视频先访问自己服务器上面的basic/requirements.php 显示配置符合Yii要求。然后我才再访问的basic/web/index.php     index.php全部代码如下:<?php// comment out the following two lines when deployed to productiondefined('YII_DEBUG') or define('YII_DEBUG', true);defined('YII_ENV') or define('Y...
                            
                        
                        2015-07-20
                
             
             
        









