yosy93
(Yosy101)
June 28, 2010, 2:15pm
1
Hi,
I am new to yii and I created module (module id = designer) with yiic shell.
I added my module into the application configuration
return array(
'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
'name'=>'My Web Application',
'modules' => array('desinger'),
And when I am trying to navigate to -
http://localhost/MyApp/index.php?r=desinger
I am getting this error -
PHP Error
Description
require(D:\Sites\MyApp\protected\modules\desinger\DesingerModule.php) [<a href=‘function.require’>function.require</a>]: failed to open stream: No such file or directory
Source File
D:\Sites\yii\framework\YiiBase.php(257)
How to fix it?and how I can create controller to specific module with the shell?
Thanks,Yosy.
I am sorry it was a typo mistake.
Yosy,
you need to put more informations here.
This path is correct?
D:\Sites\MyApp\protected\modules\desinger\DesingerModule.php
ashley
(Ashley Lobo)
June 29, 2010, 10:44am
3
Hello,
Could any one please tell me i can’t laod my module, i’m new to this topic please help me.
Discover the hidden source of targeted traffic that unearths eager buying customers, drives them straight to your site, and literally explodes your profits almost overnight at just simple click unique article wizard.
andy_s
(Arekandrei)
June 29, 2010, 11:08am
4
ashley:
Hello,
Could any one please tell me i can’t laod my module, i’m new to this topic please help me.
Discover the hidden source of targeted traffic that unearths eager buying customers, drives them straight to your site, and literally explodes your profits almost overnight at just simple click unique article wizard.
http://www.yiiframework.com/doc/guide/basics.module