Data dodania Pytanie
2017-12-01 16:12 Laravel 5.2 Array to string conversion error form »
My working project simple form, but I get the error: ErrorException in 350957ec60e1dd25a26f206394651974bb23e6b7.php line 40: Array to string con...
(1) odpowiedzi
2017-12-01 14:12 Laravel passport gives 401 Unauthenticated error »
I'm using laravel passport for API authentication, it works perfectly when I use it with one db, but gives 401 when using multiple database, What I'm...
(1) odpowiedzi
2017-12-01 14:12 Undefined variable: request in sub method »
When I try to get all the records that have a relation to the category table, where the category_definition_id is the search input, I cannot access th...
(2) odpowiedzi
2017-11-30 15:11 Laravel phpunit assertViewHas doesn't match the expected test data »
I am writing a test for my search method, but had currently a assertSee and want to change it for a assertViewHas for a better test result. But the da...
(1) odpowiedzi
2017-11-30 14:11 How can I combine this query? »
I'm using Laravel Eloquent to hit the database twice. I merge the results of the 2 queries into one. How can I make this into a single query so it onl...
(2) odpowiedzi
2017-11-30 10:11 How to filter Laravel Datatable between two dates? »
I used https://datatables.yajrabox.com/fluent/advance-filter. But i get this error. filterByDate() is used to get data using 'startdate' and 'enddat...
(0) odpowiedzi
2017-11-30 08:11 Is it possible to append laravel DB queries? »
CODES IN CONTROLLER public function getAthleteProperties(Request $request) { $getAthlete = DB::table('students') ->join('sport...
(1) odpowiedzi
2017-11-30 08:11 What is the concept behind using "use" keyword in different context on laravel? »
I have two queries regarding the use of "use" keyword in php(laravel). Below is a code excerpt from laravel docs: use App\Flight; $flights = App\Fl...
(2) odpowiedzi
2017-11-30 06:11 Laravel / Eloquent - Prevent "deleted_at" Column From Being Returned by get() Method »
I have a model that looks like: <?php namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDelet...
(1) odpowiedzi
2017-11-29 20:11 How to filter results in Laravel using Eloquent Models »
I am attempting to use the following $orders = \App\Order::with([ 'Customer' => function ($query) use ($filterFirst, $filterLast, $filters...
(1) odpowiedzi
2017-11-29 15:11 laravel withCount get likes that have been deleted »
This function is not getting a count for posts that have been deleted. It's just getting a count of total likes but it disregards if deleted_at is = n...
(1) odpowiedzi
2017-11-29 12:11 Require Laravel query explanation »
Can anyone explain me what does IF(transactions.retail_cost > 0,1,0) means from the below query ? $query = Distributors::selectRaw( "distribu...
(1) odpowiedzi
2017-11-29 06:11 Can Laravel 5 handle 1000 concurrent users without lagging badly? »
I wanted to know that if 1000 users are concurrently using a website built with laravel 5 and also querying database regularly then how does laravel 5...
(0) odpowiedzi
2017-11-28 17:11 Undefined variable: i »
I have a problem with Laravel, PHP and Blade @for ($i=1; $i <= 12; $i++) {!! ($substance->consumptions->filter(function($cons...
(2) odpowiedzi
2017-11-28 16:11 Try upload videofile »
I use Laravel 5.4 and I try upload video file. Image file upload successfully. $video = Request::file('video_file')) { $fullName = 'videos/'....
(2) odpowiedzi
2017-11-28 16:11 Laravel Scheduling in clustered environment »
I am working with scheduling in Laravel 5.3. Previously, I was using one server to host the laravel application. Now that I am using two servers to ru...
(4) odpowiedzi
2017-11-28 13:11 Laravel 5.5 not found class with correct namespace »
My ./app folder looks like: +-- app +-- Classes +-- Events +-- EventBase.php +-- EventX.php There's nothing secret wi...
(2) odpowiedzi
2017-11-28 11:11 multiple middleware to Laravel 5 route not working »
i want to view dashboard when logged in as both "admin" and "jeweller". When i log in a "admin" its redirecting to dashboard, when when i log in as je...
(2) odpowiedzi
2017-11-28 07:11 Foreach is not working for two arrays »
I have an array $assid=Array ( [0] => Array ( [0] => 6 [1] => 2 [2] => 3 ) [...
(4) odpowiedzi
2017-11-27 11:11 Auth for multiple users tables »
I have a problem with Laravel auth module. I am rewriting old tool to laravel but have to keep old system DB structure. System use multiple DBs (sep...
(1) odpowiedzi
2017-11-27 10:11 Laravel pluck Array to string conversion »
I am create complaint For that while inserting department for their complaint I am using pluck() method to retrieve data from department table and di...
(3) odpowiedzi
2017-11-27 07:11 Remove a laravel sheduling task »
I use laravel's command and task scheduling to check shared online 3D printers's status. I use below code to start the scheduling task to check the de...
(1) odpowiedzi
2017-11-26 20:11 Put one dinamic object with assets in laravel »
Hi i dont know how put img with assets. I have this {{asset('Articulos/{{$Articulo->path}}')}} but i have error syntax error, unexpected '}' ...
(1) odpowiedzi
2017-11-26 09:11 In laravel 5.5/vue.js appication to use jquery-confirm library »
In laravel 5.5/vue.js appication I would like to use jquery-confirm library and for this In my resources/views/layouts/app.blade.php I wrote: ......
(1) odpowiedzi
2017-11-26 07:11 Laravel is not validating the unique value (database) »
I am using Laravel 5.4 and want to validate unique alternate email. $this->validate($request, [ 'alternate' => 'required', ...
(1) odpowiedzi
2017-11-26 07:11 Lampp php configuration »
OS : Ubuntu 17.10 I have installed LAMPP and Laravel. and when I tried composer install I got following errors - Installation request for phar-io/...
(1) odpowiedzi
2017-11-26 03:11 What happened to Laravel's Eloquent public static function "create" in Model.php? »
In previous versions of Laravel 5.x (I'm not sure when it was changed) I was able to call static method create on any Eloquent Model class to insert r...
(2) odpowiedzi
2017-11-26 01:11 Form parameters not getting sent? »
I am trying to make a login request but for some reason none of the inputs are getting sent with the request. Have a bad feeling it's just some stupi...
(1) odpowiedzi
2017-11-25 23:11 Pass csrf meta tag with angular 4 when using laravel as API only »
I'm using Laravel 5.5 and Angular 4. Laravel is only as an API. I'm trying to pass the data from a form and I can't pass the csrf token. Here's my ser...
(0) odpowiedzi
2017-11-25 20:11 Trouble Connecting Digital Ocean to Laravel Application »
I am having trouble connecting my laravel project to digital ocean. I am using ubuntu LAMP 16.04 to connect my project but i am getting a error tellin...
(1) odpowiedzi
2017-11-25 16:11 How to Make Laravel Eloquent with (hasMany) and whereIn Query? »
I want to make query in Laravel Eloquent like here its. In have two Models File and Tags. File has an relationship to Tags - has Many class File ext...
(2) odpowiedzi
2017-11-25 16:11 How can I add condition in rules laravel? »
My controller like this : <?php use App\Http\Requests\StoreReceiveOrderRequest; class SellController extends Controller { public function rec...
(3) odpowiedzi
2017-11-25 14:11 How to verify a file is a "real file" in laravel validation »
How to verify that an image is really an "Image" or a PDF is really a "PDF document" during the upload ?. i observed a hack attempt to upload some fi...
(2) odpowiedzi
2017-11-25 14:11 Returning null value for user from model »
I am getting user null value for http://localhost:8000/messages. i am trying to get users table values within Message model. it also giving null value...
(1) odpowiedzi
2017-11-25 09:11 Laravel - Dynamic Data & Grammar::columnize() must be of the type array »
I have gotten a form of the array to work it seems, though something is still showing up as off when I go to submit the data. Here is my store functio...
(1) odpowiedzi