What can cause session saving to be interrupted and fail?
I am trying to save a session in my controller:
Laravel session timeout and releasing of locked records
I have a table called admission
and in this table I have two columns to indicate record locking. locked_by
that contains the user id when locked and locked_at
which holds the timestamp for when the record was locked.
Which file related to resetting the password takes the data from the .env
I need to insert the email data that goes in the .env, directly in the code and not in the .env. However, I can’t figure out which file is getting these settings.
Laravel. Log::build doesn’t take into account the value from the ‘tap’ parameter in the passed configuration
Laravel Version 10.48.14 but the problem persists for the newest version as well PHP Version 8.1.2 Description When creating a logger using the build method, like this: $logger = Log::build([ ‘driver’ => ‘daily’, ‘tap’ => [ AppLoggingCustomizeFormatter::class ], ‘path’ => storage_path(‘logs/test.log’), ‘level’ => env(‘LOG_LEVEL’, ‘debug’), ‘replace_placeholders’ => true, ‘days’ => 14, ]); classes that are […]
Laravel 10 – The GET method is not supported for route ….. Supported methods: POST. Event the route user POST
I created a web with Laravel 10 then hosted it in a shared hosting. Recently I got the problem with error message The GET method is not supported for route poi/proses-upload-foto. Supported methods: POST.
Basically, this is just a simple image upload page.
Laravel sessions buggy behavior
I have a weird problem where sometimes sessions won’t be stored, either using the helper or the $request->session()->put(...);
method.
validating currentDues[0][amountPaid]
One of my HTTP POST parameters is currentDues[0][amountPaid]
, however, it is unclear to me how to validate that.
Call to undefined relationship [product] on model [AppModelsProduct] …I try to solve it but I failed
`<?php
how to extend new layout in laravel modules
in usingg Widart/laravel-modules
and in my module view i have these
Using the user class in the route, how to return response if not found
My laravel returns a 404 when it doesn’t find the user in the bank. I remember that there is a way to do this check and return a response, but I don’t remember and I can’t find it. Can anyone help me?