davy_yg davy_yg
43

Delete slides

Will this works? Storage::disk('public')->delete(http://localhost/aws_admin_test/storage/app/slides); PageController.php $...
Laravel
43
305
BossPogs BossPogs
26

Failed to load resource: the server responded with a status of 404 (Not Found)

Hello, I'm doing a video looping with auto-play. My video looping was working before and the videos were play. But after I put some adjustments on my page and my logic, it...
henryoladj henryoladj
24

Trying to Get the name of an uploaded Image

I am trying to get the name of an image and save it instead of saving it as laravel default hashing. i.e if an image name is go.jpg it should save as go.jpg instead...
Laravel
24
171
bhhussain bhhussain
22

How to insert the array of data from the form to the two different table

I have a two table, One is called the header and another is called item details. Fields like date, supplier name, bill number will go to the header table and item name,qty...
General
22
645
farshadf farshadf
22

laravel telescope is loading fav icon but throws 404 not found url

i am using laravel 6 newly updated i was working with telescope on 5.8 and now when i migrated to 6 when i install the telescope it loads the icon but all routes gives 404...
Laravel
22
221
chrisgrim chrisgrim
22

LazyController still running out of memory?

I am using Lazy Controller to take a txt file and add the content to my database row by row. $cityList = LazyCollection::make(function () { $fp =...
Laravel
22
165
Heimdall Heimdall
22

Laravel input old date

Hi, I have problem with my input for recover the next data when i edit a form When its not type="date" i use that : value=" {{old('nom')...
General
22
629
irankhosravi irankhosravi
21

Object of class Illuminate\Database\Eloquent\Builder could not be converted to int

I am trying to pass data to a datatable in laravel 5 but have the following error. Object of class Illuminate\Database\Eloquent\Collection could not be...
Laravel
21
201
honeyBear honeyBear
20

How do I listen to a server port in Laravel?

Hi, I'm quite new with laravel. I have a question, how do I listen to a server port in my laravel web application? Currently, I have a dedicated game server that I would li...
Laravel
20
230
vikas_developer vikas_developer
20

How to Print all selected items by logged in User

I have three tables : User => [ id, email, password, timestamps ] extra_orders => [ id, user_id, order_id, quantity, status, timestamps ] orders => [id, ite...
Laravel
20
113
myke2424 myke2424
19

Query Builder - How can I sum?

I'm logging time entries for users for each month of the year The times are in the following format: hh:mm:ss example: 08:32:00 Here's how i'm grouping...
General
19
701
torriv torriv
19

Parse error: syntax error, unexpected ';', expecting ']' in app\Console\Kernel.php on line 16

I'm not sure how I can troubleshoot this one. I'm using laravel 5.5.48 and PHP 7.3.* it happens every time I use any PHP artisan command. can anyone he...
Laravel
19
582
saadaan saadaan
19

Same controller method for both POST and GET, why bad?

Hi, I am using the same controller method for pulling data into view, for both GET and POST pages (GET for normal view, while POST when some form variable is posted)...
Laravel
19
192
danimohamadnejad danimohamadnejad
19

Auth::check() is not working in Controller.php file

hello. I have logged in application so Auth::check() on all controllers works. but when I use it in Controller.php file, it returns false. I am very confused please help. t...
Laravel
19
140
myke2424 myke2424
18

Routing / passing data help

I'm creating a report table for each user in my database that logs dates/times. Here's my controller: public function create() { $user = auth()-...
General
18
575
MattB MattB
18

Object out of class in dropdown menu in html collective

I'm using this to produce a drop down menu for a form: <div class="form-group {{$errors->has('category_id') ? 'has-error' : ''}}"> {!! F...
Laravel
18
210
Heimdall Heimdall
18

update BDD

Hello, i have little problem with update on my BDD: my problem is : i have 2 table : 1 table = chiens and 1 table images I want edit information on my...
General
18
585
MGM_Support MGM_Support
17

Issue by updating a existing Laravel app

We updated a existing Laravel app but the changes doesn't appear in frontend. We tried all known steps to clear cache and cache folders, nothing works. Do anyone has a idea...
General
17
716
davy_yg davy_yg
17

Symlink not working on windows

Hello, My symlink does not work out correctly. I already type: php artisan storage:link As I place an image in storage/app/public/slides/random-image.jpeg ,...
Laravel
17
212
bhhussain bhhussain
17

Route [admin.accounts.print] not defined

In my project I have edit function in the resource controller and I have created the function called print in the same resource controller. I duplicate the same code of edi...
General
17
559
Create a New Discussion Button