Why not use the PHP log for looking what is inside the request object?

|
SkipperStrange 2019-05-25 02:55:14
laravel_discuss-6463.jpg
Line 51 returns my request parameter as captured by laravel
SkipperStrange 2019-05-25 02:56:26
laravel_discuss-6464.jpg
This is the results of the Jain object returned. The file object is empty
SkipperStrange 2019-05-25 02:58:01
laravel_discuss-6465.jpg
The form
DesolatorMagno 2019-05-25 03:06:04
SkipperStrange 2019-05-25 02:55:14
Line 51 returns my request parameter as captured by laravel

Why not use the PHP log for looking what is inside the request object?

binumathew 2019-05-25 07:30:41
Can we transfer payment details of customers from paypal to stripe?
maroong 2019-05-25 08:48:38
richitorres 2019-05-24 21:49:29
you set a user, in your data base, on this case localhost

Length of localhost is more than required

SkipperStrange 2019-05-25 12:02:34
DesolatorMagno 2019-05-25 03:06:04
Why not use the PHP log for looking what is inside the request object?

laravel_discuss-6472.jpg
This is what I found in the logs

DesolatorMagno 2019-05-25 15:35:58
Then the file is being send but with error, you can use for files $request->hasFile(‘nameFile’) (I think that’s is the name) and there is another to see if the file get to the back fine, besides there is ways to know what is the error, the documentation help a lot.
SkipperStrange 2019-05-25 15:47:36
laravel_discuss-6475.jpg

SkipperStrange 2019-05-25 15:47:38
I just tried different files and m getting the Sam error
SkipperStrange 2019-05-25 16:28:54
Ok solved it
SkipperStrange 2019-05-25 16:29:49
Turns out the file uploading was incomplete
SkipperStrange 2019-05-25 16:30:28
The max_upload_size was set to 2MB in php.ini
SkipperStrange 2019-05-25 16:30:43
I just increased it to 2048MB
SkipperStrange 2019-05-25 16:30:56
It worked like magic
ldefra 2019-05-25 16:33:53
Are there italian people here?
SkipperStrange 2019-05-25 16:34:12
laravel_discuss-6483.jpg

SkipperStrange 2019-05-25 16:34:39
SkipperStrange 2019-05-25 16:30:56
It worked like magic

Don’t forget to restart your laravel project

skys215 2019-05-25 16:34:49
ldefra 2019-05-25 16:33:53
Are there italian people here?

Ask in Italian, the one replies you will be the one you are finding

ldefra 2019-05-25 16:36:39
skys215 2019-05-25 16:34:49
Ask in Italian, the one replies you will be the one you are finding

Oh no… I was wondering why I’m looking for an Italian developer but it’s hard to find

ldefra 2019-05-25 16:37:45
I am Sicilian and finding laravel developers here is difficult
skys215 2019-05-25 16:38:16
Try hiring remote developer?
ldefra 2019-05-25 16:40:15
skys215 2019-05-25 16:38:16
Try hiring remote developer?

It’s not just me who chooses and the other members want developers in place

skys215 2019-05-25 16:41:39
I see
skys215 2019-05-25 16:42:00
Then it’s hard
SySyPhuS79 2019-05-25 17:16:33
Hi all, hi Luigi. I’m Italian. Sicilian too. 😉
SySyPhuS79 2019-05-25 17:18:50
ldefra 2019-05-25 16:40:15
It’s not just me who chooses and the other members want developers in place

Where are you?

ldefra 2019-05-25 17:20:22
SySyPhuS79 2019-05-25 17:18:50
Where are you?

Catania, you?

SySyPhuS79 2019-05-25 17:20:27
Trapani
ldefra 2019-05-25 17:21:39
SySyPhuS79 2019-05-25 17:20:27
Trapani

Mmm… We are too far away

SySyPhuS79 2019-05-25 17:22:03
300km only 😉
skys215 2019-05-25 17:26:30
Yeah, it’s close
devlaravel 2019-05-25 18:06:25
Hi what is best Laravel admin panel for crud
DesolatorMagno 2019-05-25 20:42:07
SkipperStrange 2019-05-25 16:29:49
Turns out the file uploading was incomplete

How did you find out? Google or by using Laravel tools?

DesolatorMagno 2019-05-25 20:44:42
I usually use validation for the file and find out max file size I would need for the situation if bigger than max I change upload and other value (don’t remember name now) if needed, so never have error for that specific thing XD.
SkipperStrange 2019-05-26 00:12:59
DesolatorMagno 2019-05-25 20:42:07
How did you find out? Google or by using Laravel tools?

Stack overflow.

SkipperStrange 2019-05-26 00:13:29
But I remember I faced a similar issue in the past with my normal php apps..
SkipperStrange 2019-05-26 00:14:07
So i wonder why I never checked
DesolatorMagno 2019-05-26 01:26:49
Well, next time for debugging try using log, for me is easier and better that returning info to the front.
phoenix9274 2019-05-26 09:07:22
devlaravel 2019-05-25 18:06:25
Hi what is best Laravel admin panel for crud

Try laravel’s asgard cms

praneet81 2019-05-26 17:26:12
laravel_discuss-6517.jpg

praneet81 2019-05-26 17:26:24
I have this simple JavaScript code on my blade template
praneet81 2019-05-26 17:26:44
But the custom function doesn’t seem to work
praneet81 2019-05-26 17:27:16
Can anyone tell me what’s wrong?
skys215 2019-05-26 17:34:18
It seems a JavaScript problem
nasservb 2019-05-26 17:36:59
by using new technology
https://www.swoole.co.uk
php script can run :2X faster than Golan, 3X faster than Node, 5X faster than in laravel in php7!
all code is compiled and run with C language performance.

Open Swoole: PHP Server with Async IO, Coroutines and Fibers (previously Swoole) | Open Swoole PHPOpen Swoole PHP
Use Open Swoole to build high-performance, scalable, concurrent TCP, UDP, Unix Socket, HTTP, WebSocket services with PHP without too much knowledge about non-blocking I/O programming and low-level Linux kernel with fiber and coroutines.
praneet81 2019-05-26 17:39:10
skys215 2019-05-26 17:34:18
It seems a JavaScript problem

I know that but there isn’t any error on console

praneet81 2019-05-26 17:39:15
I am asking what’s the error
skys215 2019-05-26 17:44:08
Check if the script is loaded
praneet81 2019-05-26 17:51:42
skys215 2019-05-26 17:44:08
Check if the script is loaded

The first console log shows

|