dpaanlka dpaanlka
26

My app is logging guests in as users

Hey guys, I'm not sure where to turn here, or even where to start looking. I'm fairly new at Laravel, and everything seemed to be going along fine until now. It seem...
Laravel
26
203
Michael34 Michael34
19

Method('Patch') and CSRF token appear in page and don't work.

I'm new and going through the beginner's course. For some reason, @method('PATCH') and @CSRF text appears on my page and are not...
Laravel
19
149
hjortur17 hjortur17
18

Store function not working.

I'm trying to store services and send mail when I booking is created. But I always get this error message. production.ERROR: The Response content must be a str...
Laravel
18
247
Azoraqua Azoraqua
15

Cannot access attributes of a model in view.

When accessing an attribute of a model, say $post->author->name, it will not work because $post->author returns the author's id instead o...
Laravel
15
225
moukbel moukbel
12

upload/load images in shared host?

hi, I knew its repeated question. create a symbolic link doesn't work in a shared host, so if I use this method to store file: $path= $request->file('fi...
Laravel
12
196
khaledz khaledz
12

Restrict access to website by location.

Hi, I'm implementing a project to get the attendance of employees. The attendance can be done if the employee is at the location of the company. The owner of the com...
Tips
12
226
pbnskd pbnskd
11

Two table difference calution

Error SQLSTATE[42000]: Syntax error or access violation Model: stockin protected $table = 'stockins'; protected $fillable = [ 'product_i...
Laravel
11
136
me10071990 me10071990
11

How to submit 3 individual post from single From for single designed page?

Is it possible through database? I have a from(section.blade.php) in which I have 3 section one for man scheduled 2nd for women scheduled and 3rd for child scheduled and...
Laravel
11
69
ThePoet444 ThePoet444
10

testing that a user can edit profile

Simple enough situation, a user can edit their own profile. Run it through a browser test, works like a charm. Make a test for it... well now we have something interesting....
Testing
10
172
Ap3twe Ap3twe
10

how to generate random(6) numbers for each insert into database

I want to insert random case numbers for each project. ex. 084748. I know you cant have 2 auto increment in MYSQL table. How do I go about it? "The reason I nee...
Laravel
10
146
StarfallProjects StarfallProjects
10

Vue and Axios: not updating as expected

I'm learning Laravel and Vue, and have got really stuck. Here's my code: <li v-for='(category, c) in categories' v-bind:key='c'>...
Vue
10
125
temwa temwa
10

Email Error In Logs When Not Sending Mail

Hi, I am getting the following error in my Laravel logs on Forge and it happens even though I am not sending any mail; [2019-08-20 20:03:58] production.ERROR:...
Laravel
10
87
prospeak prospeak
10

Laravel : save radios group to rows in same page

I have survey site, I want in survey page, display questions with radios option, what to do it save this answers as for each answer saved in line Database : a...
Laravel
10
147
natepisarski natepisarski
9

How "smart" should Model methods be?

TL;DR: Should eloquent Models look up the current request, or currently logged-in user? Or controllers I'm really in need of some feedback on an architectural proble...
Laravel
9
157
VladimirC VladimirC
9

Ajax / Laravel

I have an ajax call to controller and view template which controller should feed with 3 variables and pass that view template to ajax. Controller: public func...
Laravel
9
101
matheenulla matheenulla
9

Foreign key constraint not working

I am new to Laravel while adding a new column to the existing table it is giving me the error. Illuminate\Database\QueryException : SQLSTATE[23000]: Integrity const...
Create a New Discussion Button