Support the ongoing development of Laravel.io →
muppbarn

muppbarn

Joined 29 Mar 2016

Statistics

Threads 26
Replies 67
Solutions 6
Articles 0
posted 9 years ago

My left join fetches wrong row - 2 rows have the same name

This a piece of my method: # the posts within the thread $posts = DB::table('posts') ->wher...

0 Likes
4 Replies

slug, str_slug

I added a collumn in the table users I call slug, no errors or anything, it just doesn't add. Should...

0 Likes
2 Replies
Solved

Make one method "public" and one method for logged in users

Defining in the routes.php if the method (the function in the class) needs authentication seems good...

0 Likes
1 Replies

Create user, out of the box 5.3

I have typed: php artisan make:auth php artisan migrate Question: Now because migrate worked, that m...

0 Likes
1 Replies

Setting up Laravel, I can reach / but not /login, /register etc

Hi! I am trying to set up laravel, my project is basicly empty I just want it to work. My operating...

0 Likes
13 Replies
Solved
replied 9 years ago

I think it's apache2-related?

Thanks guys! what was the first problem was in VirtualHosts, that file is called sites-available I t...

0 Likes
replied 9 years ago

I think it's apache2-related?

I followed this and configured apache2: https://www.digitalocean.com/community/tutorials/how-to-set-...

0 Likes
replied 9 years ago

How do I get the last inserted id (PDO::lastInsertId)?

Thanks. Searching for last insert id in the laravel search field gave me poor results

0 Likes
replied 9 years ago

My redirect doesn't work

yea, when return is called the script ends protected function create(Request $request) {...

0 Likes
Solved
replied 9 years ago

My redirect doesn't work

Oh w8 I think I'm on to something. Just like outside Laravel, when return is used the script returns...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.