Wednesday, 15 April 2015

php - Moving CakePhp Project to FTP server -


I have a project and I want to upload it to my web server but I get these errors:

WARNING: Includes (C: \ wamp \ www \ ums \ lib \ cake \ bootstrap.php) [function.include]: failed to open the stream: None of the file or directory C: \ inetpub \ Warns: Include (C: \ wamp \ www \ um \ lib \ cake \ bootstrap.php) [function.include: vhosts \ ajansimaj.com \ httpdocs \ ums2 \ webroot \ index.php on line 83

]: Failed to open the stream: any such file in C Or directory: in line 83 \ P> Warning: included () [function.include]: Opening 'C: \ wamp \ www \ um \ lib \ cake \ bootstrap.php' to include (include_path = ' .; .. / contains: ./ pear 'in C: \ inetpub \ vhosts \ ajansimaj.com \ httpdocs \ ums2 \ webroot \ index.php on line 83

Critical error: cake php core did not get. Check the value of CAKE_CORE_INCLUDE_PATH in APP / webfot / index.fp It should point your directory to the directory of your \ cake directory and your \ vendors root directory. In C: \ inetpub \ vhosts \ ajansimaj.com \ httpdocs \ ums2 \ webroot \ index.php on line 88

What can I do to fix these problems? Thanks

As an error says:

Cake php core Could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP / webfot / index.fp It should point your directory to the directory of your \ cake directory and your \ vendors root directory.

You should change the line

  c: \ inetpub \ vhosts \ ajansimaj.com \ httpdocs \ ums2 \ webroot \ index.php on line 88 < / P>  

Define ('CAKE_CORE_INCLUDE_PATH', 'C:' .des 'vamp' .des 'www' .ds 'oms' .ds 'bb'); In your C: \ inetpub \ vhosts \ ajansimaj.com \ httpdocs \ ums2 \ webroot \ index.php file in:

  Define ('CAKE_CORE_INCLUDE_PATH DS' INPUB 'DS' VOHOSTS 'DS' Ajanjit.com '. DS' HPDox 'DS' ums2 '.DS' BB ');   

And it should work ...

No comments:

Post a Comment