Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Validation uploaded files not work with redirect back?
Post: Validation uploaded files not work with redirect b...

I've tried to validate the input of a form then use redirect()->back() but the validator doesn't work validating the upload file. I've checked with getErrors() function but its empty. How to solve th...
2,380 Views
1 Replies
11-30-2020, 10:47 AM
mrardiyansyah
    Thread: Is it impossible to redirect back or to another route with POST method request?
Post: RE: Is it impossible to redirect back or to anothe...

includebeer Wrote: (11-02-2020, 03:04 PM) -- Have you try this? PHP Code: -- return redirect()->back()->withInput()->with('errors', $this->validator->getErrors()); -- Can you show what your tried...
4,126 Views
2 Replies
11-03-2020, 09:04 AM
mrardiyansyah
    Thread: Insert batch didn't update the created_at field?
Post: RE: Insert batch didn't update the created_at fiel...

paulbalandan Wrote: (10-31-2020, 06:19 AM) -- Did you include the created at field in the allowed fields? -- Of course, I did. Same as in the documentaion. PHP Code: -- protected $useTimestamps =...
5,561 Views
6 Replies
10-31-2020, 03:23 PM
mrardiyansyah
    Thread: Insert batch didn't update the created_at field?
Post: RE: Insert batch didn't update the created_at fiel...

nc03061981 Wrote: (10-04-2020, 02:11 AM) -- You have some code [hr] Set this: $this->$useTimestamps = true; [hr] $this = $yourModel -- Yes, I have set useTimestamps = true in the model, but od...
5,561 Views
6 Replies
10-31-2020, 03:28 AM
mrardiyansyah
    Thread: Is it impossible to redirect back or to another route with POST method request?
Post: Is it impossible to redirect back or to another ro...

I got an error when I wanted to redirect back with a 404 error. So I created a route 1 url with 3 different HTTP requests. I want to redirect with the POST request method but the return one is always ...
4,126 Views
2 Replies
10-31-2020, 03:23 AM
mrardiyansyah
    Thread: Insert batch didn't update the created_at field?
Post: Insert batch didn't update the created_at field?

I am wondering why when I insert data using "insertBatch" the create_at field is still NULL? is there anyone here can explain it?
5,561 Views
6 Replies
10-01-2020, 06:33 AM
mrardiyansyah
    Thread: Install Library Phpspreadsheet via Composoer Autoload not working?
Post: RE: Install Library Phpspreadsheet via Composoer A...

paulbalandan Wrote: (09-25-2020, 09:12 AM) -- Can you show how you used it on your code? Maybe you are missing the use statement? -- Code: -- public function readerXlsx() { // Create instance of P...
7,435 Views
3 Replies
09-25-2020, 11:58 PM
mrardiyansyah
  Question Thread: Install Library Phpspreadsheet via Composoer Autoload not working?
Post: Install Library Phpspreadsheet via Composoer Autol...

I just installed Phpoffice/Phpspreadsheet via Composer but I can't create new instance of this library. I've checked in the composer.json file, there is already a phpspreadsheet in require. But whe...
7,435 Views
3 Replies
09-25-2020, 01:19 AM
mrardiyansyah
    Thread: ErrorException Trying to access array offset on value of type null
Post: RE: ErrorException Trying to access array offset o...

Omar Crespo Wrote: (09-09-2020, 03:57 PM) -- Can you show the code lines where the error is?? -- Code : public function getAccess { $queryMenu = $this->getIdMenu($menu);         $id_menu = $quer...
19,615 Views
4 Replies
09-10-2020, 05:52 AM
mrardiyansyah
  Bug Thread: ErrorException Trying to access array offset on value of type null
Post: ErrorException Trying to access array offset on va...

I just upgraded XAMPP and PHP version 7.49 and opened a project under development getting an error "ErrorException Trying to access array offset on value of type null" but previously there was no s...
19,615 Views
4 Replies
09-08-2020, 08:08 AM
mrardiyansyah

Theme © iAndrew 2016 - Forum software by © MyBB