Support the ongoing development of Laravel.io →

991 Threads

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

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

how to reset model deleteat_at to ''0000-00-00 00:00:00" ?

I notice that laravel use 0000-00-00 00:00:00 for deleted_at time ,So i change data deleted_at like...

0 Likes
5 Replies
Solved

dont show error if relation not exist , just show empty field.

Hi i have controller and i am taking data like this $events= Eventm::with('teacher')->get(); th...

0 Likes
1 Replies
Solved

Unwanted Characters in Response

hi for bad english writeing excusme when try to connect db and read some data any way my response co...

0 Likes
1 Replies
Solved

Getting data of model related as an array

Hi... maybe it's a newbie question... these are my first steps with Laravel.. suppose I have in Post...

0 Likes
2 Replies
Solved

Filtering Results in RestAPI with attributes from a related model

I'm currently building a REST API with laravel. I'm trying to implement filtering of results on a ro...

0 Likes
2 Replies
Solved

Can you use sum() or something like it in a whereHas() statement?

I have a model called 'Charges' which stores charges made by someone. I want to sum all the charges...

0 Likes
1 Replies
Solved

Database query: nested object

Hi, I am trying to create a beautiful API. Lets assume we have 2 tables, relationship one-to-many (a...

0 Likes
2 Replies
Solved
posted 10 years ago

DB Count on group by.

I have the following query that needs to count how many occurrences there is of the events (using an...

0 Likes
3 Replies
Solved

Model Observer And Events When Create

There are two ways to create new record in laravel $model = new MyModel; $model->field1 = 'value1...

0 Likes
1 Replies
Solved
posted 10 years ago

Error when running migrations

I'm trying a simple migration(give below), but I get the "SQL Syntax Error or Access Violation&...

0 Likes
2 Replies
Solved

Password reset token not found in User table ?

I'm creating a password reset functions as descibed in the Laravel docs. I've generated the password...

0 Likes
3 Replies
Solved

Configuring max execution time for "artisan migrate"

I am porting an application from Kohana with loads of data from both MySQL and MongoDB. I have a bun...

0 Likes
1 Replies
Solved
posted 10 years ago

Trouble Altering a columns Data Type

Hi! I'm trying to run a migration that will alter some of my tables to correct the data type of some...

0 Likes
1 Replies
Solved

getting id from a join

i have this join statement : Item::join('buttons', 'items.cta_id','=','buttons.id')->where('build...

0 Likes
2 Replies
Solved

Getting Call to undefined method, while pulling records from a model.

I must be missing something obvious here... I have a model called PlanType and another called Pricin...

0 Likes
2 Replies
Solved
posted 10 years ago

Getting this kind of chars from database query �� SQL Server

Hello all! I'm getting ���� instead of accented chars like ç, ã, é... from a sqlsrv PDO connection.....

0 Likes
1 Replies
Solved

Baum Nested Set Retrieve all tree with relation

Hi, I have Category model based on Baum Nested Set (https://github.com/etrepat/baum) package and Cat...

0 Likes
2 Replies
Solved

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.