cakephp: Built-in Server Crashes and Closes
This is a (multiple allowed):
-
bug
-
enhancement
-
feature-discussion (RFC)
-
CakePHP Version: v3.4.10
-
Platform and Target: OS X Sierra, MySQL, Builtin Server
What you did
$this->belongsTo('Messages', array())->setEntityClass('Messages2')->setForeignKey('message_id')->setProperty('messages');
What happened
┌─[jlroberts@Jeffreys-iMac]─[~/Projects/JeffreyLRobertsCom/CakePHPKitchen/AdminLTE]
└──╼ bin/cake server -p 9000
Welcome to CakePHP v3.4.10 Console
---------------------------------------------------------------
App : src
Path: /Users/jlroberts/Projects/JeffreyLRobertsCom/CakePHPKitchen/AdminLTE/src/
DocumentRoot: /Users/jlroberts/Projects/JeffreyLRobertsCom/CakePHPKitchen/AdminLTE/webroot
---------------------------------------------------------------
built-in server is running in http://localhost:9000/
You can exit with `CTRL-C`
┌─[jlroberts@Jeffreys-iMac]─[~/Projects/JeffreyLRobertsCom/CakePHPKitchen/AdminLTE]
└──╼
What you expected to happen
The built-in server should be returning a page, not crashing…
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 26 (8 by maintainers)
Would be sweet for debugging to add the error log path to the Welcome screen =]