What is the problem?

|
segungreat 2022-02-23 00:04:50
2022-02-22 23:17:30
Hi guys 👋
When i run a route in browser, my ram usage quickly reaches to 100% and my system hanged.

then should turn off system with power button.

this problem only happens for one of a routes and other routes are right.

What is the problem?!

This may due to queries and other process the route is doing try check you query and controller action

neelbas 2022-02-23 00:11:27
laravel_discuss-109204.jpg
question: ‘Users” table has some columns witch those can be update, but “name” is unique. I implemented it as shown in picture but it seem not good idea, can you help me to find better idea? does laravel provide better solution?
DesolatorMagno 2022-02-23 00:13:23
Unique accept more options, those options are what you need.
neelbas 2022-02-23 00:15:30
DesolatorMagno 2022-02-23 00:13:23
Unique accept more options, those options are what you need.

can you provide more details please?
I have other unique column’s on other tables, so I looking for an standard solution. 🙏

DesolatorMagno 2022-02-23 00:16:40
Look in laravel validation for unique rule, or just google it online, i think that inside the edit user should be a working example for email unique.
poppyhusk 2022-02-23 00:23:10
neelbas 2022-02-23 00:11:27
question: ‘Users” table has some columns witch those can be update, but “name” is unique. I implemented it as shown in picture but it seem not good idea, can you help me to find better idea? does laravel provide better solution?

looks like u need this:
‘unique: users,id,’.$id

neelbas 2022-02-23 00:29:46
poppyhusk 2022-02-23 00:23:10
looks like u need this:
‘unique: users,id,’.$id

thank you fro reply, what does mean .$id ?

neelbas 2022-02-23 00:45:15
DesolatorMagno 2022-02-23 00:16:40
Look in laravel validation for unique rule, or just google it online, i think that inside the edit user should be a working example for email unique.

🙏
‘username’ => [‘required’,’min:3′, Rule::unique(‘users’, ‘name’)->ignore($user->id)]

DesolatorMagno 2022-02-23 00:45:48
👍🏽.
ProAbdulrahman 2022-02-23 01:09:04
Try make it True
healer_1205 2022-02-23 04:16:54
Hello, I am senior full-stack developer.

I am very familiar with JavaScript based framework for front-end(such as React and Vue.js) and Backend(such as Express) and PHP based frameworks such as Laravel, Zend, Yii project.

This is my portfolio site.

https://healer-portfolio.vercel.app/

Also, I have many experiences of blockchain projects (more familiar with DApp, DeFi, smart contract and so on and variour soken such as ERC20, ERC721 and so on)

These are my blockchain working results.
https://polkastarter.com/
https://bakecoin.org/
https://elftoken.io/
I looking for a full time job and can work across the time (work at the client time zone).
If you are interested in me, Please DM.

Thanks

EVDigiTech 2022-02-23 08:24:40
Urgent recruitment for Immediate Joiners from Fresher to Experience Software Developers!

Requirements:
– Excellent communication skills.
– Knowledge in software architecture and SDLC.
– Design Development web portal as per user requirements

Position: Software Engineer
Qualification: BTech /BE / ME / MTech / MCA
Salary: Salary as per Industry standards

Selection Process
1. Telephonic Round
2. Technical Round
3. Final Round

Note: Work from Home Available for Experience candidates and for fresher relocation is must.

Apply Now: https://lnkd.in/eCY7s7ac
Or share your resume with a photograph, mention your CTC Notice period at evdigitech@gmail.com or call Mobile – +91-6261743903 or WhatsApp: https://wa.link/rvlctn

Share on WhatsAppWhatsApp.com
WhatsApp Messenger: More than 2 billion people in over 180 countries use WhatsApp to stay in touch with friends and family, anytime and anywhere. WhatsApp is free and offers simple, secure, reliable messaging and calling, available on phones all over the world.
Noob Developer 2022-02-23 09:31:46
Can anyone help me to how to login admin without role
Noob Developer 2022-02-23 09:31:57
And don’t allow to user
Noob Developer 2022-02-23 09:45:36
Having error while delete using sweet alert
Noob Developer 2022-02-23 09:45:53
laravel_discuss-109224.jpg

Noob Developer 2022-02-23 09:46:15
laravel_discuss-109225.jpg
Route in last
Noob Developer 2022-02-23 09:46:37
laravel_discuss-109226.jpg
Script
Noob Developer 2022-02-23 09:46:56
laravel_discuss-109227.jpg
Button
Noob Developer 2022-02-23 09:47:28
laravel_discuss-109228.jpg
Function
Noob Developer 2022-02-23 09:47:39
Can someone say why this show this error
Monika 2022-02-23 09:49:22
laravel_discuss-109230.jpg
Hi, while am trying to Integrate Google login in my website..am facing some authorization issues. How do I fix this.
sardorjs 2022-02-23 09:49:41
Noob Developer 2022-02-23 09:47:39
Can someone say why this show this error

https://laravel.com/docs/9.x/controllers#actions-handled-by-resource-controller

Laravel – The PHP Framework For Web ArtisansLaravel
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.
Noob Developer 2022-02-23 09:50:22
Help me on delete
Noob Developer 2022-02-23 09:50:33
Someone
HamidRoohani 2022-02-23 09:51:05
Monika 2022-02-23 09:49:22
Hi, while am trying to Integrate Google login in my website..am facing some authorization issues. How do I fix this.

Hi
read the message, it’s completely helps you

Noob Developer 2022-02-23 09:54:01
HamidRoohani 2022-02-23 09:51:05
Hi
read the message, it’s completely helps you

Can you solve my problem plz

HamidRoohani 2022-02-23 09:57:19
Noob Developer 2022-02-23 09:46:37
Script

actually your problem is here

bsamaasi 2022-02-23 09:57:34
Noob Developer 2022-02-23 09:54:01
Can you solve my problem plz

Add a hidden input with name: _method and value: delete

Read documentation will help more than someone handling solutions to you, cultivate the habit.

HamidRoohani 2022-02-23 09:58:37
Noob Developer 2022-02-23 09:54:01
Can you solve my problem plz

when you redirect with window.location

it sends a get method request
but you need a Delete method (base on your route in web.php)

Prakash 2022-02-23 09:59:19
Noob Developer 2022-02-23 09:50:22
Help me on delete

https://stackoverflow.com/questions/40579520/delete-method-with-sweet-alert-in-laravel

Delete method with Sweet Alert in LaravelStack Overflow
I’m testing a method using Sweet Alert, to improve the messages issued by the Javascript alert method with the laravel framework.

1 – I downloaded the files sweetalert.css and sweetalert.min.js.

HamidRoohani 2022-02-23 10:00:22
HamidRoohani 2022-02-23 09:58:37
when you redirect with window.location

it sends a get method request
but you need a Delete method (base on your route in web.php)

you need to create a form and put the laravel helper function inside the form that named method_field(‘DELETE’)
this function make your form with the delete method

after confirmation in js, submit this hidden form

Noob Developer 2022-02-23 10:04:37
bsamaasi 2022-02-23 09:57:34
Add a hidden input with name: _method and value: delete

Read documentation will help more than someone handling solutions to you, cultivate the habit.

I did but still not same error

bsamaasi 2022-02-23 10:05:27
Noob Developer 2022-02-23 10:04:37
I did but still not same error

Was it in a form

Noob Developer 2022-02-23 10:06:02
laravel_discuss-109244.jpg

|