Support the ongoing development of Laravel.io →

Must be an instance of Illuminate\Redis\Database, instance of Redis given

Clean install of the latest Laravel 5.1.10 is spitting out this error when cache=redis in the config...

0 Likes
2 Replies
posted 11 years ago

Conditional returning false - password recovery

These are my three functions to recover a password. Everything seems right. In my routes, I am passi...

0 Likes
5 Replies
Solved
posted 10 years ago

deleteDirectory not working as Cron job

Hi Folks, I have a job which I want cron to run at given interval , this removes some old entries fr...

0 Likes
2 Replies
posted 9 years ago

Check premissions with middleware

HI, in route i have something like this: Route::resource('categories', 'CategoriesQuestionControlle...

0 Likes
0 Replies
posted 9 years ago

Foreign key problem

I've got a problem with a foreign key on my articles table, i want to associate a user for each arti...

0 Likes
1 Replies

New to Eloquent, but can't make this simple relationship work!

SOLVED My mistake, I mixed up the model relationships :) Hi guys, I'm new Eloquent (usually use raw...

0 Likes
1 Replies

Laravel Cartalyst Cart error while installing via composer

There are my composer requires "require": { "php": ">=5.5.9", "...

0 Likes
0 Replies
posted 11 years ago

Querying a polymorphic relation for more info

Modified from: http://laravel.com/docs/master/eloquent#polymorphic-relations class Photo extends Elo...

0 Likes
1 Replies

Can I automate the laravel installation process?

Is there a way I can install Laravel with a custom script or another Laravel iteself? How can I run...

0 Likes
2 Replies

Auth Error Problem

Hello, All I meet some problem about Laravel 5 auth. I create project and want to use default auth f...

0 Likes
4 Replies

How to mock eloquent models

Hi, I have service classes that retrieves Eloquent models using a repository and performs some opera...

0 Likes
0 Replies
posted 9 years ago

How to pass hardcoded data from route to controller

Is there a way to pass data (that is not a route parameter but just hardcoded data) to a controller...

0 Likes
0 Replies
posted 9 years ago

Laravel Localization Question - Not being inherited

so if I have a master blade named master.blade.php like such: {{$app->getLocale()}} @yield('conte...

0 Likes
0 Replies

Not able to configure whmcs in laravel 5

I am trying to configure whmcs in laravel 5 by following https://github.com/mgufrone/whmcs-api . Whe...

0 Likes
0 Replies

File upload through ajax in laravel

I am doing ajax call on click of submit button. then that call goes to controller. In controller i w...

0 Likes
2 Replies

Erro: SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9)

Sorry my bad English... In my vagrant debian virtual machine show error on connect sqlsrv database E...

0 Likes
0 Replies

Eloquent Query takes long time

Hi, I am trying to fetch ALL rows from a table in my dB. I need to get all rows because the data is...

0 Likes
1 Replies

Serve CSS and JS from outside of public folder

I understand this sort of breaks the structured point of Laravel, but there is method to my madness....

0 Likes
0 Replies

Homestead: How to bind default ports only locally?

Hey there, is it possible to change the binding of Homesteads forwarded default ports to loopback in...

0 Likes
1 Replies
posted 11 years ago

schedule database-manager package

Hi Guys, I can't figure it out so i'm asking here. What would the artisan command be to schedule a b...

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

© 2025 Laravel.io - All rights reserved.