Error: An Internal Error Has Occurred.
Reported by jai kishan jaiswal | November 21st, 2012 @ 04:45 PM | in 0.9 beta
Hi,
My name is jai and I am new in CakePhp and infinitas.I like it
and I have a project for this CMS.
I have installed cakephp and infinitas after installation two
errors are occurred one I have solved and another one I am going to
explain.
Error title : Table core_routes for model Route was not found in datasource default.
Stack trace
APP/Model/AppModel.php line 166 → Model->getDataSource()
APP/Core/Routes/Model/Route.php line 49 → AppModel->__construct(array, null, null)
[internal function] → Route->__construct(array)
CORE/Cake/Utility/ClassRegistry.php line 164 → ReflectionClass->newInstance(array)
APP/Core/Routes/Routing/InfinitasRouter.php line 175 → ClassRegistry::init(string)
APP/Core/Routes/Routing/InfinitasRouter.php line 67 → InfinitasRouter::_buildRoutes()
APP/Config/routes.php line 7 → InfinitasRouter::setup()
CORE/Cake/Routing/Router.php line 1169 → include(string)
CORE/Cake/Routing/Router.php line 533 → Router::_loadRoutes()
CORE/Cake/Routing/Dispatcher.php line 212 → Router::parse(boolean)
[internal function] → Dispatcher->parseParams(CakeEvent)
CORE/Cake/Event/CakeEventManager.php line 246 → call_user_func(array, CakeEvent)
CORE/Cake/Routing/Dispatcher.php line 141 → CakeEventManager->dispatch(CakeEvent)
APP/webroot/index.php line 107 → Dispatcher->dispatch(CakeRequest, CakeResponse)
I am not getting anything so I have just copy it and put it there
Please help me I have to start the project
Any help will be appreciated,
Comments and changes to this ticket
-
dogmatic69 November 23rd, 2012 @ 05:57 AM
- State changed from new to pending
- Tag set to installer, routes
- Milestone changed from Feature Requests to 0.9 beta
- Milestone order changed from 82 to 0
Hi Jai,
First off, can you make sure you are using the
dev
branch from the repo. You can clone fromgit://github.com/infinitas/infinitas.git
or download from here.I have been implementing some changes to the installer and have run though it a few times this week without any issues. If you are still stuck it would be best to get on IRC
#infinitas
and we can help you get up and running. -
dogmatic69 November 23rd, 2012 @ 05:59 AM
- State changed from pending to bug
-
dogmatic69 November 23rd, 2012 @ 06:42 AM
Having thought about this for a while, did you create a database.php file? The installer should do this and once you have created it the system will thinks its installed already which would lead to missing table errors.
-
Autolycus December 2nd, 2012 @ 08:17 AM
I am having exactly same issue. I checked out dev and I have database file.
it gives me this errorTable core_routes for model Route was not found in datasource default.
Error: An Internal Error Has Occurred.Stack Trace
APP\CakePHP\lib\Cake\Model\Model.php line 3221 → Model->setSource(string) APP\Model\AppModel.php line 159 → Model->getDataSource() APP\Core\Routes\Model\Route.php line 50 → AppModel->__construct(array, null, null) [internal function] → Route->__construct(array) APP\CakePHP\lib\Cake\Utility\ClassRegistry.php line 164 → ReflectionClass->newInstance(array) APP\Core\Routes\Routing\InfinitasRouter.php line 175 → ClassRegistry::init(string) APP\Core\Routes\Routing\InfinitasRouter.php line 67 → InfinitasRouter::_buildRoutes() APP\Config\routes.php line 7 → InfinitasRouter::setup() APP\CakePHP\lib\Cake\Routing\Router.php line 1169 → include(string) APP\CakePHP\lib\Cake\Routing\Router.php line 533 → Router::_loadRoutes() APP\CakePHP\lib\Cake\Routing\Dispatcher.php line 212 → Router::parse(boolean) [internal function] → Dispatcher->parseParams(CakeEvent) APP\CakePHP\lib\Cake\Event\CakeEventManager.php line 247 → call_user_func(array, CakeEvent) APP\CakePHP\lib\Cake\Routing\Dispatcher.php line 141 → CakeEventManager->dispatch(CakeEvent) APP\webroot\index.php line 105 → Dispatcher->dispatch(CakeRequest, CakeResponse)
-
dogmatic69 December 8th, 2012 @ 10:40 PM
- State changed from bug to hold
- Tag changed from installer, routes to php 5.4, installer, routes
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Please use this for the current version of Infinitas only, if you are using a older version of the Infinitas report bugs in that project.
Please submit bugs only as pending, and if its a feature request submit the ticket with the milestone "Feature Requests".