# Help with cakephp shared hosting

**URL:** <https://discourse.cakephp.org/t/help-with-cakephp-shared-hosting/1666>\
**Category:** Need Help\
**Created:** [December 4, 2016, 1:21pm UTC](https://discourse.cakephp.org/t/help-with-cakephp-shared-hosting/1666 "2016-12-04T13:21:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrgooglenews](https://avatars.discourse-cdn.com/v4/letter/m/f05b48/32.png) [@mrgooglenews](https://discourse.cakephp.org/u/mrgooglenews)\
**Post date:** [December 4, 2016, 1:21pm UTC](https://discourse.cakephp.org/t/help-with-cakephp-shared-hosting/1666/1 "2016-12-04T13:21:27Z")

</div>

Im by far not great and still on the learning path.

Trying to install a cakephp app on my shared host server. I get the following error. Any guidance would be apprciated.

2016-12-04 13:36:36 Notice: Notice (8): Use of undefined constant Router - assumed ‘Router’ in [/var/www/site.com/public\_html/app/plugins/Search/config/routes.php, line 16]  
Request URL: /app/  
Client IP: 000.000.0.00.0.  
Trace:  
Cake\Error\BaseErrorHandler::handleError() - CORE/src/Error/BaseErrorHandler.php, line 146  
include - ROOT/plugins/Search/config/routes.php, line 16  
Cake\Core\Plugin::\_includeFile() - CORE/src/Core/Plugin.php, line 399  
Cake\Core\Plugin::routes() - CORE/src/Core/Plugin.php, line 348  
Cake\Core\Plugin::routes() - CORE/src/Core/Plugin.php, line 336  
include - ROOT/config/routes.php, line 55  
Cake\Routing\Router::\_loadRoutes() - CORE/src/Routing/Router.php, line 1019  
Cake\Routing\Router::extensions() - CORE/src/Routing/Router.php, line 817  
App\Controller\ErrorController::\_\_construct() - APP/Controller/ErrorController.php, line 21  
Cake\Error\ExceptionRenderer::\_getController() - CORE/src/Error/ExceptionRenderer.php, line 124  
Cake\Error\ExceptionRenderer::\_\_construct() - CORE/src/Error/ExceptionRenderer.php, line 91  
Cake\Error\ErrorHandler::\_displayException() - CORE/src/Error/ErrorHandler.php, line 143  
Cake\Error\BaseErrorHandler::handleException() - CORE/src/Error/BaseErrorHandler.php, line 180  
Cake\Error\BaseErrorHandler::wrapAndHandleException() - CORE/src/Error/BaseErrorHandler.php, line 164  
[main] - [internal], line ??

---

<div class="post-metadata">

**Author:** ![jimgwhit](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/jimgwhit/32/378_2.png) [@jimgwhit](https://discourse.cakephp.org/u/jimgwhit)\
**Post date:** [December 4, 2016, 8:11pm UTC](https://discourse.cakephp.org/t/help-with-cakephp-shared-hosting/1666/2 "2016-12-04T20:11:47Z")

</div>

What is on line 16?  
Does it work on development server?  
Make sure small and cap letters are right, linux is case sensitive.
