Data dodania Pytanie
2017-01-21 16:01 Redirecting to another page in laravel »
I have a basic navbar in my web page. When I click any nav-items I am trying to redirect the user to another page. I have route set up for that but w...
(1) odpowiedzi
2017-01-20 13:01 finding the diference between two dates and saving the result to a dtabase »
i have the following code in my controller..i want to find the difference between two dates(from and to) so that i get the number of days in between t...
(2) odpowiedzi
2017-01-20 12:01 Laravel relationship returning null when tryying to fetch type using foreign key »
I am trying to fetch the type of user using the foreign key in the users table i.e. user_types_id but when I do it I just get null and cant get into t...
(1) odpowiedzi
2017-01-20 09:01 Does laravel support on HHVM Version 3.15.1 stack »
Does it supports on hhvm 3.15.1 and compiler ID: tags/HHVM-3.15.1-0-g87901df9ba74204dda149af0cfbbb016d85df67e current php version 7.0.99-hhvm ...
(1) odpowiedzi
2017-01-19 23:01 Laravel Valet not working- as if it's missing a web server »
I followed the instructions to install Valet and it worked fine the first 2 days with no problems at all. Then out of nowhere it stopped working and o...
(0) odpowiedzi
2017-01-19 21:01 Laravel route not defined but it clearly is »
I keep getting the following error in Laravel 5.3: Route [clients] not defined. (View: /srv/users/serverpilot/apps/project-sytem/resources/views...
(1) odpowiedzi
2017-01-19 18:01 Laravel routes don't seem to work »
I'm new to Laravel. I've set up a Fedora 23 server through Oracle VirtualBox, installed composer and created a Laravel 5.3 project as the html folder...
(3) odpowiedzi
2017-01-18 14:01 Import assets from bower_components »
I installed AdminLTE in Laravel 5.2 by Bower, but cant import assets in view. I follow step-by-step and my assets not work. app\resources\views\ad...
(1) odpowiedzi
2017-01-18 12:01 Building query and show all users reported the item in laravel »
Recently I've started to learn laravel and currently I work with version 5.2. What I have is Flag/Report system with which user can Report item for v...
(1) odpowiedzi
2017-01-18 11:01 Changing CSRF Failure HTTP Response Code in Laravel »
We're using laravel 5.3's built in csrf protection via {{ csrf_field() }} method. When we've been running security scans that are obviously failing, ...
(2) odpowiedzi
2017-01-18 10:01 Delete row from database table with Laravel 5.2 »
Recently I've started with Laravel 5.2 and I'm trying to make delete button which will delete row from database. Very basic and trivial but seems I ca...
(4) odpowiedzi
2017-01-17 18:01 Laravel subdomain routing is not working »
I'm trying to have an admin subdomain (like this) Route::group(['domain' => 'admin.localhost'], function () { Route::get('/', function () { ...
(2) odpowiedzi
2017-01-17 13:01 Guzzle PUT request auth error »
I have the following code to save content using API from another system. I have added the credentials but it showing wrong credentials error. It is wo...
(1) odpowiedzi
2017-01-17 12:01 How to Generate a Laravel Image URL when creating a Image Element Using JavaScript »
I have the following code.But it displays the alt ("na") when I run it in the browser. which I think means that the url is not working correctly. I ho...
(1) odpowiedzi
2017-01-16 15:01 Updating config on runtime for a user »
I am using Laravel 5.1 I created a function to get smtp info from db for a user $mail_config=STMPDetails::where('user_id',36)->first() and then I ...
(2) odpowiedzi
2017-01-16 12:01 laravel resize ,crop and watermark »
When i crop my resized image have blank space in right and bottom of picture like this . Image this is my codes : // Dimention 0 is 800, Dimention ...
(0) odpowiedzi
2017-01-16 08:01 Upload images and showing them in a view Laravel 5.2 »
I made a function in which I upload images of some products. When I iterate through all my products, I want to show the image too. The problem is, t...
(2) odpowiedzi
2017-01-15 15:01 How to use outer full join in laravel 5.0? »
It's my controller : public function lihatpesanansemua() //ajax { if(Request::ajax()) { $hasil = DB::table('pesanan')->join('peme...
(2) odpowiedzi
2017-01-15 12:01 Laravel 403 error (production) when doing ajax POST request only in HTTPS »
I've been through the web for about 3 hours to find a solution to my issue but can not find out... I've uploaded my laravel application on a shared h...
(1) odpowiedzi
2017-01-15 08:01 Add a custom validation error message laravel »
I can do something like this to validate something on the controller. $this->validate($request,[ 'myinput'=>'regex:some pattern' ]); and the ...
(1) odpowiedzi
2017-01-14 23:01 Laravel 5 Naming Conventions »
I am bit confused with Laravel conventions as I am new to this framework. I am following Jeffrey Way Laracasts videos he uses Plural for Controller na...
(2) odpowiedzi
2017-01-14 14:01 How to create method in controller that applies to all other methods in the controller? »
I have the following code in my adminController: public function index() { if (!(Auth::check())) { return Redirect::to('login'); } ...
(2) odpowiedzi
2017-01-14 00:01 How can I get access to all language keys in Laravel form the ioC container? »
Laravel 5.3 has a function called addLines in the Lang facade the allow me to add Lang keys to the collection in memory at run time. But Laravel 5.2 ...
(0) odpowiedzi
2017-01-13 12:01 How to filter comments with vue.js? »
In my view i have this : <select class="sort_by"> <option selected disabled>SORT BY</option> <option value="na...
(1) odpowiedzi
2017-01-13 04:01 laravel router argument behaviour »
I notice that when you use URL:::action, and set some arguments, sometimes laravel would cast them as GET requests, sometimes not. Is there anyone kno...
(2) odpowiedzi
2017-01-13 00:01 Show image file by id in Laravel 5.2 »
I have a table named files, this saves the name of the images related to the properties table. I am trying to make these images appear as in the foll...
(2) odpowiedzi
2017-01-12 18:01 Laravel 5.2 validation: date_format:Y.m.d not working »
I try to validate a POST request. The format is: d.m.Y (12.1.2017) My rule is required|date_format:d.m.Y for this field. I get this error message: ...
(4) odpowiedzi
2017-01-12 13:01 Eloquent ManyToMany with an alternative key »
I have a table Subscribers and a table Services. A subscriber can have multiple services, and a service can have multiple subscribers. Only the prob...
(1) odpowiedzi
2017-01-12 09:01 laravel 5.1 : how can i have two wherePivot in eloquent? »
I need check two where conditions on a pivot table. I know that I can check one condition with this: $dis = $user->discounts()->wherePivot('use...
(2) odpowiedzi
2017-01-11 12:01 getting redirected to root when having a special character in request - laravel 5 »
here's my routes file: Route::any('target',function(){ return 'got it!'; }); here's my form: <form method='post' action='example.com/target...
(3) odpowiedzi
2017-01-11 11:01 Laravel validation for field if "image/file" is selected? »
I have a field "image", type is file and need only to validate if image is selected, means it can be also empty. I tried it so: 'avatar' => 'mimes...
(4) odpowiedzi
2017-01-11 09:01 How to include a blade file which has a full stop (.) as part of the file name in blade »
I have a partial view with the following path. /views/acp/review/check.details.blade.php How do I include such a file using blade because If I do ...
(1) odpowiedzi
2017-01-10 19:01 how to include css file in view - laravel »
I am new to laravel and trying to include a css file in my view. The css file is located in resources\assets\css\style.css I am trying to inclu...
(1) odpowiedzi
2017-01-10 15:01 Laravel Docker cannot execute PostgreSQL pg_restore »
I'm running a docker container with Laravel 5 and I have PostgreSQL on my machine. Everything works perfectly, except that I have waaaay to many dat...
(3) odpowiedzi
2017-01-10 09:01 How to ignore .env file from .gitignore for laravel5.2 »
I have written a line .env in my .gitgnore file.but still it is not being ignored while the push. My .gitignore file is in root directory of pro...
(2) odpowiedzi