Take a lookg to this virtual host on Cake PHP:

cat /etc/apache2/sites-available/getloan-com.conf | xclip -sel clip
Listen 1414

<VirtualHost *:1414>
    DocumentRoot /home/povilasbrilius/.atom-projects/getloan.com/webroot
    ErrorLog /var/log/apache2/getloan-com.app.err
    CustomLog /var/log/apache2/getloan-com.acc common
    <Directory /home/povilasbrilius/.atom-projects/getloan.com/webroot>
        AllowOverride FileInfo
        Require all granted
        Options FollowSymlinks
	DirectoryIndex index.php
    </Directory>
</VirtualHost>

This error trail illustrates it – the problemreally well:

tail -f /var/log/apache2/getloan-com.app.err
[Fri Jul 23 10:35:59.167365 2021] [php7:notice] [pid 128803] [client ::1:52146] PHP   7. file_put_contents($filename = '/home/povilasbrilius/.atom-projects/getloan.com/logs/error.log', $data = '2021-07-23 07:35:59 Error: [Cake\\\\Database\\\\Exception\\\\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1045] Access denied for user \\'dbusername\\'@\\'localhost\\' (using password: YES) in /home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Database/Driver.php on line 140\\nException Attributes: array (\\n  \\'driver\\' => \\'Mysql\\',\\n  \\'reason\\' => \\'SQLSTATE[HY000] [1045] Access denied for user \\\\\\'dbusername\\\\\\'@\\\\\\'localhost\\\\\\' (using password', $flags = 8) /home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:131
[Fri Jul 23 10:35:59.167437 2021] [php7:notice] [pid 128803] [client ::1:52146] PHP   8. DebugKit\\Plugin->DebugKit\\{closure:/home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/debug_kit/src/Plugin.php:96-109}($code = 2, $message = 'file_put_contents(/home/povilasbrilius/.atom-projects/getloan.com/logs/error.log) [<a href=\\'https://secure.php.net/function.file-put-contents\\'>function.file-put-contents</a>]: failed to open stream: Permission denied', $file = '/home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php', $line = 131, $context = ['level' => 'error', 'message' => '[Cake\\\\Database\\\\Exception\\\\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1045] Access denied for user \\'dbusername\\'@\\'localhost\\' (using password: YES) in /home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Database/Driver.php on line 140\\nException Attributes: array (\\n  \\'driver\\' => \\'Mysql\\',\\n  \\'reason\\' => \\'SQLSTATE[HY000] [1045] Access denied for user \\\\\\'dbusername\\\\\\'@\\\\\\'localhost\\\\\\' (using password: YES)\\',\\n)\\nStack Trace:\\', 'context' => ['scope' => [...]], 'output' => '2021-07-23 07:35:59 Error: [Cake\\\\Database\\\\Exception\\\\MissingConnectionException] Connection to Mysql could not be established: SQLSTATE[HY000] [1045] Access denied for user \\'dbusername\\'@\\'localhost\\' (using password: YES) in /home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Database/Driver.php on line 140\\nException Attributes: array (\\n  \\'driver\\' => \\'Mysql\\',\\n  \\'reason\\' => \\'SQLSTATE[HY000] [1045] Access denied for user \\\\\\'dbusername\\\\\\'@\\\\\\'localhost\\\\\\' (using password', 'filename' => 'error.log', 'pathname' => '/home/povilasbrilius/.atom-projects/getloan.com/logs/error.log', 'mask' => NULL]) /home/povilasbrilius/.atom-projects/getloan.com/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php:131

The commit trail on the project looks like usual – normal:

commit 7d13d54aafc0491b37e08e5393726382eb2133a0 (HEAD -> develop, origin/develop
)
Author: Povilas <pbrilius@gmail.com>
Date:   Fri Jul 23 10:46:43 2021 +0300

    Bootstrap - Twitter Inc. - CDN on the local site default templates layout.

commit 525a97ab6e5dcbccdc40775e623172dc6010ade0
Author: Povilas <pbrilius@gmail.com>
Date:   Thu Jul 22 20:05:30 2021 +0300

    Inner join table on logs - payments & loans.

commit c299fb3ada9df04611a2a61699b2d3f3cc16ff98
Author: Povilas <pbrilius@gmail.com>
Date:   Thu Jul 22 19:55:07 2021 +0300

    Baked model Payments.

commit 420a7abc2e54e61fad475cdf20cd68c285bb7995
:

Subscribe to get access

Read more of this content when you subscribe today.

# Uncomment these to define database configuration via environment variables.
export DATABASE_URL="mysql://${APP_NAME}:ÝÔïóÞÜMWAË^üæç=Y@localhost/${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true"eIdentifiers=false&persistent=false"
export DATABASE_TEST_URL="mysql://${APP_NAME}:ÝÔïóÞÜMWAË^üæç=Y@localhost/test_${APP_NAME}?encoding=utf8&timezone=UTC&cacheMetadata=true"eIdentifiers=false&persistent=false"

'Datasources' => [
        'default' => [
            'host' => 'localhost',
            /*
             * CakePHP will use the default DB port based on the driver selected
             * MySQL on MAMP uses port 8889, MAMP users will want to uncomment
             * the following line and set the port accordingly
             */
            //'port' => 'non_standard_port_number',

            'username' => 'getloan_C2C',
            'password' => 'ÝÔïóÞÜMWAË^üæç=Y',

            'database' => 'getloan_C2C',
            /*
             * If not using the default 'public' schema with the PostgreSQL driver
             * set it here.
             */
            //'schema' => 'myapp',

            /*
             * You can use a DSN string to set the entire configuration
             */
            'url' => env('DATABASE_URL', null),
        ],
// ...

1 comment on “E565 forfeiture – decreased ‘degree’

%d bloggers like this: