beracah.kings beracah.kings
0

File Storage

Im hosting laravel in a shared server enviroment. public folder is under public_html and other files are in seperate folder. Im unable to upload files to the public...
zafercuz zafercuz
3

Add data to database when user is logged out by Auth::logoutOtherDevices()

In my LoginController, I overrode authenticated function and added protected function authenticated(Request $request) { $current_date_time = Carb...
mawusi mawusi
0

Please can i get direction on how to tackle this error.it was working some weeks ago

SplFileInfo::getSize(): stat failed for C:\xampp\tmp\phpCF57.tmp...
shing_shing shing_shing
2

Table in 2nd page to display on top

I generated a pdf using dompdf stream so it's displaying now on browser which is what I really have to do to design the downloadable pdf. I have this 2 divs: below...
WallyJ WallyJ
1

Livewire and Bootstrap Datepicker

I like the Boostrap datepicker and am trying to use it, and it works fine at choosing and showing the date in the field. But I can't get it into the db. I have seen...
WallyJ WallyJ
28

Pass Variable to Included Livewire Component

I have an include that includes a list of tasks. I am converting that list of tasks to a Livewire component. I have read how to pass variables to a component here:...
Laravel
28
470
WallyJ WallyJ
8

Blade syntax to query all of 3rd Level Eloquent Relationship

If I have set up all of my relationships correctly for Users->Contacts->Deals->Tasks, and I eager load all of a user's contacts into a view with their deals and ta...
puzbie puzbie
2

When is a route not a route?

This is weird. I wanted a site of mine to display a page of video clips. To get to it, you would type:...
Pain12 Pain12
15

store function doesn't work

Hello guys, I am trying to store data in my Database. My Database looks like this: public function up() { Schema::create('posts', functi...
Laravel
15
151
WallyJ WallyJ
18

Data not passing in Livewire Component

I receive this error using the following view and controller: Illuminate\Database\QueryException SQLSTATE[HY000]: General error: 1364 Field 'deal_id' doesn't have a...
Laravel
18
158
TomyLimon TomyLimon
2

Property [name] does not exist on this collection instance.

@foreach ($training->group->users as $user) {{ $user->squad->name }} @endforeach I have collection $tr...
aliharis aliharis
2

dateFormat for Pivot Table Data with withTimestamps()

I am having trouble setting / overriding the default dateFormat used on pivot table records when you use with() on your Eloquent query(). For the model It self, I can overr...
Farshad Farshad
2

create directory and file with queue

In my controller I have base64 file as image and in my controller I'm store new row as image like below $media = ProductsMe...
kanav_kapoor kanav_kapoor
4

Laravel Passport Password Grant - Client authentication failed

After hearing a lot about laravel passport, i thought of implementing it into my new project where my requirement is to create an API that'll be used in a mobile app....
Laravel
4
607
Amalmax Amalmax
5

how to print blade view contents to PDF file?

I am using Laravel 5.2 and I need print My blade view to PDF file format. can you give me some hints?...
Laravel
5
724
Nosean Nosean
2

Passing Data from Mailable Job to Balde view

Find a solution to the following problem: How do I transfer data from the controller (dispatch statement) via the job to the mailable and then to the view? My Contro...
zhemnos zhemnos
4

email verification 403 and rewriterule on .htaccess file

Hello everybody, i get a 403 on email verification due to a rewriterule on my .htaccess file. I need that rule to keep my url clean like www.mydomain.it and not www....
Zontir Zontir
1

Queue Jobs duplicate records in DB with firstOrCreate

I'm presenting a mistake that I don't know how to debug... I have a job where multiple DB records are created. One of those records is not created as I expect. I am creatin...
Giorgiovski Giorgiovski
1

Displaying things from foreach inside foreach

I have an invitation table and a page where I search for users. I want to change the status of the button depends if the user was already invited or no. @for...
nhayder nhayder
2

Safari is stripping data from my response object

I've been facing this problem for sometime now and i'm hoping to find the if anybody faced same issue. i'm using laravel 5.8 with vue + vuex. in my app i have...
jonassiewertsen jonassiewertsen
4

Register Mollie Payment Provider correctly inside my package

I am working on a package and want to integrate the mollie payment gateway. I can't register the Mollie service provider. What I did so far (inside my package dir):...
esraa_ibrahim esraa_ibrahim
15

customer support live chat by laravel

Hey guys I've recently been working on a few websites which require customer support live chat between its users and customer support team , i'm using Laravel 5.3 ....
Laravel
15
1361
mustafaabdujalil mustafaabdujalil
7

I got error on php artisan migrate

I got a error when I try to do php artisan migrate on my production server In ArgvInput.php line 261: Invalid argument supplied for foreach() X-Powered...
nhayder nhayder
46

Axios ajax call not working working on chrome but working safari

i'm struggling with this issue since a couple of hours now, on my app i'm requesting data from DB using axios ajax function. this is the js function on my store.js s...
Laravel
46
229

Multi validation for number

Hi, In my app, I am using books ISBN number which can be 10 or 13 digits. I also gave possibility to leave it blank. My validation is like this:...
afoysal afoysal
3

Logout in Laravel Application

I am making a database value 0 when user is logout from my application. How can I make it 0 when user close the Tab or close the browser ?...
muzahidul muzahidul
1

Strange Error in laravel

Illuminate\Support\ServiceProvider::mergeConfigFrom(): Failed opening required '/home/wzmosovz/hamna/vendor/laramaster/nuclues/src/config/nuclues.php' (include_path='.:/opt...
mrkarma4ya mrkarma4ya
2

Setting up mail is real server

So, I followed the Laravel 6 Starter tutorial and did the mail part. It's working with log and mailtrap in localhost. Great! Now, how do I set it up in an actual ser...
swimmer swimmer
1

blade template string

How would I create the following string for on src with the blade template. src="{{asset('photos/products/'100.jpg'}}" I am curren...
swimmer swimmer
6

Returning array instead of echo

I am pretty new to Laravel I am using Laravel 5.8 I have a controller that gets information based on the “url” and I have a product page inside app that g...
Prabodhana Prabodhana
1

Export process work but no file downloaded [ Maatwebsite / Laravel-Excel ]

PHP version: 7.3.9 Laravel version: 5.8.30 Package version: 3.1 Description I am trying to export excel file. I do all thing...
EMfinanga EMfinanga
1

Delete confirmation does not work in HTML collective package

i tried to add confirmation delete massage but does not works, below is my code which is not works {!! Form::open(['method' => 'DELETE','route' =&g...
vandyahm24 vandyahm24
1

how to group data with EAV (entity attribute value) tables in laravel

hello everyone i have an eav table like this id |vendor_id |client_detail_name|client_detail_value| 1 | 1 | vendor_id | 1...

Laravel 5.8, AWS Beanstalk

I have created an EBeanstalk Environment with Docker multicontainer, PHP, Nginx and deploy throw bitbucket pipelines. Wh...
greevesh greevesh
9

ENV variables remain the same after clearing cache

I've been doing some email testing with mailtrap. I've now decided to change my .env credentials to those from my mailgun account. I've also changed my app name. Yet...
Laravel
9
158
Create a New Discussion Button