Not able to run already developed cake project ,php 5.4 and cake 2.7


#1

Hi ,
I’m trying to run the already developed project in php 5.4 and cake 2.7 ,gettting below error

Warning: require(webroot\index.php): failed to open stream: No such file or directory in C:\wamp\www\project\index.php on line 17

and

Fatal error: require(): Failed opening required ‘webroot\index.php’ (include_path=’.;C:\php\pear’) in C:\wamp\www\project\index.php on line 17

I’m new to cake php .Please help to solve this error.


#2

well, ehm… the error is literally there: “No such file or directory in C:\wamp\www\project\index.php”
a.k.a you’re trying to load a file that doesn’t exist.


#3

Hi,

currently the application execution goes in test suit folder,not getting why its going in test folder instead of app folder
,
so error occurs as below

the rapid development php framework

An Internal Error Has Occurred.

Error: An Internal Error Has Occurred.

( ! ) Fatal error: [MissingPluginException] Plugin Crud could not be found. #0 C:\wamp\www\project\lib\Cake\Core\App.php(367): CakePlugin::path(‘Crud’) #1 C:\wamp\www\project\lib\Cake\Core\App.php(228): App::pluginPath(‘Crud’) #2 C:\wamp\www\project\lib\Cake\Core\App.php(545): App::path(‘Lib’, ‘Crud’) #3 [internal function]: App::load(‘CrudControllerT…’) #4 C:\wamp\www\project\app\Controller\AppController.php(43): spl_autoload_call(‘CrudControllerT…’) #5 C:\wamp\www\project\lib\Cake\Core\App.php(563): include(‘C:\wamp\www\project…’) #6 [internal function]: App::load(‘AppController’) #7 [internal function]: spl_autoload_call(‘AppController’) #8 C:\wamp\www\via\lib\Cake\Error\ExceptionRenderer.php(154): class_exists(‘AppController’) #9 C:\wamp\www\project\lib\Cake\Error\ExceptionRenderer.php(95): ExceptionRenderer->_getController(Object(Exception)) #10 C:\wamp\www\project\lib\Cake\Error\ErrorHandler.php(122): ExceptionRenderer->__construct(Object(Exception)) #11 [internal function]: ErrorHandler::handleException(Object(Exception)) #12 {main} in C:\wamp\www\project\lib\Cake\Error\ErrorHandler.php on line 132
Call Stack

Time Memory Function Location

1 0.0598 1659624 ErrorHandler::handleException( ) …\ErrorHandler.php : 0
2 0.0789 3804704 trigger_error ( ) …\ErrorHandler.php : 132