Support the ongoing development of Laravel.io →

Running artisan or composer causes error "mkdir(): No such file or directory","file"

I wanted the Laravel 4.1 package to be at the root of a particular web server so I took it out of it...

0 Likes
1 Replies
Solved
posted 10 years ago

Group by multiple columns in Laravel

Hi all how to group by multiple column in Laravel? I tried this code $routes = DB::table('ro...

0 Likes
1 Replies

hasMany relationship not setting parent id and timestamp data when using insert

The author_id keeps coming up empty along with the timestramp data. How can I fix this? mysql posts...

0 Likes
1 Replies
Solved
posted 10 years ago

User Messaging System Package

Hello friends I created a new package for user messaging, with multipile conversations, multipile us...

0 Likes
3 Replies

Proper implementation for multiple validation

//Contact.php class Contact extends \Eloquent { protected $fillable = array('email', 'name', 'subje...

0 Likes
0 Replies

Register then Redirect to Intended Issue

I am trying to make it so if a user clicks on a protected link, they get forwarded to a login / regi...

0 Likes
2 Replies

Returning checked checkboxes based on pivot

Fairly new to MVC and Laravel. I am building a form that allows users (players) to be assigned to /...

0 Likes
1 Replies
Solved

Access Validation $errors outside a view?

In any view, $errors is always available and returns the appropriate object. However, I'm trying to...

0 Likes
6 Replies

Routes didn't work for me :(

As I am new to laravel, and studies all of the routing documentation. But still stuck on basic routi...

0 Likes
7 Replies
posted 10 years ago

Parse error: Please Help!

Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/fzystudi/public_html/vend...

0 Likes
11 Replies

Migrating tables and problems with foreign keys

I have created about 25 database tables in the migrations folder by first creating the files with ph...

0 Likes
2 Replies

Input "less than" character entity, stored as less than sign

I think Laravel can mangle character entities when storing into database. Has anyone else noticed th...

0 Likes
2 Replies

Trouble with Auth::attempt()

Hey everyone, I'm having trouble with auth::attempt() and I'm not quite sure what to google. In chr...

0 Likes
1 Replies

Handling 404 properly - best practice

My url is like domain.com/p/{id} when I insert a wrong ID i get error 500, how do i show error 404 n...

0 Likes
0 Replies

Can you use belongsToMany with non-primary-key fields?

I have the following tables users id email teams id teamlist id team_id email The reason there...

0 Likes
2 Replies
posted 10 years ago

Is possible to do this?

I have a User and a Country models, and the user model has one-to-many relation class User extends E...

0 Likes
1 Replies
posted 10 years ago

laracasts / utilities on laravel 4.1. *

I can not use laracasts / utilities on laravel 4.1. *, please help me.

0 Likes
1 Replies

Stuck on this! How to stop these database hits?

Something was causing multiple calls to the User table. I found the solution on some blog that reco...

0 Likes
2 Replies

Having trouble testing model validation.

I'm just starting out with TDD and I'm trying to test validation in a model. Currently, all my test...

0 Likes
1 Replies
posted 10 years ago

Stockholm, Sweden

Working getting a meetup group in Stockholm up and running, join if you're interested! http://www.me...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

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.

© 2024 Laravel.io - All rights reserved.