Support the ongoing development of Laravel.io →
posted 10 years ago

Call to undefined method associate()

Hi, I'm trying to associate Users with workgroups... but I keep getting error call to undefined meth...

0 Likes
2 Replies

Input problem with Filters from docs

Hi laravel community, I'm trying to learn Laravel, but something (appearing really dumb) is happenin...

0 Likes
2 Replies
Solved

Laravel-4 e() function whitelisting

I know that laravel's e() function will sanitize any input passed it ex : e($Input); , this will san...

0 Likes
3 Replies
Solved

Only allow specific user to edit/delete post

Hi guys, Im trying to do so that only the author of the post can edit and delete it from the list wh...

0 Likes
7 Replies
posted 10 years ago

scope with relationships

Hi everyone, I have some issue with relationships. this my database: user id - integer name - stri...

0 Likes
0 Replies

How to make URLs SEO-friendly with Nested Set Model?

Hello Everyone! I'm using Baum package for Nested Set Model and I have added extra field to database...

0 Likes
7 Replies
Solved
posted 10 years ago

Count on an associated model

I'd like to get the number of times a tag is entered in the database. Not for a single tag but for a...

0 Likes
0 Replies

Resource controller, ommited methods falling back on other methods...

I have a resource controller that I have removed all methods other than show and destroy. While unit...

0 Likes
0 Replies
posted 10 years ago

Update model with hasMany() relation

Hi, I'm trying to figure out the following problem: I have 3 tables which are related: products: id...

0 Likes
0 Replies

Route name for home action

I am trying to name a route to an action in my controller, but without success. Please read my code,...

0 Likes
2 Replies
Solved

How can I get the id from hasMany relationship?

Don't know if I'm doing this right. I have two models: Projects and Clients. Projects table has the...

0 Likes
3 Replies
posted 10 years ago

I can't connect to sql server 2008

I use, xampp extension=php_sqlsrv_55_ts.dll extension= php_pdo_sqlsrv_55_ts.dll $user = 'myuser'; $p...

0 Likes
5 Replies
Solved

"Depth to great" when querying relations

I get the message "depth too great" when querying a couple of relations. These are my mode...

0 Likes
2 Replies
Solved

Renaming create method() ??

Hey guys, I have this controller performing some CRUD tasks. My question is, if there is any way to...

0 Likes
3 Replies
Solved
posted 10 years ago

How to add class to a select options

Can we add a class or something else to a <option> in Laravel 4 ? I try to use deboostrap prop...

0 Likes
1 Replies
posted 10 years ago

Sentry 2 Authentication workflow [URGENT]

I'm building an authentication system using Sentry 2. The problem I'm facing is that I'm unable to...

0 Likes
1 Replies
Solved

Dynamic validation rules

I need to have some validation rules based on configuration files (those at app/config), so the rule...

0 Likes
2 Replies
Solved
posted 10 years ago

Laravel mySql joins

Hi im new to Laravel and im just trying to work out the query builder. If i wanted to do this query...

0 Likes
1 Replies

Null value for deleted_at to be '0' and not 'null'

As I have asked a few times before, I'm developing a website/CMS to a game server for which I can no...

0 Likes
6 Replies
Solved

PSR-4 vs classmap autoloading

Hi all ! Just a simple question. I read on different topic that custom class like helper.php should...

0 Likes
2 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.