Failed To Open Stream: No Such File Or Directory

hi guys…

what does this error mean? I really don’t get it…

somebody please help me to solve this problem…

thank you…


<h1>PHP Error [2]</h1>

<p>include(Pemohonan.php): failed to open stream: No such file or directory (C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\YiiBase.php:427)</p>

<pre>#0 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\YiiBase.php(427): CWebApplication->handleError()

#1 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\YiiBase.php(427): autoload()

#2 unknown(0): autoload()

#3 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\luar_negara\protected\controllers\PermohonanController.php(87): spl_autoload_call()

#4 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\actions\CInlineAction.php(49): PermohonanController->actionCreate()

#5 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CController.php(308): CInlineAction->runWithParams()

#6 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\filters\CFilterChain.php(133): PermohonanController->runAction()

#7 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\filters\CFilter.php(40): CFilterChain->run()

#8 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CController.php(1145): CAccessControlFilter->filter()

#9 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\filters\CInlineFilter.php(58): PermohonanController->filterAccessControl()

#10 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\filters\CFilterChain.php(130): CInlineFilter->filter()

#11 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CController.php(291): CFilterChain->run()

#12 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CController.php(265): PermohonanController->runActionWithFilters()

#13 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CWebApplication.php(282): PermohonanController->run()

#14 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\web\CWebApplication.php(141): CWebApplication->runController()

#15 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\yii\framework\base\CApplication.php(180): CWebApplication->processRequest()

#16 C:\BitNami\wappstack-5.4.22-0\apache2\htdocs\luar_negara\index.php(13): CWebApplication->run()

</pre>

I already try this method but it is still had the same error…

anyone? please! :(

it’s okay guys…

I already fix it by myself…

thank you…:)

would help if you shared your solution

This issue happens because php script doesn’t have write permissions. Use chmod -R 777 pathToMyYiiProject, and everything should work fine.