Support the ongoing development of Laravel.io →

4,599 Threads

unionAll give value of "DATE" column type as Hex value.

When accessing variable that is DATE type in database, the return value is in HEX (b"É\x07\x01\...

0 Likes
0 Replies

Eloquent create says column has no default value

In Laravel 5.1 I've setup my models and added the $fillable array like I usually would. My User mod...

0 Likes
15 Replies

QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' in 'where clause'

Illuminate \ Database \ QueryException SQLSTATE[42S22]: Column not found: 1054 Unknown column 'id' i...

0 Likes
2 Replies
Solved

SQLCipher in Laravel 4.2 (Windows) Build Vagrant box, Homestead

We want to install SQLCiper within this environment. Need to be able to open the Ciphered Database....

0 Likes
2 Replies

Laravel 5.4 Images from database not showing in view.

Hey guys, In my application I have some images that belong to some articles. These are shown perfect...

0 Likes
1 Replies

Insert Query Not Working in Laravel 5.4

I have write following Query to Insert or Update Purchase Invoice Items. if i Enable dd() insert is...

0 Likes
1 Replies
posted 7 years ago

Get text of PDF file to be inserted in database

hi guys please i want to know how i can read text from pdf and insert it into database. i used pdf2t...

0 Likes
0 Replies

Verify email address after user registration

I want to develop a forum that will require a user email verification after registration. I don't kn...

0 Likes
5 Replies
Solved
posted 7 years ago

How do I call private in my model

I'm using Laravel 5.3 I have custom model follow namespace App\Models; use Illuminate\Database\Eloqu...

0 Likes
2 Replies
Solved

Comparing Two tables using laravel query builders using a column as reference

i want to get the result of code below in laravel query builder or better still eloquent Adding the...

0 Likes
0 Replies

Best practice to test a return from an eloquent request

Hi, I have this request : $sale = Sale::where('alias', '=', $alias)->first(); What is the best pr...

0 Likes
6 Replies

How make REST API in laravel 5?

Hello, I have angular app. I want use laravel5 like API server. This must be separated parts. Datab...

0 Likes
5 Replies

Laravel request for specific unique field

Hi, I have my request form for destinations, it has, id, name and location_id so depending on the lo...

0 Likes
1 Replies

Laravel 5.4 with Moloquent give error when insert data

I have this error with moloquent/moloquent package. composer require moloquent/moloquent My Item cla...

0 Likes
0 Replies

morphOne relationship issue

Hello, I am having a issue with a morphOne relationship where it is creating new entries rather tha...

0 Likes
1 Replies

Save data with relationship models

Here are my migrations Schema::create('technologicals', function (Blueprint $table) { $...

0 Likes
0 Replies

[4.2] Persistence of the session later redirection

Hi guys, this is my first time i write here. I tried a lot of solutions to solve the problem i'll ex...

0 Likes
0 Replies

Converting raw sql query to laravel eloquent

Hi everybody, This is my first question to any forum ever, so please excuse me for any mistakes. I a...

0 Likes
1 Replies

Trying to get property of non-object Error

Hello, i have this error ErrorException in f464710e74e7c0526bc0688fb16d954a0df3c98d.php line 10: Try...

0 Likes
6 Replies

how to get the user id in faker

while created faker how to get the user_id for the post? for example: i've created a faker for User...

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