connor11528 connor11528
31

419 error when submitting form in production - Sorry, your session has expired. Please refresh and try again

I've got a Laravel 5.7 app that is working locally. For instance, when running locally I'll get flash messages about failed validation and it shows fine in the blade view:...
Forge
31
199
george1 george1
29

Laravel login doesn't seem to work - Laravel 5.7

Hi, I started learning about Laravel 3 days ago and I reached a problem which I cannot fix. When I register a user, the form works and the user is logged in....
Laravel
29
266
trevorpan trevorpan
26

don't show form if auth()->user has submitted form

Hi, this form shows how many interested bidders there are for a given job. After a user_id has submitted interest to bid, the blade takes away the possibility...
Eloquent
26
209
mvpop mvpop
23

edit() and destroy() functions not working on shared hosting

Hello folks, My problem is as follows: I have redesigning my personal website so now it's laravel based. On my machine it's all fine but once deployed to a sh...
General
23
208
Greeenone Greeenone
20

One to many - First results and foreach for subobjects

Hello ! I'm learning laravel since 2 weeks and I have some issues with my HasMany relation. I have one folder and multiple files. Files belongs to one folder...
Laravel
20
91
softwebglobe softwebglobe
19

Laravel eloquent relationship

Hello please help me, i have three tables and models users table blogs table replies table and the models are as below User model Blog model Reply model...
Laravel
19
118
TKay TKay
19

Host a Laravel 5 application to a sub-domain of Ubuntu 16.04 LTS server

Hi, I am expecting to host my laravel 5 aplication to a sub-domain named marketplex.asdtechltd.com. I have configured a *.conf file for my sub-domain named marketple...
Laravel
19
115
Lestah Lestah
17

How did it end as an array?

here's my controller public function addAttributes(Request $request, $id=null) { $productDetails = Product::with('attributes')->where(['id' =...
Laravel
17
133
nouveaucode nouveaucode
17

auth()->user(): trying to get property of non-object

Hi guys, I have started receiving the "Trying to get property of non-object " error in my views where I am attempting to access properties of the auth()-&g...
Laravel
17
135
mecjos mecjos
15

Npm install maximum call stack size exceeded ??

I installed fresh laravel 5.7. and tried to npm install.. it gives following error log 3264 verbose stack RangeError: Maximum call stack size exceeded 3264 verbose s...
Laravel
15
191
garrip91 garrip91
14

The problem about registration/authorization

Hello everybody! Help me, please, solve the following problem (I ran into it the night before): I applied the cmd-command "php artisan make: auth", the necessary...
Laravel
14
123
Twittler Twittler
14

Laravel Mail does not send to mailtrap

Hi guys, i'm having trouble sending mail i'm using mailtrap. Page redirects without errors and do not send mail, sometimes it says "Process could not be started [The s...
Laravel
14
83
unlikenesses unlikenesses
14

Caching API Resources

I am using API Resources to generate responses for my API. My issue is that they're rather large beasts: if I dd them I see they contain lots of metadata which...
Laravel
14
150
programmer111 programmer111
14

data is not saving into db

hi m trying to save data into db but it shows error page and says "no message" code of controller (resource controller): public function c...
Laravel
14
102
mouse mouse
14

Sorry, the page you are looking for could not be found.

Hi! I have a menu with categories and when I click one of them I get an error page instead of a page with listing products: Sorry, the page you are looking f...
Laravel
14
88
daugaard47 daugaard47
14

Filter multiple results from database in view

I currently have a user table full on info 'birthday', 'gender','state', etc... and I want to learn how to create a dropdown selections to filter the results s...
Laravel
14
146
cyberEst1919 cyberEst1919
13

laracasts videos not working on android mobile

hey there! was there a change so it isn't possible anymore to view laracasts videos on mobile devices? it always worked for me without any issue, but since two weeks or so...
Feedback
13
114
konrms konrms
12

How to implement oracle query to select from different tables in laravel

I'm trying to select distinct from different tables in laravel. In oracle I have implemented successfully the query and works. Now I'm trying to "translate" it in...
gidaban79 gidaban79
12

Best way for store data in database?

Hello Guys, i am working now on one website where users - customers have to fill some data, but when account is other type ex installer i need to fill them other data....
General
12
130
phil1992 phil1992
12

does anybody know the right syntax here ? ;)

Code: public function index() { $id=Auth::id(); $posts=post::orderBy('created_at','desc')->where('nutzer_id','==',$id)->paginate(8); //$posts=post::orderBy('created_a...
Laravel
12
119
Create a New Discussion Button