Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/loops/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
运行测试yii应用程序时未找到对象_Yii - Fatal编程技术网

运行测试yii应用程序时未找到对象

运行测试yii应用程序时未找到对象,yii,Yii,我已经安装了yii 1.1.12框架(使用xampp的Windows 7),并创建了一个mytest项目。我可以在路径“/xampp/htdocs/yii/framework/”中看到mytest项目文件夹。但在以“”运行应用程序时,它给出了“找不到对象”错误 谢谢, Gowtham可能是因为您在framework文件夹中创建了web应用程序,所以路由localhost/mytest不起作用。尝试改用可能是因为您在framework文件夹中创建了web应用程序,所以路由localhost/myt

我已经安装了yii 1.1.12框架(使用xampp的Windows 7),并创建了一个mytest项目。我可以在路径“/xampp/htdocs/yii/framework/”中看到mytest项目文件夹。但在以“”运行应用程序时,它给出了“找不到对象”错误

谢谢,
Gowtham

可能是因为您在framework文件夹中创建了web应用程序,所以路由localhost/mytest不起作用。尝试改用

可能是因为您在framework文件夹中创建了web应用程序,所以路由localhost/mytest不起作用。尝试改用

yii1或yii2?您遵循了哪些步骤?yii1还是yii2?你采取了哪些步骤?