Support the ongoing development of Laravel.io →

ServiceProvider error with two sites on one server

Hi All, I have a single ubuntu + apache2 server running with two vhosts. Each vhost site is running...

0 Likes
0 Replies

How to use this query in laravel

I'm converting roject from pure PHP to Laravel 4, and I have a problem with converting this query SE...

0 Likes
3 Replies
Solved

Create a master file from template

Hi im trying to create a master.blade.php from a template. But when I tried to extend it to another...

0 Likes
6 Replies
posted 11 years ago

Page controller in Laravel 4

Hi, I need to build a website use Laravel 4, there are some static pages, such as "about us&quo...

0 Likes
3 Replies

Form/Model binding not working

I'm in the process of getting to grips with L4 and I'm having issues with saving/retrieving/updating...

0 Likes
4 Replies
posted 11 years ago

firstOrCreate giving a foreign key constraint error

Hi, Having a problem with using firstOrCreate with my Eloquent model $progress = Progress::firstOrCr...

0 Likes
2 Replies
Solved

I don't know filters on Collections

Hi, guys. I have 2 connections to databases with this configuration: /app/config/database.php 'princ...

0 Likes
0 Replies

Posible to use Laravel accept data from port TCP or UDP ?

I don't know Laravel or PHP can do like this ? accept data from port TCP or UDP ? eg. accept data fr...

0 Likes
1 Replies
posted 11 years ago

Setting debug false in Forge environment

Hey guys, I deployed my application, and im currently using environment variables for my sensitive i...

0 Likes
1 Replies
Solved
posted 11 years ago

Chumper datatables questions

Hello, I have 2 questions about this bundle. Is there a tutorial how to use this bundle. Can the...

0 Likes
0 Replies

Setting a global option for all forms in an application

Hey guys, I want all forms in my laravel application to have 'autocomplete' => 'off' by default,...

0 Likes
0 Replies
posted 11 years ago

One API, two clients (mobile vs. web app) - Best Practice?

As I understand current best practice, my web app's API should provide the same methods for both des...

0 Likes
4 Replies
posted 11 years ago

Looping Through Eloquent Results

Hi there, I have an eloquent query that is returning a 'show', and any 'show_ref's relating to it: S...

0 Likes
2 Replies
Solved

Is there a difference in Eloquent between hasOne & belongsTo when both keys are given?

If I fully specify the keys, is there a difference between hasOne and belongsTo relationships? Or if...

0 Likes
0 Replies
posted 11 years ago

string to array conversion

Hello, I have this form : {{ Form::open(['route' => 'abbonementen.store']) }} {{ F...

0 Likes
5 Replies

ErrorException (E_UNKNOWN) Undefined variable: products (View: ........

Hello, I am very new to laravel and this error has held me back for the past three hours ErrorExcept...

0 Likes
2 Replies
posted 11 years ago

trouble with controller

i'm biginner in laravel ,i tried to connected to controller with router: Route::get('/', array('as'...

0 Likes
1 Replies
posted 11 years ago

Laravel 4.3 composer update problem

When i clone repository and write composer update in cmd , i get : {"error":{"type&qu...

0 Likes
3 Replies

delete/alter data in model relationships

Hi, If I have something like this: $user = User::with('phones')->find(1); It gives me the user's...

0 Likes
1 Replies
posted 11 years ago

Call to a member function move() on a non-object

Hiii, I used upload file function but , I have error Call to a member function move() on a non-obje...

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

© 2026 Laravel.io - All rights reserved.