Warning (2): file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 133]
| ( ! ) Warning: file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in /home/22_main_user/www/smile.kenbaiki-pos.shop/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.0001 | 355864 | {main}( ) | .../index.php:0 |
| 2 | 0.0036 | 615128 | Cake\Http\Server->run( ) | .../index.php:37 |
| 3 | 0.0160 | 1278480 | Cake\Http\Runner->run( ) | .../Server.php:80 |
| 4 | 0.0160 | 1278480 | Cake\Http\Runner->__invoke( ) | .../Runner.php:51 |
| 5 | 0.0160 | 1278832 | DebugKit\Middleware\DebugKitMiddleware->__invoke( ) | .../Runner.php:65 |
| 6 | 0.0233 | 1519528 | Cake\Http\Runner->__invoke( ) | .../DebugKitMiddleware.php:52 |
| 7 | 0.0237 | 1521216 | Cake\Error\Middleware\ErrorHandlerMiddleware->__invoke( ) | .../Runner.php:65 |
| 8 | 0.0271 | 1570480 | Cake\Error\Middleware\ErrorHandlerMiddleware->handleException( ) | .../ErrorHandlerMiddleware.php:94 |
| 9 | 0.1919 | 2293856 | Cake\Error\Middleware\ErrorHandlerMiddleware->logException( ) | .../ErrorHandlerMiddleware.php:111 |
| 10 | 0.1920 | 2297952 | Cake\Log\Log::error( ) | .../ErrorHandlerMiddleware.php:177 |
| 11 | 0.1920 | 2297952 | Cake\Log\Log::write( ) | .../Log.php:453 |
| 12 | 0.1935 | 2375088 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 13 | 0.1936 | 2379216 | file_put_contents ( ) | .../FileLog.php:133 |
| 14 | 0.1936 | 2385496 | Cake\Error\ErrorHandler->handleError( ) | .../FileLog.php:133 |
| 15 | 0.2008 | 2396200 | Cake\Error\ErrorHandler->_logError( ) | .../BaseErrorHandler.php:153 |
| 16 | 0.2045 | 2399248 | Cake\Log\Log::write( ) | .../BaseErrorHandler.php:291 |
| 17 | 0.2045 | 2400000 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 18 | 0.2046 | 2401888 | file_put_contents ( ) | .../FileLog.php:133 |
Warning (2): file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 133]
| ( ! ) Warning: file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in /home/22_main_user/www/smile.kenbaiki-pos.shop/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.2377 | 3023336 | Cake\Error\ErrorHandler->wrapAndHandleException( ) | .../BaseErrorHandler.php:0 |
| 2 | 0.2377 | 3023336 | Cake\Error\ErrorHandler->handleException( ) | .../BaseErrorHandler.php:171 |
| 3 | 0.2377 | 3023336 | Cake\Error\ErrorHandler->_displayException( ) | .../BaseErrorHandler.php:187 |
| 4 | 0.3273 | 3292816 | Cake\Error\ErrorHandler->_sendResponse( ) | .../ErrorHandler.php:139 |
| 5 | 0.3273 | 3292816 | Cake\Http\Response->send( ) | .../ErrorHandler.php:180 |
| 6 | 0.3273 | 3292816 | Cake\Http\Response->sendHeaders( ) | .../Response.php:491 |
| 7 | 0.3273 | 3293152 | Cake\Log\Log::warning( ) | .../Response.php:515 |
| 8 | 0.3273 | 3293152 | Cake\Log\Log::write( ) | .../Log.php:469 |
| 9 | 0.3274 | 3293904 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 10 | 0.3275 | 3294112 | file_put_contents ( ) | .../FileLog.php:133 |
| 11 | 0.3275 | 3296488 | Cake\Error\ErrorHandler->handleError( ) | .../FileLog.php:133 |
| 12 | 0.3338 | 3297272 | Cake\Error\ErrorHandler->_logError( ) | .../BaseErrorHandler.php:153 |
| 13 | 0.3369 | 3299680 | Cake\Log\Log::write( ) | .../BaseErrorHandler.php:291 |
| 14 | 0.3370 | 3300432 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 15 | 0.3370 | 3302064 | file_put_contents ( ) | .../FileLog.php:133 |
Error: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database
If you are using SQL keywords as table column names, you can enable identifier quoting for your database connection in config/app.php.
If you want to customize this error message, create src/Template/Error/pdo_error.ctp
Warning (2): file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied [CORE/src/Log/Engine/FileLog.php, line 133]
| ( ! ) Warning: file_put_contents(/home/22_main_user/www/smile.kenbaiki-pos.shop/app/logs/error.log) [<a href='https://secure.php.net/function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in /home/22_main_user/www/smile.kenbaiki-pos.shop/app/vendor/cakephp/cakephp/src/Log/Engine/FileLog.php on line 133 | ||||
|---|---|---|---|---|
| Call Stack | ||||
| # | Time | Memory | Function | Location |
| 1 | 0.2377 | 3023336 | Cake\Error\ErrorHandler->wrapAndHandleException( ) | .../BaseErrorHandler.php:0 |
| 2 | 0.2377 | 3023336 | Cake\Error\ErrorHandler->handleException( ) | .../BaseErrorHandler.php:171 |
| 3 | 0.3383 | 3295560 | Cake\Error\ErrorHandler->_logException( ) | .../BaseErrorHandler.php:188 |
| 4 | 0.3384 | 3298632 | Cake\Log\Log::error( ) | .../BaseErrorHandler.php:319 |
| 5 | 0.3384 | 3298632 | Cake\Log\Log::write( ) | .../Log.php:453 |
| 6 | 0.3385 | 3299384 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 7 | 0.3385 | 3302552 | file_put_contents ( ) | .../FileLog.php:133 |
| 8 | 0.3386 | 3307808 | Cake\Error\ErrorHandler->handleError( ) | .../FileLog.php:133 |
| 9 | 0.3443 | 3308592 | Cake\Error\ErrorHandler->_logError( ) | .../BaseErrorHandler.php:153 |
| 10 | 0.3467 | 3310640 | Cake\Log\Log::write( ) | .../BaseErrorHandler.php:291 |
| 11 | 0.3468 | 3311392 | Cake\Log\Engine\FileLog->log( ) | .../Log.php:384 |
| 12 | 0.3468 | 3312768 | file_put_contents ( ) | .../FileLog.php:133 |