Monday, December 29, 2008

showing error after installation

I uploaded my project and when I clicked to see the page in Browser I
got following warning and error
Warning (2): require(D:\wamp\www\Imasale\app\controllers
\mains_controller.php) [function.require]: failed to open stream: No
such file or directory [CORE/cake/basics.php, line 372]

Context | Code

$name = "mains_controller"
$className = "MainsController"
$controllers = array("MainsController" => array)


$controllers = Configure::read('Controllers');


if (is_array($controllers)) {


if (array_key_exists($className, $controllers)) {


require($controllers[$className]['path']);


return true;

loadController - CORE/cake/basics.php, line 372
loadController - CORE/cake/basics.php, line 372
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 111
require - CORE/app/webroot/index.php, line 86
[main] - CORE/index.php, line 75


Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119

Fatal error: require() [function.require]: Failed opening required 'D:
\wamp\www\Imasale\app\controllers
\mains_controller.php' (include_path='.:/usr/local/lib/php:/home/
teamdhaka/public_html/Imasale:/home/teamdhaka/public_html/Imasale/
app/') in /home/teamdhaka/public_html/Imasale/cake/basics.php on line
372

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: