Tuesday, August 4, 2015

Re: Cakephp 3 core path change



On Monday, 20 July 2015 15:52:15 UTC-4, CCorreia wrote:
Hi everyone.

"Config/paths.php" : define('CAKE_CORE_INCLUDE_PATH', '/path/to/library/cakephp');

I have no trouble running the code after this change but as soon as I remove the folder /cakephp/cakephp from the /vendors I start getting this error:

Warning: require(<path>/vendor/cakephp/cakephp/src/Core/functions.php): failed to open stream: No such file or directory in <path>/vendor/composer/autoload_real.php on line 58


look in <path>/vendor/composer/autoload_files.php,
change all refs for $vendorDir.'/cakephp/cakephp/<etc>' to '/path/to/library/cakephp/<etc>'.

McS

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: