# Constant CAKE\_CORE\_INCLUDE\_PATH already defined CakePHP

**URL:** <https://discourse.cakephp.org/t/constant-cake-core-include-path-already-defined-cakephp/4576>\
**Category:** Need Help\
**Created:** [July 16, 2018, 12:13pm UTC](https://discourse.cakephp.org/t/constant-cake-core-include-path-already-defined-cakephp/4576 "2018-07-16T12:13:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![umair](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/umair/32/1080_2.png) [@umair](https://discourse.cakephp.org/u/umair)\
**Post date:** [July 16, 2018, 12:13pm UTC](https://discourse.cakephp.org/t/constant-cake-core-include-path-already-defined-cakephp/4576/1 "2018-07-16T12:13:23Z")

</div>

I am a beginner to CakePHP, I just got a code of the project to make some minor changes into the project, but as I copy and paste the project files into my wamp server and changed my database constants according to my localhost, I got error and website site is not even loading properly no css no js.

> I am using 2.5 CakePHP Version and 5.6 PHP version

The complete error message is

> ( ! ) Notice: Constant CAKE\_CORE\_INCLUDE\_PATH already defined in C:\wamp64\www\cakephp2.5\app\webroot\index.php on line 64  
> Call Stack
> 
> # Time Memory Function Location
> 
> 1 0.0007 242672 {main}( ) …\index.php:0  
> 2 0.0015 265256 require( ‘C:\wamp64\www\cakephp2.5\app\webroot\index.php’ ) …\index.php:41  
> 3 0.0015 265488 define ( ) …\index.php:64  
> Thanks
