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

Cannot access model properties with mockery

Hi, I have some trouble accessing an eloquent model property when the model is mocked for unit test...

0 Likes
0 Replies

Confusion with Form File validation

I have a form whereby all my validation except for file works. It seems to return the file name prop...

0 Likes
2 Replies
Solved

"Too Many open files" error in Application.php. Not sure how to diagnose

I'm getting a "Too many open files" error on a script that downloads images and reuploads...

0 Likes
0 Replies
posted 10 years ago

How can I access additional models from a pivot?

I have three primary tables, Accounts, Users, Roles. All accounts are owned by a user but not all us...

0 Likes
6 Replies

How can I test that a route has a filter set?

If had the following call in my test: $response = $this->call('GET', 'user/profile'); how can I...

0 Likes
0 Replies

Select DB connections based on condition

Hi Team, I have an application that uses multiple database servers and each db server has two databa...

0 Likes
0 Replies

Best practice to prevent other users viewing/editing each other data

Hi all, I am new to Laravel and was wondering what would; be the best practice to prevent users edit...

0 Likes
0 Replies
posted 10 years ago

Consuming JSON via REST

Looking at interest at Laravel as a PHP framework. I have a question relating to its ability to use...

0 Likes
0 Replies
posted 10 years ago

Cannot access laravel on mac without index.php

Normally I develop on my windows and I do it because my mac ALWAYS has some sort of issue. Today the...

0 Likes
1 Replies
posted 10 years ago

Error after composer update: Invalid repository data in vendor/composer/installed.json,

I wanted to update packages on a 4.0.10 installed Laravel instance, but got the following error: Inv...

0 Likes
0 Replies
posted 10 years ago

how do i prevent an attributes value being saved if its got an active Accessor?

I have a Product model in which I use a getPriceAttribute($value) to display a products discounted p...

0 Likes
4 Replies
Solved

Loading certain javascripts

Hello, there. I was wondering how everyone handled loading javascript files in their various views?...

0 Likes
4 Replies
Solved
posted 10 years ago

Relations in namespaced models

I started to move all my models to namespaced directories /app/lib/Acme/models, but noticed that whe...

0 Likes
1 Replies
posted 10 years ago

How to get content only inner section on blade file

Hello I want to get content only inner section and set to variable and response vie ajax // layout.b...

0 Likes
0 Replies

Testing a controller fails because of view

Hi I'm trying to test a simple blog post controller that gets data by using the repository pattern (...

0 Likes
0 Replies

Handling dynamically created input fields (javascript, DOM)

My app allows users to dynamically add input fields in a form via some simple javascript. I construc...

0 Likes
1 Replies

Working without Clean URLs

I'm unable to use Clean URLs for my application (IIS, I don't manage the server, and none of the fre...

0 Likes
1 Replies

Temporary file not found on model create?

Hi everyone, so what i want to happen is when the form is submitted, an image is uploaded and the mo...

0 Likes
0 Replies

Search through relationships

Hi! I have a little problem that I'm not quite sure how to solve it. To simplify, lets say that I ha...

0 Likes
4 Replies
Solved

I only see "You have arrived." page

Hi; I installed Laravel using the instrunctions below but all I see is You Have Arrived page! What c...

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