Log message #4121091

# At Username Text
# Mar 1st 2018, 17:30 birdy247 Am using Crud Api
# Mar 1st 2018, 17:30 obinoob err: play = plain
# Mar 1st 2018, 17:30 obinoob hakuna: what you mean by extensions appear can you see the file extensions and play php code
# Mar 1st 2018, 17:29 savant @bmcwhirter is that a class from the phpseclib?
# Mar 1st 2018, 17:29 hakuna yes, user/group match
# Mar 1st 2018, 17:29 bmcwhirter @savant yessir
# Mar 1st 2018, 17:28 savant @bmcwhirter this is cake3?
# Mar 1st 2018, 17:28 obinoob server must have permissions to write on logs and tmp
# Mar 1st 2018, 17:28 obinoob check ls -lsa user/group match ?!?
# Mar 1st 2018, 17:27 hakuna i set the permissions to logs and tmp folders
# Mar 1st 2018, 17:27 hakuna and the extensions appear
# Mar 1st 2018, 17:26 obinoob at first hand sounds like permissions issue
# Mar 1st 2018, 17:26 hakuna yes, the php.info is running
# Mar 1st 2018, 17:26 obinoob and or check apache (supposing you're using it) logs
# Mar 1st 2018, 17:26 bmcwhirter @savant The library is called phpseclib. I tried 'use phpseclib' and also 'use phpseclib\phpseclib' but am getting 'Class 'App\Shell\Net_SSH2' not found'. Example said to use "$ssh = new Net_SSH2(<ip>);"
# Mar 1st 2018, 17:26 hakuna mod_php is enabled
# Mar 1st 2018, 17:26 obinoob check if you php install is working at all
# Mar 1st 2018, 17:25 hakuna the logs appear empty
# Mar 1st 2018, 17:23 savant hakuna: if you are using apache, make sure you enable mod_php
# Mar 1st 2018, 17:22 obinoob hakuna: or tail -f logs/debug.log ?
# Mar 1st 2018, 17:22 savant @bmcwhirter its just the namespace+class name
# Mar 1st 2018, 17:22 obinoob hakuna: what does it say tail -f logs/error.log ?
# Mar 1st 2018, 17:22 bmcwhirter Relative to what?
# Mar 1st 2018, 17:22 savant use \Path\To\cLASS;
# Mar 1st 2018, 17:21 savant @bmcwhirter yeah
# Mar 1st 2018, 17:21 hakuna What can this be?
# Mar 1st 2018, 17:21 hakuna i have a problem rendering cakephp, the ext intl, mbstring, and simplexml are enabled but te browser is showing the php code of the app.php file
# Mar 1st 2018, 17:21 bmcwhirter But I assume I need to put something in a use line, though, wouldn't I?
# Mar 1st 2018, 17:20 hakuna Hello guys
# Mar 1st 2018, 17:18 savant in cake2 you need to require the autoload but otherwise its fine
# Mar 1st 2018, 17:18 savant autoload works in cake3
# Mar 1st 2018, 17:15 bmcwhirter If I added a module (phpseclib/phpseclib) using composer, how so I use it in a custom shell? Do I have to load it first or is it autoloaded?
# Mar 1st 2018, 17:11 obinoob i'm having unknown column in where clause...
# Mar 1st 2018, 16:49 wouterdt @savant I'm sorry, I don't know how to do that. How would that work in CakePHP 2?
# Mar 1st 2018, 16:45 savant wouterdt: ah I see. Maybe just put it in a trait in the plugin, and then include that trait?
# Mar 1st 2018, 16:43 obinoob What possible conditions fit: ...find('list') all registries from Teams where Teams.id AND Users.id are NOT present UserTeams... TableRegistry::get('Teams')->find('list')->where([ ??? ]);
# Mar 1st 2018, 16:42 joe using version 3.3.16
# Mar 1st 2018, 16:41 wouterdt How would I reference that? Would something like 'rule' => 'PluginName.validationFunction' work? And where would I place this function? In the AppModel of the plugin?
# Mar 1st 2018, 16:40 joe then jquery replaces <%= key %> with the int value as approriate
# Mar 1st 2018, 16:40 joe <script id="orderChildrenTemplate" type="text/template"> <?php echo $this->element('orders/order_children'); ?> </script> <a href="#" class="add">Add Child</a>
# Mar 1st 2018, 16:40 joe it get's pulled into the page via: