Log message #4050905

# At Username Text
# Jul 12th 2017, 08:27 jonasz there are probably many other requests..hmm i would look for some logic which would ignore those from a particular ip if it is always the same ip
# Jul 12th 2017, 08:25 jonasz so it is good practice to check it out in access log for relevant ip. that might be an attempt of port scanning etc
# Jul 12th 2017, 08:25 birdy247 yes
# Jul 12th 2017, 08:25 jonasz @birdy247 I presume those errors are caused by some penetration scans running on your app
# Jul 12th 2017, 08:24 jonasz morning all
# Jul 12th 2017, 08:21 birdy247 like /wp-login.php 5 million times
# Jul 12th 2017, 08:20 birdy247 Is there anyway to stop 404 errors filling up my error logs?
# Jul 12th 2017, 08:07 birdy247 Mornning neon1024
# Jul 12th 2017, 08:00 johnwayne @dakota Thank you! :slightly_smiling_face:
# Jul 12th 2017, 07:54 casmo https://book.cakephp.org/3.0/en/plugins.html#autoloading-plugin-classes
# Jul 12th 2017, 07:53 casmo You might add 'autoload' => true
# Jul 12th 2017, 07:53 casmo Psr\Http is a core class or something you enabled throught Plugin::load() in the bootstrap?
# Jul 12th 2017, 07:53 casmo That caches the loading vendors
# Jul 12th 2017, 07:52 casmo No, composer generated an autoload file if I remember correctly
# Jul 12th 2017, 07:44 neon1024 Morning everyone
# Jul 12th 2017, 07:43 rad87 wouldn't that cause the problem on a local machine as well?
# Jul 12th 2017, 07:42 casmo The autoloader
# Jul 12th 2017, 07:42 casmo Or composer might not be updated
# Jul 12th 2017, 07:41 casmo Maybe the /vendor folder?
# Jul 12th 2017, 07:40 rad87 Hello. I'm having a problem. My app works just fine on my local machine but when deployed to the server all I get is an error message saying "Error: Interface 'Psr\Http\Message\ServerRequestInterface' not found ". Any idea what is missing on that server?
# Jul 12th 2017, 07:34 birdy247 Should it just be ''
# Jul 12th 2017, 07:33 birdy247 when attempting to access a restricted page
# Jul 12th 2017, 07:33 birdy247 but since upgrading to 3.4 I always see the "You are not authorized"
# Jul 12th 2017, 07:33 birdy247 I have authError => false in my AppController for the Auth Component
# Jul 12th 2017, 07:29 dakota @johnwayne Something like `$query->group($query->func()->ifnull([new Identifier('i.vessel_change_identifier'), new Identifier('i.id')])`
# Jul 12th 2017, 07:27 casmo nice :D
# Jul 12th 2017, 07:27 casmo $this->select($ArticlesTable);
# Jul 12th 2017, 07:27 adriencs hello @rajani
# Jul 12th 2017, 07:17 johnwayne And this is in Query in Cakephp -> https://paste.ofcode.org/8zZBZFSri5dQZLrkXvpF3Y
# Jul 12th 2017, 07:16 johnwayne https://paste.ofcode.org/xFGkLJgYHVYLESBbxPTVY6
# Jul 12th 2017, 07:16 johnwayne here is the query
# Jul 12th 2017, 07:16 johnwayne i need to write SQL statement in CakePhp but how can I write GROUP BY IF NULL (condition) in cakephp
# Jul 12th 2017, 07:15 johnwayne I need query expert here :)
# Jul 12th 2017, 07:04 johnwayne Morning
# Jul 11th 2017, 23:31 akkaweb @ericadeefox I created the plugin. Are you experiencing issues?
# Jul 11th 2017, 20:52 sturm I had to change `pdo_mysql.default_socket` from `/tmp/mysql.sock` to `/Applications/MAMP/tmp/mysql/mysql.sock` so PHP could be “plugged-in” to MySQL.
# Jul 11th 2017, 20:51 sturm Yep, that was it.
# Jul 11th 2017, 20:41 akkaweb when dealing with CakePHP routes, it seems if two match (ie. one in the application route and one in a plugin), the plugin route takes precedence. Is that the case always? Is it possible to change that so when using Router::url the url generated is actually the one in the application route?
# Jul 11th 2017, 20:36 sturm Could the fact that `pdo_mysql.default_socket` in phpinfo() is referencing `/tmp/mysql.sock` be part of the problem?
# Jul 11th 2017, 20:16 sturm I’m certain the username and password are correct, as well as the db name. The only other line I had to add was `'port' => 8889,` since I’m running MySQL via MAMP. (Although I’m not using MAMP’s version of PHP.)
# Jul 11th 2017, 20:15 sturm Database Configuration